Baseflow / flutter-permission-plugins

This repo contains a collection of permission related Flutter plugins which can be used to request permissions to access device resources in a cross-platform way.
https://baseflow.com
MIT License
52 stars 34 forks source link

Will these packages eventually replace the permission_handler package? #56

Open aytunch opened 3 years ago

aytunch commented 3 years ago

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?

LEMUSADR000 commented 3 years ago

@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.