-
Notifications
You must be signed in to change notification settings - Fork 300
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
Can't save image on Android 10 #176
Comments
Hi @roxteddy . Could be a problem with weird URLs that dont translate well to a filename/folder on Android. I remember encountering this issue and making a fix for it on my fork of this plugin. Check it out on: https://github.com/xmarkclx/cordova-plugin-photo-library-sism |
Hi @xmarkclx it does not work better with your version. Have you tried it on Android 10 ? Seems like they changed the way and places where we are authorized to write media files. I'm planning on doing my own fork. |
The easy way would be to add the android:requestLegacyExternalStorage="true" entry to the manifest thru the plugin config. https://developer.android.com/training/data-storage/files/external-scoped#opt-out-of-scoped-storage And after that it will ask to completely rework the way we write media files but I miss time for now :S |
Hi @roxteddy , have you come across this error msg after adding
I got this error after i put the following into my config.xml file in ionic project. |
Hi @mingyiyangyarris , after adding android:requestLegacyExternalStorage="true" i am getting the same error which you got. Did you find any solution? |
Any news about that? |
I am also getting this error. Have anyone found a fix? |
AndroidManifest.xml <application android:requestLegacyExternalStorage="true" is work |
I think you get that error because of your compilation API version. |
Hello,
When I try to save an image on Android 10, I get this error message : "ENOENT (No such file or directory)"
Any idea ?
The text was updated successfully, but these errors were encountered: