cordova-plugin-ImagePicker icon indicating copy to clipboard operation
cordova-plugin-ImagePicker copied to clipboard

android-targetSdkVersion=29 the gallery doesn't work on devices with Android 10

Open ghost opened this issue 4 years ago • 3 comments

From November 2nd the Google Play Store requires targetSdkVersion at 29. By updating our app, and increasing the targetSdk from 28 to 29, the plugin stopped working for all devices running Android 10 or more. it can no longer load images from the gallery.

ghost avatar Nov 19 '20 02:11 ghost

update - adding android:requestLegacyExternalStorage="true" to AndroidManifest seems to solve the issue.

ghost avatar Nov 19 '20 11:11 ghost

@AntonioAngelucci After add android:requestLegacyExternalStorage="true" , I get the error as follows:

AAPT: error: attribute android:requestlegacyexternalstorage not found.

snowdream avatar Dec 26 '20 02:12 snowdream

cordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=27+

jjfzfans avatar Aug 24 '21 03:08 jjfzfans