Hello Rob,
No, i didn’t request those permissions, indeed it is related. Thanks for the information, I did not know that it was necessary for android 6+.
I do now though, but i still can’t get it to work, i get this in the logcat :
06-06 20:22:57.550: I/Corona(17951): ERROR: --appname-- tried to request access to a permission group without having any permissions from that group in build.settings/AndroidManifest.xml!
06-06 20:22:57.550: I/Corona(17951): Before requesting access, please add a permission from the android.permission-group.LOCATION permission group!
My code is :
local options = { appPermission = "Location", --appPermission = "android.permission-group.LOCATION", urgency = "Normal", listener = appPermissionsListener, rationaleTitle = "Location", rationaleDescription = "Location access is required to access this feature. Re-request now?", settingsRedirectTitle = "Location", settingsRedirectDescription = "Without the ability to locate this device, this feature cannot properly function. Please grant GPS access within the Settings of your device." } native.showPopup( "requestAppPermission", options )
I tried both [appPermission = “Location”] and [appPermission = “android.permission-group.LOCATION”] without success for either.
And here is the relevant informations of my build.settings :
usesPermissions = { --\*\* LOCATION -- Permission to access the GPS. "android.permission.ACCESS\_FINE\_LOCATION", -- Permission to retrieve current location from WiFi or cellular service. "android.permission.ACCESS\_COARSE\_LOCATION",
Any idea of what I am missing?
Cheers,
Dim