Skip to content

Commit e6e5ea3

Browse files
committed
Remove Android permissions injected by file_picker
1 parent 10820bd commit e6e5ea3

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

android/app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
22
<uses-permission android:name="android.permission.INTERNET"/>
33
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
4-
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
54
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
5+
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" tools:node="remove" />
6+
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" tools:node="remove" />
7+
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" tools:node="remove" />
8+
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" tools:node="remove" />
9+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" />
610
<application
711
tools:replace="android:label"
812
android:label="Wispar"

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1616
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
1717
# In Windows, build-name is used as the major, minor, and patch parts
1818
# of the product and file versions while build-number is used as the build suffix.
19-
version: 0.10.0+33
19+
version: 0.10.0+35
2020

2121
environment:
2222
sdk: '>=3.2.3 <4.0.0'

0 commit comments

Comments
 (0)