Skip to content

Commit 1957633

Browse files
committed
Add permissions requirements to Readme
1 parent 5cd5763 commit 1957633

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,26 @@ pm install @whiteguru/capacitor-plugin-video-editor@^3.0.1
2323
npx cap sync
2424
```
2525

26+
## Android
27+
28+
This API requires the following permissions be added to your `AndroidManifest.xml`:
29+
30+
```xml
31+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
32+
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
33+
```
34+
35+
You can also specify those permissions only for the Android versions where they will be requested:
36+
37+
```xml
38+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>
39+
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
40+
```
41+
42+
The storage permissions are for reading video files.
43+
44+
Read about [Setting Permissions](https://capacitorjs.com/docs/android/configuration#setting-permissions) in the [Android Guide](https://capacitorjs.com/docs/android) for more information on setting Android permissions.
45+
2646
## API
2747

2848
<docgen-index>

0 commit comments

Comments
 (0)