Good morning/day.
I have an app that uses the native map and gets our location and always worked fine until I tested in the new iOS8… It didn’t worked, an error popup appeared that said something like “Error: It wasn’t possible to obtain your location…”, so i searched and on the corona docs i saw that for iOS8 we need to add a line in the build.settings file (
I did that (added “NSLocationWhenInUseUsageDescription”) and also installed the newest Corona (ver 2511).
Now, when I open the app and the map scene for the first time, it asks me if i allow the app to get my location, I clicked yes but then it stills shows that same popup with the location error (even though I can see that the map, beneath that error popup, does show my location without a problem).
It seems that, both popups open around the same time, first the error one and then the one that asks my permission (on top of the error one), and I don’t understand why that happens.
Am I doing something wrong? No one else has this happening?
By the way, that only happens the first time I open the app (after installing on a iOS8 device), which is to be expected I suppose since is then that I have to give the permission.
Thanks in advance.