Skip to content

Commit 1a55afc

Browse files
authored
Update README with instructions to allow all files access (#11)
1 parent 9859878 commit 1a55afc

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,41 @@ This template includes 1 example plugin.
1717
- Windows: `.\gradlew.bat ExampleProvider:make` or `.\gradlew.bat ExampleProvider:deployWithAdb`
1818
- Linux & Mac: `./gradlew ExampleProvider:make` or `./gradlew ExampleProvider:deployWithAdb`
1919

20+
21+
## Granting All Files Access on Newer Android Devices
22+
23+
For local plugin testing, you need to grant the app "All Files Access" on newer Android devices (Android 11 and above). Here’s how to do it:
24+
25+
### Using ADB
26+
27+
* `adb shell appops set --uid PACKAGE_NAME MANAGE_EXTERNAL_STORAGE allow`
28+
* Replace `PACKAGE_NAME` with the name of the package for the Cloudstream3 version you are using:
29+
- debug: `com.lagradost.cloudstream3.prerelease.debug`
30+
- prerelease: `com.lagradost.cloudstream3.prerelease`
31+
- stable: `com.lagradost.cloudstream3`
32+
33+
### Manually
34+
35+
1. **Open Settings**: Go to your device’s Settings menu.
36+
37+
2. **Navigate to Special Access**:
38+
- Tap on "Apps & notifications" or "Apps".
39+
- Select "Special app access" or "Special access".
40+
41+
3. **Select All Files Access**:
42+
- Tap on "All files access".
43+
- It may be under the three vertical dots menu towards the top of the screen.
44+
45+
4. **Grant Access to the App**: Find the app in the list and tap on it to toggle it, if it is not already enabled.
46+
47+
6. **Restart the App**: Close and reopen the app to apply the changes.
48+
49+
2050
## License
2151

2252
Everything in this repo is released into the public domain. You may use it however you want with no conditions whatsoever
2353

54+
2455
## Attribution
2556

2657
This template as well as the gradle plugin and the whole plugin system is **heavily** based on [Aliucord](https://github.com/Aliucord).

0 commit comments

Comments
 (0)