How to configure the android API level when using Photon Voice 2 in unity2018
harlan
✭
in Photon Voice
Now our configurations are Minimum API level 19, Target API Level 22. and everything is OK. But when we configure a higher API level, the voice cannot be transferred successfully.Does Photon Voice have special requirements about this??Thank you.
0
Comments
-
Hi @JohnTube
When updating the android Target API Level from 22 to 26, the relevant configurations including AndroidManifest are all the same, but we cannot get the microphone permission which can be checked from Photon Voice Log.
Add the following configuration to Manifest file cannot help:uses-permission android:name="android.permission.RECORD_AUDIO"
Using the following codes are OK:if (!AndroidPermissionsManager.IsPermissionGranted("android.permission.RECORD_AUDIO")) { AndroidPermissionsManager.RequestPermission("android.permission.RECORD_AUDIO") }
BR,
Harlan.
1