Native map view is blank

Hi,

My app uses the native Map view, which works fine on some iOS devices but not on others. The location services settings are identical on all devices (i.e. “on”) but e.g. on an iPad running on iOS 9.3.5 the screen is blank where the map is supposed to be. Is this a device, iOS version or setting issue?

As far as I can tell from googling, iOS 8 is the current minimum requirement for Corona, which would mean that the iPad I mention above should be fine from that aspect.

Looking in the xcode console when starting the app on the device, it reads

Mar 26 21:23:38 MyIpad MapApp[191] <Warning>: source <VKBuildingFootprintTileSource: 0x1751df40> wants grid size 64.000000, min display z: 13, min download z: 16. This is probably a bug!

and a few seconds later this appears:

Mar 26 21:23:47 MyIpad locationd[69] <Notice>: Location icon should now be in state ‘Inactive’

Any ideas? 

I have the same problem on that version of IOS. Did you figure out how to solve the problem ? 

Tks

My suggestion would be make sure you have all the appropriate location services messages in your build.settings.

settings = { iphone = { plist = { UIRequiredDeviceCapabilities = {"location-services", "gps" }, NSLocationWhenInUseUsageDescription = "This app uses the GPS when active to determine where to report weather for.", }, } }

Now if you have the UIRequiredDeviceCapabilities line, then you’re running on an iPad with out LTE support, it won’t have a GPS, so you might want to try and not require that feature if WiFi locations are good enough. But you have to have the various NSLocationWhenInUseDescription in your plist.

Rob

I opened the maps app, give some permissions and open my app again, and now it is working.  :huh:

I never did solve that issue…

The iPad I am testing on has GPS and the apple map app works perfectly fine on it. When I open my app on the iPad, I even get the question if I want to allow the app to access location services. Touching “Allow” does not help. Checking in settings in the location services view, I can see that the app is allowed to use the gps.

In other words, all seems in order but the map still does not show.

I have the same problem on that version of IOS. Did you figure out how to solve the problem ? 

Tks

My suggestion would be make sure you have all the appropriate location services messages in your build.settings.

settings = { iphone = { plist = { UIRequiredDeviceCapabilities = {"location-services", "gps" }, NSLocationWhenInUseUsageDescription = "This app uses the GPS when active to determine where to report weather for.", }, } }

Now if you have the UIRequiredDeviceCapabilities line, then you’re running on an iPad with out LTE support, it won’t have a GPS, so you might want to try and not require that feature if WiFi locations are good enough. But you have to have the various NSLocationWhenInUseDescription in your plist.

Rob

I opened the maps app, give some permissions and open my app again, and now it is working.  :huh:

I never did solve that issue…

The iPad I am testing on has GPS and the apple map app works perfectly fine on it. When I open my app on the iPad, I even get the question if I want to allow the app to access location services. Touching “Allow” does not help. Checking in settings in the location services view, I can see that the app is allowed to use the gps.

In other words, all seems in order but the map still does not show.