Migrating to v7.0
v7.0 brings a complete rewrite of the authorisation process for Android. The API remains the same however there is a change to the manifest.
This update requires the latest version of the Core ANE (v7+).
- APM
- Manual
If you are using apm
all you need to do is update to the latest build and regenerate your application descriptor. apm
will handle the rest.
apm update
apm generate app-descriptor src/Main-app.xml
If you are manually managing your application descriptor (and manifest additions) then you will be required to make some changes to your manifest. Add the following permissions:
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
And if you are using the WRITE_EXTERNAL_STORAGE
permission update it to be as below:
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />