-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After selecting photos from gallery, null is returned. #238
Comments
same here too . My ionic version 5 and device poco x2 android 10 OS |
The same error here: Android 10, Samsung A10. After select images, it return "The image file could not be opened" |
Same issue for me in android 10 and above |
Same issue here |
Same issue here with Android 10 and Samsung |
I was able get it to work by adding this to the android platform section of config.xml:
|
We've detected that your app contains the requestLegacyExternalStorage flag in the manifest file of 1 or more of your app bundles or APKs.
Developers with apps on devices running Android 11+ must use Scoped Storage to give users better access control over their device storage. To release your app on Android 11 or newer after May 5th, you must either:
Update your app to use more privacy friendly best practices, such as the Storage Access Framework or Media Store API
Update your app to declare the All files access (MANAGE_EXTERNAL_STORAGE) permission in the manifest file, and complete the All files access permission declaration in Play Console from May 5th
Remove the All files access permission from your app entirely
For apps targeting Android 11, the requestLegacyExternalStorage flag will be ignored. You must use the All files access permission to retain broad access.
Apps requesting access to the All files access permission without a permitted use will be removed from Google Play, and you won't be able to publish updates. |
I have another problem, Android filename has '%20' instead of ' ' (blank space) which prevents me from saving the image. I need to manually fileName.replace('%20', ' ') to have the ability to copy the file. |
After click "Done", it directly goes to error part and error shows null.
This is options object:
IMAGEPICKEROPTIONS: any = {
quality: 45,
width: 1280,
height: 1280,
maximumImagesCount: 15,
disable_popover: true
}
The text was updated successfully, but these errors were encountered: