ionic-team / ionic-team/ionic-cli

Livereload halts geolocation

Ouverte
#2,597 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
needs investigation
Langage dominant
TypeScript
Étoiles
2k
Forks
682
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

_From @arapocket on August 2, 2017 2:47_

**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

_Copied from original issue: ionic-team/ionic#12542_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.