terikon / cordova-plugin-photo-library

Maintainer needed. Please contact if you're using this library in your project
MIT License
149 stars 295 forks source link

On Android 12, use the cordova.plugins.photoLibrary.saveImage method to save the image and then the APP will flash back #212

Open cf1991 opened 1 year ago

cf1991 commented 1 year ago

I first use the cordova.plugins.photoLibrary.requestAuthorization method to obtain the user's permission, but the APP flashes back after saving the image using the cordova.plugins.photoLibrary.saveImage method

devartstudio commented 1 year ago

I have the same problem, any suggest? Thanks

devartstudio commented 1 year ago

With this solution it works. https://stackoverflow.com/questions/71416123/ionic-native-photolibrary-crashes-on-saveimage-when-running-on-android

xJosee commented 1 year ago

I have the same problem, any suggest? Thanks

l had the same issue so i fork the repo and change the plugin error on saveImage method , if you want test this is the url https://github.com/xJosee/cordova-plugin-photo-library

cordova plugin add https://github.com/xJosee/cordova-plugin-photo-library