Open itlancer opened 1 year ago
Could this be target sdk 33 related? maybe you can try with 32?
@raresn
Nope. The same issue using <uses-sdk android:targetSdkVersion="32" />
May be it could be solved using target Android SDK 30 (Android 11) but apps targeted for old Android SDK cannot be uploaded to Google Play.
Problem Description
Geolocation::permissionStatus
returnsPermissionStatus.DENIED
when approximate location granted for Android 12+ devices. So with AIR applications you cannot use location services for Android 12+ in approximate mode. ButGeolocationEvent.UPDATE
events will dispatches anyway.Tested with latest AIR 50.2.3.4 and AIR 50.2.3.5 with different AIR applications and different Android 12+ devices with different architectures. Same problem in all cases. There is no such issue if "Precise" mode was selected. There is no such issue with Android 11 and below. Also there is no such issue with iOS.
Related issues: https://github.com/airsdk/Adobe-Runtime-Support/issues/2809 https://github.com/airsdk/Adobe-Runtime-Support/issues/2022
Steps to Reproduce
1) Launch application with code below with any Android 12+ device which has location services. 2) Click anywhere on stage. Geolocation permission grant popup will be shown. 3) Choose approximate accuracy and click "while using the app".
Application example with sources attached. android_geolocation_permissionstatus_approximate_accuracy_bug.zip
Actual Result: AIR report that geolocation permission not granted. In traces you will see:
Expected Result: AIR report that geolocation permission granted. In traces you will see:
Known Workarounds
none