π Kotlin Multiplatform library for Compose Multiplatform, designed for seamless integration of an image picker feature in iOS and Android applications.
It would be great if together with resize options we can also pass jpeg compression rate to the rememberImagePickerLauncher.
As far as i see currently it's always set to 1.0 in UIImage.toByteArray() function called for picked images before returning on iOS side. And should be as easy to change on android side in resizeImage function of PeekabooImageResizer.
When using peekabooCamera on ios side i get following error in logs:
Thread Performance Checker: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness
But then camera still runs and capture images.
Still would be good to fix the issue. There is a similar problem reported on apple forums with a fix being in wrapping that call like this:
Issue while installing app in phone.
Issue can be reproduce by below steps
Try to install the sample app of peekaboo library or implement peekaboo library in your project. And install app in your phone
Now try to add peekaboo library in different project or create any sample project. Then install in phone
IDE would give an error "The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER" while installing second app.
This happens because both app is using same library and library have the same authorities in both project that's causing the conflict issue with provider.