flutter-permission-plugins icon indicating copy to clipboard operation
flutter-permission-plugins copied to clipboard

Will these packages eventually replace the permission_handler package?

Open aytunch opened this issue 4 years ago • 1 comments

I remember reading in one of the issues that Baseflow wanted to make every single permission in to their seperate packages like this package. Is this strategy still valid? I see there is not much activity in this repo and just wanted to be sure.

We need this package at least for the locationServicesEnabled Stream which is not found in any other plugin. Thanks for that since it is very useful.

However, we need to use many packages for very similar things. Geolocator, Permission_handler, location_permission and it is hard to manage and read our own code after a while.

So I will be very glad if you could share some of your plans for the future. Thanks

Bonus question: What might be the reason I get PermissionStatus.denied from LocationPermissions().requestPermissions() without iOS showing the location request dialog?

aytunch avatar Apr 20 '21 13:04 aytunch

@aytunch I can't answer the questions about the direction of the package since I don't maintain it, but from what I've seen the reason I get automatic PermissionStatus.denied is due to the user having already denied permissions. During development I'll sometimes get this even though I swear I've never been prompted, and uninstalling & reinstalling seems to fix the issue.

LEMUSADR000 avatar Jun 04 '21 22:06 LEMUSADR000