Permission Manager plugin allows you to write code that will handle all Android versions using simple API and test permissions behavior for any Android version without leaving the editor.
Features
• Test permissions behavior right within the editor• Manage the list of all permissions found in manifests (including .jar & .aar files), no more hunting all over the project• Android 6 (Android M) runtime dangerous permissions support• Add new permissions from within the editor with autocomplete• ShouldShowRequestPermissionRationale on the device and in the editor• Open native Android settings• Test scenes with sample code• Write once, works everywhere
Compatibility
This package supports both new Android 6+ permissions & Android 5 or lower. The code does not require to be wrapped in #if UNITY_ANDROID
Tested with Android 4.1 and higher.
Tested with Unity 5.6, 2017, 2018, 2019, 2020, 2021
Works with Gradle & Internal build systems and alongside AndroidX dependencies.
Download Demo APK
Note: xml tag uses-permission-sdk-23 in manifest files is not yet fully supported for testing.
This asset uses IonicZip under Ms-PL see Third-Party Notices.txt file in package for details.
Documentation | Support | Discord