Problem simulating a location
harrison at all-auctions.com
Tue Apr 14 11:33:14 EDT 2020
You should really try it on the phone before knocking yourself out
about why it doesn’t work on the simulator. I have found that
some things involving sensors simply don’t work on the simulator.
Try that, if it doesn’t work on the phone let us know.
> On Apr 14, 2020, at 11:18 AM, Graham Samuel via use-livecode <use-livecode at lists.runrev.com> wrote:
> Folks, I am still struggling with this. Alan Stenhouse has been kind enough to help me, but so far I have not got the simulator to simulate any kind of location information.
> There is a function, mobileCurrentLocation, that is supposed to return an array provided tracking is enabled and mobileSensorAvailable(“location”) has been invoked (see the LC Dictionary). I have made sure that both these things have been done, but In my tests on the simulator the array appears to be empty.
> I suppose I can try the test on a real phone, but I would rather stick to the simulator for now. And I haven’t found out how LC knows I’ve got a provisioning profile (separate problem I admit).
> Has anyone got any idea what’s going wrong?
More information about the use-livecode