Skip to content

SDK Permission

Pallab Gain edited this page Jan 5, 2024 · 1 revision

Permissions Overview

Ninchat SDK requires the following permissions to function properly.

Camera Access
  • android.permission.CAMERA: Required for accessing the device's camera to capture images or video during video conference
  • android.hardware.camera and android.hardware.camera.autofocus: Ensures the device has a camera and supports autofocus, enhancing image and video quality.
Audio
  • android.permission.RECORD_AUDIO: Necessary for recording audio, either standalone or as part of video capture during video conference
  • android.permission.MODIFY_AUDIO_SETTINGS: Allows the SDK to modify global audio settings for improved audio performance during recording or playback.
Network
  • android.permission.INTERNET: Enables network access for online functionalities.
  • android.permission.ACCESS_NETWORK_STATE: Allows the SDK to access information about the network state, useful for optimizing network usage and handling connectivity changes.
Storage
  • android.permission.READ_EXTERNAL_STORAGE and android.permission.WRITE_EXTERNAL_STORAGE: These permissions are required for reading from and writing to the device's external storage, essential for handling files.
Bluetooth
  • android.permission.BLUETOOTH and android.permission.BLUETOOTH_ADMIN: Required for any features that involve Bluetooth connectivity, such as device pairing and data transfer during video conferencing.
Media
  • android.permission.READ_MEDIA_IMAGES and android.permission.READ_MEDIA_VIDEO: These permissions are essential for accessing and processing images and video files stored on the device.
OpenGL ES Version
  • The SDK requires OpenGL ES 2.0 (android:glEsVersion="0x00020000") as a minimum specification for rendering tasks and graphics processing.

A sample from our demo app

    <uses-feature android:name="android.hardware.camera" />
    <uses-feature android:name="android.hardware.camera.autofocus" />
    <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />

    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
    <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
    <uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
Clone this wiki locally