Comments (4)
When reproducing, following error is thrown:
[VERBOSE-2:ui_dart_state.cc(166)] Unhandled Exception:
PlatformException(ERROR_ALREADY_REQUESTING_PERMISSION, A request for permissions is already running, please wait for it to finish before doing another request., null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:572:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:161:18)
#2 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:334:12)
#3 LocationPermissions.requestPermissions (package:location_permissions/src/location_permissions.dart:70:45)
#4 _PermissionState.requestPermission (package:location_permissions_example/main.dart:141:10)
#5 _PermissionState.build. (package:location_permissions_example/main.dart:121:9)
#6 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:992:19)
#7 _InkResponseState.build. (package:flutter<…>
from flutter-permission-plugins.
When testing on iOS emulator, after reproducing and closing the example app. The application says PermissionStatus.granted on locationAlways.
from flutter-permission-plugins.
When testing on iOS emulator and real device, the application never returns a value when location permissions are kept to while using upon requestion for location always permissions.
from flutter-permission-plugins.
When permissions are granted for location always the request returns granted as intended.
from flutter-permission-plugins.
Related Issues (20)
- Multiple bugs when we deny location permission and then ask for it again HOT 1
- iOS - Location permission dialog is not appearing and always giving denied response. HOT 9
- Is there any plans to support Web version? HOT 1
- Location permission level has no effect on checking or requesting permissions. HOT 3
- AndroidManifest need ACCESS_FINE_LOCATION permission? HOT 2
- Request ServiceStatus
- On iOS 13, location always is incorrectly returned as granted when you only have when in use HOT 2
- Method requestPermissions returns inconsistent results with "Allow Once" on iOS
- Android 11 support problem
- Android permission allowWhenAppInUse triggering inactive and resumed appLifeStateEvent
- Issue with the checkPermissionStatus on Android when the user selects "Allow only while using the app" HOT 2
- iOS permission key search is incomplete HOT 1
- [android] "Can request only one set of permissions at a time." HOT 5
- Null Safety Support HOT 1
- Will these packages eventually replace the permission_handler package? HOT 1
- Open turn on location service
- Show Rationale Dialog
- On Android version less than 6 (M) checkPermissionStatus returns Denied HOT 4
- LocationPermissionsPlugin.java uses or overrides a deprecated API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-permission-plugins.