Skip to content

Commit

Permalink
feat: remove READ_EXTERNAL_STORAGE permission
Browse files Browse the repository at this point in the history
Never requested by this plugin at runtime.
So let app developers add it if required for their paths and sdk versions.
  • Loading branch information
ath0mas committed Aug 15, 2023
1 parent 2a8f780 commit 9bdab9c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
<param name="android-package" value="io.github.pwlin.cordova.plugins.fileopener2.FileOpener2" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<provider android:name="io.github.pwlin.cordova.plugins.fileopener2.FileProvider" android:authorities="${applicationId}.fileOpener2.provider" android:exported="false" android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" />
Expand Down

0 comments on commit 9bdab9c

Please sign in to comment.