Git Product home page Git Product logo

Comments (4)

danielroek avatar danielroek commented on September 23, 2024

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.

danielroek avatar danielroek commented on September 23, 2024

When testing on iOS emulator, after reproducing and closing the example app. The application says PermissionStatus.granted on locationAlways.

from flutter-permission-plugins.

elouiestudent avatar elouiestudent commented on September 23, 2024

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.

elouiestudent avatar elouiestudent commented on September 23, 2024

When permissions are granted for location always the request returns granted as intended.

from flutter-permission-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.