cordova-plugin-photo-library icon indicating copy to clipboard operation
cordova-plugin-photo-library copied to clipboard

android 10 support (SDK 29) - get error when saving an image

Open eliadAfeka opened this issue 4 years ago • 2 comments

hi,

when setting "android-targetSdkVersion" to 29, the plugin will not work on Android 10. can you please fix the issue?

we will get EACCESS permission error

eliadAfeka avatar Aug 04 '20 02:08 eliadAfeka

I am also getting the ENOENT File not found error. only on Android 10 :(

Sunny41 avatar Sep 07 '20 05:09 Sunny41

Add this in config.xml <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:requestLegacyExternalStorage="true" /> </edit-config> I solved it after adding this code

drop0118 avatar Dec 04 '20 06:12 drop0118