-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Opt-out of scoped storage #5014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
f46f15e to
1919a66
Compare
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/12008.apk |
Codacy328Lint
SpotBugs (new)
SpotBugs (master)
|
Codecov Report
@@ Coverage Diff @@
## master #5014 +/- ##
===========================================
+ Coverage 17.57% 17.68% +0.1%
Complexity 3 3
===========================================
Files 385 385
Lines 32679 32679
Branches 4594 4594
===========================================
+ Hits 5743 5778 +35
+ Misses 26009 25970 -39
- Partials 927 931 +4
|
I did not had the time to look into scoped storages… |
8daa9a2 Merge pull request #5014 from nextcloud/android-10-scoped-storage-workaround 1919a66 Opt-out of scoped storage 1656f64 Merge pull request #5012 from nextcloud/darkThemePref 74ab9a0 Merge pull request #5013 from nextcloud/addLibCommit 0ad5785 add library commit hash for reproducable builds b065e9b fix dark theme preference for dev version: use different preference name 14a7493 [tx-robot] updated from transifex a6eb5dd [tx-robot] updated from transifex 669b269 daily dev 20191214

Fix denied access (throwing FileNotFoundExceptions) to "out of scoped storage" files.
https://developer.android.com/training/data-storage/compatibility
The Nextcloud android app needs to access any external storage in the case of a custom folder sync or external media file folders.
While I named the branch "-workaround", it looks like the app will never use scoped storage unless it implements some on-demand by path access permission (correct me if I'm wrong).