On iOS the callback function is called whenever the first location is avaiable. Depending on your current environment (indoor, outdoor, wifi available, gps signal strong etc.) this might not immediately be available.
I hope this helps.
M
Manuel Heidrich
said
over 7 years ago
Hi Eva,
thanks for your help!
The thing is, I do not need to get the current position, I already have that using iBeacons to determine the current position indoors. Since indoors GPS is not really working, I need to use beacons to get an accurate position. I now want to tell Wikitude to use this position (it's just lat and long) as the users location. Another example would be: The user physically is in New York City but I want to virtually set his location to Singapore.
Do you understand what I am trying to achieve? Is there any possibility to just set the user's location?
E
Eva
said
over 7 years ago
Hi Manuel,
You can set a custom user location, but that is not linked with the Wikitude SDK. What you want to do is "fake" the user's location. You need to set that up on Android and iOS (depending on the platform you are using). Specifically for iOS, you need to look at the following information.
Manuel Heidrich