Skip to content
This repository was archived by the owner on Aug 23, 2026. It is now read-only.

Repository files navigation

Android Permission Provider Plugin for Unity3D Build Status

Introduction

Android 6.0 (API 23+) updated their permissions handling. This plugin helps with requesting permissions within Unity3D at runtime.

How to use

  1. Add PermissionProvider component to any GameObject in your Scene.

  2. Register a callback, for convenience look at PermissionProvider.VerifyStorage method

     void Awake ()
     {
     	GetComponent<PermissionProvider> ().VerifyStorage (hasBeenGranted => Debug.Log ("Storage permissions granted: " + hasBeenGranted));
     }
    

How to install

Unity

Ready to use package: PermissionProvider.unitypackage

Android

Library can be found under PermissionRequester/build/outputs/aar/PermissionRequester-release.aar

How to build

gradle clean assembleRelease

Requirements

  • Java 1.6+
  • Android SDK 23+

About

Android Plugin for Unity3D to request permissions from within Unity on Android 6.0 (+23) API Level

Topics

Resources

Code of conduct

Stars

9 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages