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

Record trackpoints after runtime GPS permission is granted during track recording. Fixes issue #207 #208

Closed
wants to merge 1 commit into from

Conversation

jdmonin
Copy link
Contributor

@jdmonin jdmonin commented Jun 2, 2019

Fix issue #207. Tested on emulator and android 9 device with all of these scenarios:

  • Remove app's Location permission, start new track, give permission
  • Clear app data/permissions, start new track, give permission
  • Uninstall/reinstall app

@jamescr jamescr added this to the v0.7.2 milestone Jun 7, 2019
@EmmanuelAB
Copy link
Contributor

Hi, thanks for helping to improve the app, in fact this issue is very annoying and needs to be fixed as soon as possible. However we think that no re-registering or broadcasts would be needed if we just ask for GPS permission before even starting the TrackLogger activity this PR employs this strategy and also fixes the issue #207 .

Copy link
Contributor

@xsaco07 xsaco07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @jdmonin , indeed as @EmmanuelAB says, this solution seems to be fine but is a little bit complicated.
We support the idea of asking for permissions before the activity and if are not granted just do not allow the user to continue.
The PR #208 solves this.

@aton1698 aton1698 closed this Jun 25, 2019
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

Successfully merging this pull request may close these issues.

None yet

5 participants