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

Livereload halts geolocation #12542

Closed
arapocket opened this issue Aug 2, 2017 · 2 comments
Closed

Livereload halts geolocation #12542

arapocket opened this issue Aug 2, 2017 · 2 comments

Comments

@arapocket
Copy link

arapocket commented Aug 2, 2017

Ionic version: (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

  • Position gets watched when i do a fresh run of the app using
    ionic cordova run ios --device -l -c

  • When I make changes to my code (in this case just saving) app rebuilds but device does not ask me to allow location tracking, thus breaking the geolocation.

Other information:

  • Device only asks for allowing location when I restart my device
    Edit: Restarting the device doesn't help either. Deleting the app and rebuilding it works.
    Edit 2: Deleting the app doesn't even work now!!!
    Edit 3: Ran the command again and it worked, but now watchposition is not working properly.
    When installing the app without livereload everything works fine.

  • nothing happening in the console to indicate an error

@jgw96
Copy link
Contributor

jgw96 commented Aug 2, 2017

This issue was moved to ionic-team/ionic-cli#2597

@jgw96 jgw96 closed this as completed Aug 2, 2017
@ionitron-bot
Copy link

ionitron-bot bot commented Sep 2, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 2, 2018
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