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
a1aa7ca6
Unverified
Commit
a1aa7ca6
authored
Jul 12, 2023
by
Jeroen Weener
Committed by
GitHub
Jul 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update example app to fix displayed permissions (#1101)
Co-authored-by: Maurits van Beusekom <maurits@vnbskm.nl>
parent
0be05e5d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
permission_handler_android/CHANGELOG.md
+4
-0
permission_handler_android/example/lib/main.dart
+1
-1
permission_handler_android/pubspec.yaml
+1
-1
No files found.
permission_handler_android/CHANGELOG.md
View file @
a1aa7ca6
## 10.3.2
*
Updates example app to show
`Permission.photos`
and hide
`Permission.bluetooth`
.
## 10.3.1
## 10.3.1
*
Fixes
`java.lang.IllegalStateException: Reply already submitted`
when checking status of Bluetooth service.
*
Fixes
`java.lang.IllegalStateException: Reply already submitted`
when checking status of Bluetooth service.
...
...
permission_handler_android/example/lib/main.dart
View file @
a1aa7ca6
...
@@ -37,9 +37,9 @@ class _PermissionHandlerWidgetState extends State<PermissionHandlerWidget> {
...
@@ -37,9 +37,9 @@ class _PermissionHandlerWidgetState extends State<PermissionHandlerWidget> {
.
where
((
permission
)
{
.
where
((
permission
)
{
return
permission
!=
Permission
.
unknown
&&
return
permission
!=
Permission
.
unknown
&&
permission
!=
Permission
.
mediaLibrary
&&
permission
!=
Permission
.
mediaLibrary
&&
permission
!=
Permission
.
photos
&&
permission
!=
Permission
.
photosAddOnly
&&
permission
!=
Permission
.
photosAddOnly
&&
permission
!=
Permission
.
reminders
&&
permission
!=
Permission
.
reminders
&&
permission
!=
Permission
.
bluetooth
&&
permission
!=
Permission
.
appTrackingTransparency
&&
permission
!=
Permission
.
appTrackingTransparency
&&
permission
!=
Permission
.
criticalAlerts
;
permission
!=
Permission
.
criticalAlerts
;
})
})
...
...
permission_handler_android/pubspec.yaml
View file @
a1aa7ca6
...
@@ -18,7 +18,7 @@ flutter:
...
@@ -18,7 +18,7 @@ flutter:
dependencies
:
dependencies
:
flutter
:
flutter
:
sdk
:
flutter
sdk
:
flutter
permission_handler_platform_interface
:
^3.11.
0
permission_handler_platform_interface
:
^3.11.
2
dev_dependencies
:
dev_dependencies
:
flutter_lints
:
^1.0.4
flutter_lints
:
^1.0.4
...
...
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