Closed ksyao2002 closed 4 years ago
Found the solution here: https://forum.unity.com/threads/open-source-androidruntimepermissions-manage-runtime-permissions-synchronously-on-android-m.528833/
"You need to add the following line inside
Yes, seems like the microphone permission is named android.permission.RECORD_AUDIO
😄
Attached is what I call:
AndroidRuntimePermissions.Permission result1 = AndroidRuntimePermissions.RequestPermission("android.permission.CAMERA"); AndroidRuntimePermissions.Permission result2 = AndroidRuntimePermissions.RequestPermission("android.permission.MICROPHONE"); AndroidRuntimePermissions.Permission result3 = AndroidRuntimePermissions.RequestPermission("android.permission.WRITE_EXTERNAL_STORAGE");
Here is my manifest:
\
\
\ "
When I run it in build, it doesn't give error messages but it also never asks for the permission. When I print out result2 I get denied.