GPS is not asking for authorization on iOS

I changed the code doing it that way. Works fine on Android. In OSX I even got the permission prompt which I said yes but know it does not work on there. I deployed to my iPad. The location services was set to Never for the app. I changed it to Always and ran the app. Np GPS again. I go back to the location services for the app and it is set to Never. Every time I run the app on the device it changes the setting to Never.

Has anyone seen this? I don’t know why. I posted my build settings file above.

I’m down with the app until I can get this working for iOS.

Thanks!!!

It works! Not sure what happened but working. Thanks!!

Btw, I am using the latest build from 3 days ago for OSX.

Have you already hit no on your iOS device, the pop up is a one and done deal. You have to go your app settings if you said no already

No, just loaded it on another device and set the app permissions to allow it. Then ran it and no popup. Same with someone else testing the same app.

Did this work with an older version?

I go to the app’s location settings and set always. I run the app and it does not work. Return back tot he setting for the appp  and it always goes back to never.

This is the only version of anything I have to use. I’m using the current of everything.

Have you tired the sample gps app included with corona?

I also looked under Notifications on the device and it is not listed. Maybe cause it is a development app? But is there something I can set to make sure the notifications are turned on for the app? I’m wondering if something is blocking it.

We just put the SDK through a battery of tests for the public release (2906) and We didn’t find any problems. I’m trying to verify that 9.2 got tested. I know for certain it works on 9.3.

I just looked and when I go to compile for iOS the corona program only allows 9.3. In grey it says if I want 9.2 then I need to install xcode 7.2.

Install or xcode select 7.2 is what it says actually.

Building with the iOS 9.3 SDK and Xcode 7.3 will work just fine on 9.2 devices, and iOS 8 and 7 and maybe 6.

Thanks but something is causing this not to work as far as location services.

Go to application>coronasdk>sample code>hardware> gps and look at that

I was going to use the locationHandler method like in this app example but I could not figure how to stop it after it got the location. Each time I tried to cancel the eventHandler it still kept going even after I changed scenes. I’ll see if it works anyways on my device.

Here the deal o about composer. It only handles objects in the scene groups and that is about it. You are responsible for runtime events, timers, and physics.

Composer does do other thing like store data, mange files, handle recycling, and scene management, I did not mean to insult composer like that :slight_smile:

I know how to use all of it but it doesn’t always listen. For example, I put in the locationHandler to cancel the event after a location was retrieved and it did not for some reason. Maybe it was how I coded it. I’m working on it now and will post the code if it does not work right.

Thanks!