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
5bdbd6bf
Commit
5bdbd6bf
authored
Jun 10, 2021
by
Neal Soni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed changes to permission_handler_platform_interface for separate PR
parent
2c1a2b35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
16 deletions
+3
-16
permission_handler_platform_interface/lib/src/permissions.dart
+2
-15
permission_handler_platform_interface/test/src/permissions_test.dart
+1
-1
No files found.
permission_handler_platform_interface/lib/src/permissions.dart
View file @
5bdbd6bf
...
...
@@ -143,15 +143,6 @@ class Permission {
///websites.
static
const
appTrackingTransparency
=
Permission
.
_
(
25
);
///Android: Nothing
///iOS: Notifications that override your ringer
static
const
criticalAlerts
=
Permission
.
_
(
26
);
///Android: Allows the user to access the notification policy of the phone.
/// EX: Allows app to turn on and off do-not-disturb.
///iOS: Nothing
static
const
accessNotificationPolicy
=
Permission
.
_
(
27
);
/// Returns a list of all possible [PermissionGroup] values.
static
const
List
<
Permission
>
values
=
<
Permission
>[
calendar
,
...
...
@@ -179,9 +170,7 @@ class Permission {
manageExternalStorage
,
systemAlertWindow
,
requestInstallPackages
,
appTrackingTransparency
,
criticalAlerts
,
accessNotificationPolicy
,
appTrackingTransparency
];
static
const
List
<
String
>
_names
=
<
String
>[
...
...
@@ -210,9 +199,7 @@ class Permission {
'manageExternalStorage'
,
'systemAlertWindow'
,
'requestInstallPackages'
,
'appTrackingTransparency'
,
'criticalAlerts'
,
'accessNotificationPolicy'
,
'appTrackingTransparency'
];
@override
...
...
permission_handler_platform_interface/test/src/permissions_test.dart
View file @
5bdbd6bf
...
...
@@ -6,7 +6,7 @@ void main() {
()
{
final
values
=
Permission
.
values
;
expect
(
values
.
length
,
2
8
);
expect
(
values
.
length
,
2
6
);
});
test
(
'check if byValue returns corresponding PermissionGroup value'
,
()
{
...
...
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