Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request permission on android (7+) #1

Closed
netdur opened this issue Jul 14, 2017 · 4 comments
Closed

Request permission on android (7+) #1

netdur opened this issue Jul 14, 2017 · 4 comments

Comments

@netdur
Copy link

netdur commented Jul 14, 2017

LocationPlugin.java.txt

@Lyokone
Copy link
Owner

Lyokone commented Jul 17, 2017

Thanks for noticing it, added your code with some modifications. I wasn't able to invoke OnRequestPermissionsResultCallback so you still have to relaunch the app to use it. Aiming SDK 21 seems safer ...

@long1eu
Copy link
Contributor

long1eu commented Jan 23, 2018

It's not safer, as you know the user can still deny permission. 61 % of devices running android are Marshmallow and above so why not progressing along?

@g123k
Copy link
Contributor

g123k commented Mar 19, 2018

My PR #25 fixes this.
Feel free to send me your feedbacks.

@Lyokone
Copy link
Owner

Lyokone commented Apr 5, 2018

Thanks for your contrib !

@Lyokone Lyokone closed this as completed Apr 5, 2018
Somnibyte pushed a commit to Somnibyte/flutterlocation that referenced this issue Dec 19, 2018
* Modify FlutterLocation plugin to include new  command so that developers can display the permission modal at specific points within their codebase. Added LocationPermissionStreamHandler to allow for listening for the users permission modal response.

* Remove permission stream and replace with method channel. Refactor.

* Remove permission stream.

* Fix variable error.
mehmetf pushed a commit that referenced this issue Oct 23, 2020
Update with master fork
Lyokone pushed a commit that referenced this issue Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants