Skip to content

Commit

Permalink
Reverted legacyExternalSupport change
Browse files Browse the repository at this point in the history
Reverted last changes.
We moved changes from plugin to project config.xml file to get copied in Android Manifest. Otherwise this was giving some warning with other plugin during project setup.
  • Loading branch information
MayankLogiciel authored Aug 31, 2020
1 parent 8b7bebc commit bb55c42
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@
<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 All @@ -87,8 +83,7 @@

<source-file src="src/android/Library/src/ImageFetcher.java" target-dir="src/com/synconset"/>
<source-file src="src/android/Library/src/MultiImageChooserActivity.java" target-dir="src/com/synconset"/>

<source-file src="src/android/Library/res/anim/image_pop_in.xml" target-dir="res/anim"/>
<source-file src="src/android/Library/res/anim/image_pop_in.xml" target-dir="res/anim"/>
<source-file src="src/android/Library/res/drawable/grid_background.xml" target-dir="res/drawable"/>
<source-file src="src/android/Library/res/drawable-hdpi/image_bg.9.png" target-dir="res/drawable-hdpi"/>
<source-file src="src/android/Library/res/drawable-hdpi/loading_icon.png" target-dir="res/drawable-hdpi"/>
Expand Down

0 comments on commit bb55c42

Please sign in to comment.