Skip to content

Commit 02e6574

Browse files
committed
feat(android): remove READ_EXTERNAL_STORAGE permission
Never requested by this plugin at runtime. So let app developers add it if required for their paths and sdk versions.
1 parent 2a8f780 commit 02e6574

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugin.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
<param name="android-package" value="io.github.pwlin.cordova.plugins.fileopener2.FileOpener2" />
1919
</feature>
2020
</config-file>
21-
<config-file target="AndroidManifest.xml" parent="/*">
22-
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
23-
</config-file>
2421
<config-file target="AndroidManifest.xml" parent="application">
2522
<provider android:name="io.github.pwlin.cordova.plugins.fileopener2.FileProvider" android:authorities="${applicationId}.fileOpener2.provider" android:exported="false" android:grantUriPermissions="true">
2623
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" />

0 commit comments

Comments
 (0)