Sensor location- different behavior between iOS and Android

HI there,
I m new in the community and tried to find an answer in past posts but was not successful.

Here is my issue: I tried to get the position on my phone and display it
Here is the code I m using :

This code is working on Android, but does not work at all in iOS… It does not even enters the loop because the textfield of Myposterror does not even display the “enterlooplocation sensor” text that I put for test. WHY ?!

Remark1 : It also works in the hunk desktop simulation…

Remark 2 / Question : on Android (since it is the only one working…), retrieving the location with highaccuracy on takes between 7 and 15sec but when enableHighAccuracy is set to false it is almost immediate. Is it normal ?

Hi @consulting.sby2j7000 , welcome to Thunkable! :tada:

Be sure to check out How to ask Great Questions v2.0, the Community Guidelines, and our Getting Started Guide to make the best of your Thunkable Community experience!

The time it takes to return the location may depend on the device.

I couldn’t replicate the issue after testing it on an iOS device.

Could you please check if the app settings on your device have both the location and “Allow Tracking” enabled?