[TIMOB-19071] Ti.Geolocation.getCurrentPosition can have success:true and error at the same time with LiveView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-01-08T19:35:38.000+0000 |
Affected Version/s | Release 4.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Eric Merriman |
Created | 2015-06-25T07:15:33.000+0000 |
Updated | 2017-03-22T22:27:50.000+0000 |
Description
In iOS Simulator (iOS 8.3), running the following code:
Ti.Geolocation.getCurrentPosition(function (e) {
console.log(e);
});
Sometimes gives me the following e
when I have LiveView enabled:
[INFO] {
[INFO] code = 0;
[INFO] error = "The operation couldn\U2019t be completed. (kCLErrorDomain error 0.)";
[INFO] source = "[object GeolocationModule]";
[INFO] success = 1;
[INFO] type = location;
[INFO] }
This has 2 problems:
This is not just with LiveView, so closing this in favour of TIMOB-20046
Closing ticket as duplicate and links to the related ticket have been provided above.