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

Redirect to settings in iOS for always on location settings #79

Closed
tremblerz opened this issue Mar 17, 2020 · 5 comments
Closed

Redirect to settings in iOS for always on location settings #79

tremblerz opened this issue Mar 17, 2020 · 5 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed High Priority High importance / High value

Comments

@tremblerz
Copy link
Contributor

In iOS, we haven't found a way so far to have always on location settings enabled through pop-up which comes on the app. So for now, we will redirect the user to location settings where they can click on always on.

@tremblerz
Copy link
Contributor Author

@1geek0 and I are dealing it with for now

@tremblerz tremblerz added High Priority High importance / High value good first issue Good for newcomers help wanted Extra attention is needed labels Mar 17, 2020
@tremblerz tremblerz self-assigned this Mar 17, 2020
@rparet rparet added this to Backlog in Private Kit Kanban Mar 19, 2020
@snmishra
Copy link

snmishra commented Mar 26, 2020

I'm willing to take a stab at it. If someone with more experience with location stuff wants to jump in, feel free.

Looks like we need another library to do this well. Will another dependency be acceptable?

react-native-geolocation-service is free

react-native-background-geolocation looks more advanced, but needs a license. I could ask the author if they're willing to give a discounted or free license for this.

Edit: I missed that there's already a third-party location library. I need more time to find the issue

@skusunam
Copy link

@tremblerz not sure if you already read this. From iOS-13 it will not show the "Always" option when the first time it asks i.e. it will show 3 options:

  1. Allow While Using App
  2. Allow Once
  3. Don't Allow

If the user grants you ‘Allow While Using App’ permission and if you try to scan for location in the background, only then the user will be presented a 2nd dialog to grant the background permission i.e. new popup with following 2 options:

  1. Keep Only While Using
  2. Change to Always Allow

I will give a try with this App and make sure it shows-up 2nd popup.

Let me know if you have any questions for me? Feel free to assign this issue and any related issues to me?

@rparet
Copy link
Contributor

rparet commented Mar 26, 2020

fix is in #216

@tremblerz
Copy link
Contributor Author

Done in #97

Private Kit Kanban automation moved this from Backlog to Done Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed High Priority High importance / High value
Projects
No open projects
Development

No branches or pull requests

4 participants