Commit 69b6f88
committed
chore(storage, android)!: remove EXTERNAL_STORAGE permissions for Android 10/11 compat
On Android the following paths exist in app.utils.paths but are inaccessible without special permission:
'EXTERNAL_DIRECTORY',
'EXTERNAL_STORAGE_DIRECTORY',
'PICTURES_DIRECTORY',
'MOVIES_DIRECTORY',
Please follow Google's migration guides for "Scoped Storage" to store your data in a future compatible way.
https://developer.android.com/about/versions/11/privacy/storage#scoped-storage
BREAKING CHANGE: if you need READ_EXTERNAL_STORAGE/WRITE_EXTERNAL_STORAGE permission add them in your app AndroidManifest.xml1 parent cf7b157 commit 69b6f88
File tree
2 files changed
+3
-3
lines changed- packages
- app/lib
- storage/android/src/main
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| |||
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
| 353 | + | |
352 | 354 | | |
353 | 355 | | |
354 | 356 | | |
| |||
358 | 360 | | |
359 | 361 | | |
360 | 362 | | |
| 363 | + | |
361 | 364 | | |
362 | 365 | | |
363 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 7 | | |
0 commit comments