Flutter-permission-handler: request().isGranted works fine on Android but not on iOS - Version 5.0.1

Created on 17 Jun 2020  路  8Comments  路  Source: Baseflow/flutter-permission-handler

Greetings,

await Permission.camera.request().isGranted

The code above works fine on Android but not on iOS, no reaction in iOS at all.

Permissions are complete in info.plist.

Any help would be much appreciated, thanks.

ios

Most helpful comment

same here

All 8 comments

I got this issue too. Any advices guys ?

I am also facing this issue

No reaction at all when calling request() on permissions location, camera, microphone, storage. Please help.

same here

I have same issue 馃槙
I am calling Permission.locationWhenInUse.request() for request location in use permission but it's stays undetermined state and nothing happens on app also I can not catch anything on device logs.

Flutter (Channel stable, v1.17.4, on Mac OS X 10.15.6 19G73, locale en-TR)
permission_handler: ^5.0.1+1

5.0.1+1 same android

Same here on 5.0.0.1+1 iOS only :-(

@isojtouano Does this problem still occurs using the newest version (^6.1.1) of the permission-handler plugin?
If not, can you provide a bit more information like what iOS version you tested it on, flutter doctor -v.

Just to be sure, the right permissions you want to use are commented out in the podfile, and you added the permission to your Info.plist as mentioned in the documentation?

Was this page helpful?
0 / 5 - 0 ratings