Skip to content

Commit

Permalink
add storage permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHCJ committed May 6, 2024
1 parent 9d14305 commit 1308337
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
<!-- Force usage of the file picker library even on SDKs < 19, as we handle it at runtime -->
<uses-sdk tools:overrideLibrary="com.kineapps.flutter_file_dialog" />

<!-- Required for importing and exporting on older versions of Android (<=10) -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<!-- Permission for the Android 11 and above -->
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>

<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
Expand Down

0 comments on commit 1308337

Please sign in to comment.