Commit 7215c903 by Maurits van Beusekom

Adds missing return statement

parent 2e47f05a
## 9.0.8
* Adds missing return statement causing the permission_handler to freeze when already requesting permissions.
## 9.0.7
* Added new Android 13 permissions "SCHEDULE_EXACT_ALARM, READ_MEDIA_IMAGES, READ_MEDIA_VIDEO and READ_MEDIA_AUDIO" to PermissionHandlerEnums.h
* Adds new Android 13 permissions "SCHEDULE_EXACT_ALARM, READ_MEDIA_IMAGES, READ_MEDIA_VIDEO and READ_MEDIA_AUDIO" to PermissionHandlerEnums.h
## 9.0.6
* Prevent appearing popup that asks to turn on Bluetooth on iOS
* Prevents appearing popup that asks to turn on Bluetooth on iOS
## 9.0.5
* Added new Android 13 NEARBY_WIFI_DEVICES permission to PermissionHandlerEnums.h
* Adds new Android 13 NEARBY_WIFI_DEVICES permission to PermissionHandlerEnums.h
## 9.0.4
* Add flag inside `UserDefaults` to save whether locationAlways has already been requested and prevent further requests, which would be left unanswered by the system.
* Adds flag inside `UserDefaults` to save whether locationAlways has already been requested and prevent further requests, which would be left unanswered by the system.
## 9.0.3
......
......@@ -34,6 +34,7 @@
} else if ([@"requestPermissions" isEqualToString:call.method]) {
if (_methodResult != nil) {
result([FlutterError errorWithCode:@"ERROR_ALREADY_REQUESTING_PERMISSIONS" message:@"A request for permissions is already running, please wait for it to finish before doing another request (note that you can request multiple permissions at the same time)." details:nil]);
return;
}
_methodResult = result;
......
name: permission_handler_apple
description: Permission plugin for Flutter. This plugin provides the iOS API to request and check permissions.
version: 9.0.7
version: 9.0.8
homepage: https://github.com/baseflow/flutter-permission-handler
environment:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment