Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
permission_handler
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyanzhi
permission_handler
Commits
3356ec68
Commit
3356ec68
authored
Apr 19, 2021
by
Jan-Derk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 'Manage External Storage' permission
parent
a1c2f076
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
+17
-1
permission_handler_platform_interface/lib/src/permissions.dart
+17
-1
No files found.
permission_handler_platform_interface/lib/src/permissions.dart
View file @
3356ec68
...
...
@@ -111,6 +111,20 @@ class Permission {
/// When running < iOS 13 or Android this is always allowed.
static
const
bluetooth
=
Permission
.
_
(
21
);
/// Android: Allows an application a broad access to external storage in
/// scoped storage.
/// iOS: Nothing
///
/// You should request the Manage External Storage permission only when
/// your app cannot effectively make use of the more privacy-friendly APIs.
/// For more information: https://developer.android.com/training/data-storage/manage-all-files
///
/// If the usage of the Manage External Storage permission is needed,
/// the user has to declare permissions for the app before release.
/// Information on how to declare permissions
/// can be found here: https://support.google.com/googleplay/android-developer/answer/9214102#zippy=
static
const
manageExternalStorage
=
Permission
.
_
(
22
);
/// Returns a list of all possible [PermissionGroup] values.
static
const
List
<
Permission
>
values
=
<
Permission
>[
calendar
,
...
...
@@ -134,7 +148,8 @@ class Permission {
accessMediaLocation
,
activityRecognition
,
unknown
,
bluetooth
bluetooth
,
manageExternalStorage
,
];
static
const
List
<
String
>
_names
=
<
String
>[
...
...
@@ -160,6 +175,7 @@ class Permission {
'activity_recognition'
,
'unknown'
,
'bluetooth'
,
'manageExternalStorage'
];
@override
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment