Skip to content

Commit

Permalink
Request Legacy External Storage
Browse files Browse the repository at this point in the history
For Android 10 to support target sdk 29
  • Loading branch information
MayankLogiciel authored Jul 28, 2020
1 parent cc71656 commit 8b7bebc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,13 @@
</config-file>

<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:label="@string/multi_app_name" android:name="com.synconset.MultiImageChooserActivity" android:theme="@android:style/Theme.Holo.Light">
</activity>
<activity android:label="@string/multi_app_name" android:name="com.synconset.MultiImageChooserActivity" android:theme="@android:style/Theme.Holo.Light"></activity>
</config-file>


<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:requestLegacyExternalStorage="true" /><!--Needed for image picker to suppport target sdk 29 (Android 10)-->
</edit-config>

<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
Expand Down

1 comment on commit 8b7bebc

@MayankLogiciel
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.