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

[Question] Is ACCESS_BACKGROUND_LOCATION necessary? #169

Closed
hwasoocho opened this issue Jan 24, 2020 · 7 comments · Fixed by #172
Closed

[Question] Is ACCESS_BACKGROUND_LOCATION necessary? #169

hwasoocho opened this issue Jan 24, 2020 · 7 comments · Fixed by #172
Milestone

Comments

@hwasoocho
Copy link
Contributor

There are three kinds of location permissions:

  1. Deny
  2. Allow only while using the app
  3. Allow all the time

Currently, the plugin does not work if user chooses "Allow only while using the app". I'm not sure, but I believe this is due to ACCESS_BACKGROUND_LOCATION being required.

@CaiJingLong
Copy link
Member

May I ask if this is the case on iOS or android?

@CaiJingLong
Copy link
Member

In my impression, iOS does not need to obtain positioning information.
And devices before androidQ should not need location, so the problem probably comes from the privacy permissions of androidQ.

@hwasoocho
Copy link
Contributor Author

Yes, this is with Android Q. Currently, "Allow all the time" (ACCESS_BACKGROUND_LOCATION) permission is required to run the plugin's GPS api. But in my understanding, the plugin does not need this level of permission to obtain GPS information from photos.

@CaiJingLong
Copy link
Member

CaiJingLong commented Jan 29, 2020

I reviewed the documentation of androidQ.
What is needed is ACCESS_MEDIA_LOCATION, not other location permissions.
I already fix it, just wait CI, I'll merge it to master.

@hwasoocho
Copy link
Contributor Author

Thank you so much! Btw, do you have any patreon or other means of donation? It's small, but I want to support your work!

@CaiJingLong
Copy link
Member

I don’t have a suitable cross-border donation channel at the moment.
Paypal is not very easy to use, I can't transfer the donations that others gave me before.

So if you have a recommended way, let me know. 😄

@hwasoocho
Copy link
Contributor Author

Hmm is https://www.patreon.com/ not an option too?

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

Successfully merging a pull request may close this issue.

2 participants