Android Sdk Permission Requirements
Understand Android SDK permission requirements for Vivox.
Read time 1 minuteLast updated 2 days ago
The following permission requirements apply when working with the Vivox Android SDK:
-
Required
-
- Allows communication with Vivox servers
android.permission.INTERNET -
- Allows microphone access For more information, see the Android developer documentation on requesting app permissions.
android.permission.RECORD_AUDIO
-
-
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
-
Your_Project_Path/Plugins/VivoxCore/Source/ThirdParty/VivoxCoreLibraryINTERNETRECORD_AUDIOMODIFY_AUDIO_SETTINGSACCESS_NETWORK_STATEBLUETOOTHBLUETOOTH_CONNECT
-
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 "/>