Skip to main content
Inspiring
February 18, 2016
Question

Android M permissions

  • February 18, 2016
  • 3 replies
  • 1200 views

Is Adobe AIR going to be compatible with the new permission system on Android? I have upgraded the targetSDKVersion to 23, only to find out, that some AIR Apps are no longer working (crashing or freezing) on devices with Android 6.

This topic has been closed for replies.

3 replies

Inspiring
October 20, 2016

I got an ane and as3 code that handles this fine on Marshmallow. So if anyone is interested just pm me.

Oldes
Inspiring
October 24, 2016
Inspiring
October 15, 2016

I have also a lot of problem with the latest android versions.

Mainly

java.lang.SecurityException

Msg: (Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=31998, uid=10142 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission())

It's very annoying because we don't have access to the android permission scheme, so there is no way to catch it. Just the app doesn't work or crash.

A workaround would be to change the targetSdkVersion to less than 23. Unfortunately google refuse the downgrade the targetSdkVersion.

So once you set the targetSdkVersion to 23 and publish you have the problem... and then  can't go back. This is extremely annoying because it's just kill any air app on Marshmallow.

Oldes
Inspiring
October 20, 2016

I have the same problem and I'm writing native extension to handle it, but so far I don't know how to catch result from the requester.

Participating Frequently
October 14, 2016

Hi Harry,

pointing targetSDKVersion to 23 will require the permissions to be asked in run time before we use or initialize feature.

If required, For now we can create native extensions of our own to handle permissions flow.

Best,

Bharani