I have to migrate a Android Studio project on Unity to make an app multiplatform.
However, I have to create a folder after the user granted the permission to write on external storage.
I tested UnityEngine.Android.Permission.HasUserAuthorizedPermission.
I don’t want to wheck if the permission is granted but make an action after granting permission.
How can I do ?
In that case you would need to create your own java implementation for requesting permissions, alternatively you could try using this implementation https://github.com/Over17/UnityAndroidPermissions, but it’s not an official solution