Skip to content

Commit

Permalink
docs: fix required permission range
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun committed Mar 11, 2024
1 parent 9e30893 commit a7feb7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/pages/component/methods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ Notes:

- this method can not be used with encrypted video contents (with DRM)
- On Android API level 23 and below capture couldn't support Android `SurfaceView`. if you use SurfaceView, method will be throw an error (`useSurfaceView`, `useSecureView` and `drm` props are internally use SurfaceView).
- For Android API level 29+ you will need to request the [WRITE_EXTERNAL_STORAGE permission](https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE) manually using either the built-in react-native `PermissionsAndroid` APIs or a related module such as `react-native-permissions`
- Also you have to define below code within your `AndroidManifest.xml` file
- On Android API level 28 and below you will need to request the [WRITE_EXTERNAL_STORAGE permission](https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE) manually using either the built-in react-native `PermissionsAndroid` APIs or a related module such as `react-native-permissions`. also you have to define below code within your `AndroidManifest.xml` file

```xml
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Expand Down

0 comments on commit a7feb7e

Please sign in to comment.