Android Sdk Permission Requirements
Understand Android SDK permission requirements for Vivox.
読み終わるまでの所要時間 1 分最終更新 7ヶ月前
The following permission requirements apply when working with the Vivox Android SDK:
-
Required
-
- Allows communication with Vivox servers
android.permission.INTERNET -
- Allows microphone access
android.permission.RECORD_AUDIOFor more information, see the Android developer documentation on requesting app permissions.
-
-
Recommended
-
android.permission.MODIFY_AUDIO_SETTINGS -
- Allows access to network information
android.permission.ACCESS_NETWORK_STATE -
- Allows access to Wi-Fi information
android.permission.ACCESS_WIFI_STATE -
- Allows access to Bluetooth devices on Android versions earlier than 12
android.permission.BLUETOOTH -
- Allows access to Bluetooth devices on Android version 12 and later
android.permission.BLUETOOTH_CONNECT
-
The Vivox SDK plugin includes a UPL (Unreal Plugin Language) file, which complements the permissions that are defined by your project. Use this file to add or remove permissions.
The UPL file is available at the following location:
Your_Project_Path/Plugins/VivoxCore/Source/ThirdParty/VivoxCoreLibraryThe UPL file includes the following permissions:
INTERNETRECORD_AUDIOMODIFY_AUDIO_SETTINGSACCESS_NETWORK_STATEBLUETOOTHBLUETOOTH_CONNECT
When working with the UPL file, consider the following use cases:
-
You have a permission defined in your project and you want to keep it.
- In this scenario, you can optionally remove the duplicated permission from the UPL file in order to keep one source of truth.
-
You need to define more permissions.
-
In this scenario, you can add permissions as necessary to the UPL file.
-
For example, if you need access to the network information, add the following permission to the UPL file:
<addPermission android:name="android.permission.ACCESS\_NETWORK\_STATE" />
-
-
You have a permission defined in your project and you want to remove it.
-
In this scenario, you can remove the permission from your manifest file.
-
If the manifest file is automatically generated, use the UPL file to remove the permission. For example, if you have the Bluetooth permission defined in your manifest file, remove the following permission with the UPL file:
<removePermission android:name="android.permission.BLUETOOTH "/>
-