PlanetKit system requirements
PlanetKit is an SDK that allows your application client to call the LINE Planet API. This page provides information that you need before using PlanetKit.
Android
The following are requirements for developing Android applications with PlanetKit.
Operating system requirements
- Android 5.0 or higher (
minSdkVersion
21)
App targetSdkVersion
requirements
targetSdkVersion
31 or higher
Audio device requirements
- Speaker
- Mandatory
- Supported speakers: Built-in, USB, or Bluetooth audio device
- Microphone
- Optional
- Supported microphones: Built-in, USB, or Bluetooth audio device
Video device requirements
- Camera
- Optional
- Supported types: Built-in camera or external USB webcam
To use an external camera, the Android device must support the feature android.hardware.camera.external
. You can verify support by checking either of the following:
-
In code:
packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA_EXTERNAL)
-
In terminal:
adb shell pm list features | grep "android.hardware.camera.external"
Required permissions
The following permissions are required in order to use PlanetKit for Android.
Permission | Protection level | Description | Note |
---|---|---|---|
INTERNET | normal | Required for internet connection | |
RECORD_AUDIO | dangerous | Required for access to the microphone | |
CAMERA | dangerous | Required for access to the camera | For video calls only |
READ_PHONE_STATE | dangerous | Required for detection of incoming cellular calls | PlanetKit assumes cellular calls have a higher priority than PlanetKit calls for both 1-to-1 calls and group calls, so PlanetKit will end a PlanetKit call when a cellular call comes in during the PlanetKit call. |
ACCESS_NETWORK_STATE | normal | Required for access to network information | |
WAKE_LOCK | normal | Required for using PowerManager WakeLocks to prevent the system from entering Doze mode | |
ACCESS_WIFI_STATE | normal | Required for access to Wi-Fi network information | |
VIBRATE | normal | Required for using the vibrator | |
MODIFY_AUDIO_SETTINGS | normal | Required for modifying audio settings | |
BLUETOOTH | normal | Required for connection to paired Bluetooth devices | For targetSdkVersion 30 or lower only |
BLUETOOTH_CONNECT | dangerous | Required for connection to paired Bluetooth devices | For targetSdkVersion 31 or higher only. For more information, see Bluetooth permissions. |
For the permissions having a dangerous protection level, you must implement code to request runtime permissions. For more information, see Request system permissions.
iOS
The following are requirements for developing iOS applications with PlanetKit.
Operating system requirements
- iOS 13.0 or higher
PlanetKit SDK doesn't support iPod touch devices.
Audio device requirements
- Speaker
- Equipped
- Supported speakers: Built-in, USB, or Bluetooth audio device
- Microphone
- Equipped
- Supported microphones: Built-in, USB, or Bluetooth audio device
Permission required to access the audio device
NSMicrophoneUsageDescription
key in your app’sInfo.plist
file
For more information, see Apple Developer documentation.
Video device requirements
- Camera
- Equipped
Permission required to access the camera device
NSCameraUsageDescription
key in your app’sInfo.plist
file
For more information, see Apple Developer documentation.
macOS
The following are requirements for developing macOS applications with PlanetKit.
Operating system requirements
- macOS 10.14.6 or higher
Audio device requirements
- Speaker
- Equipped
- Supported speakers: Built-in, USB, or Bluetooth audio device
- Microphone
- Optional
- Supported microphones: Built-in, USB, or Bluetooth audio device
Permission required to access the audio device
NSMicrophoneUsageDescription
key in your app’sInfo.plist
file
For more information, see Apple Developer documentation.
Video device requirements
- Camera
- Optional
- Supported camera: Built-in or USB webcam
- Supported camera image format
- Raw image: YUV (I420, NV12), RGB
- Compressed image: Not supported
Permission required to access the camera device
NSCameraUsageDescription
key in your app’sInfo.plist
file
For more information, see Apple Developer documentation.
Windows
The following are requirements for developing Windows applications with PlanetKit.
Operating system requirements
- Windows 10 or higher
Audio device requirements
- Speaker
- Optional
- Supported speakers: Built-in, USB, or Bluetooth audio device
- Microphone
- Optional
- Supported microphones: Built-in, USB, or Bluetooth audio device
Video device requirements
- Camera
- Optional
- Supported camera: Built-in or USB webcam
- Supported camera image format
- Raw image: YUV (I420), RGB
- Compressed image: MJPEG
Web
The following are requirements for developing web applications with WebPlanetKit.
Browser compatibility
Audio device requirements
- Speaker
- Optional
- Supported speakers: Built-in, USB, or Bluetooth audio device
- Microphone
- Optional
- Supported microphones: Built-in, USB, or Bluetooth audio device
Video device requirements
- Camera
- Optional
- Supported camera: Built-in or USB webcam
For applications that use WebPlanetKit, a pop-up window is displayed when permission for microphone or camera access is required.
Flutter
Refer to the system requirements of the native platforms supported by PlanetKit for Flutter:
PlanetKit for Flutter does not currently support macOS, Windows, and web.