ionic-team / ionic-team/ionic-cli

Livereload halts geolocation

Đang mở
#2,597 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
needs investigation
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.