ionic-team / ionic-team/ionic-cli

Livereload halts geolocation

オープン
#2,597 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs investigation
主要言語
TypeScript
スター
2k
フォーク
682
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。