Hey guys, I might need your help again.
I am not sure if this is a bug or if I just did something wrong.
I am trying to get my current location.
I exactly used the example from GeoLocation.
I also added "Fuse.GeoLocation"
to my .unoproj.
On my desktop-preview, the example is working fine.
But on my mobile device, only the timeout-Location is working.
At this moment, I mostly need the immediateLocation, but on my mobile Device, the immediateLocation remains empty ( {} ).
I also tried the following code, which is working on my mobile device:
GeoLocation.getLocation(5000).then(function(location) {
myLocation.value = JSON.stringify(location);
}).catch(function(fail) {
console.log("getLocation fail " + fail);
});
But why is the immediateLocation with GeoLocation.location
not working?
(I am using a Samsung Galaxy S7 with Android 7.0)