Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Will these packages eventually replace the permission_handler package? #56

Open
aytunch opened this issue Apr 20, 2021 · 1 comment
Open

Comments

@aytunch
Copy link

aytunch commented Apr 20, 2021

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants