Copy link to clipboard
Copied
I am using AIR SDK 24, -swf-version=35 and targetSdkVersion="24" but CameraRoll requestPermission() method always triggers a PermissionEvent with status "denied". Deleting the app doesn't help. Any ideas what could be wrong?
Yes, you need to give WRITE_EXTERNAL_STORAGE.
Thanks,
Adobe AIR Team
Copy link to clipboard
Copied
Hi Harry248,
CameraRoll.requestPermission() requires File Permission on Android. Make sure you have given the file/storage permission in app.xml.
Please let us know if you further face any problem.
Thanks,
Adobe AIR Team
Copy link to clipboard
Copied
I have <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Does it need WRITE_EXTERNAL_STORAGE?
Copy link to clipboard
Copied
Yes, you need to give WRITE_EXTERNAL_STORAGE.
Thanks,
Adobe AIR Team
Copy link to clipboard
Copied
Thanks! Works now...