If this + CMake is installed, native libraries are correctly stripped, and then APK size is reduced.
If not installed, everything still works as we don't actually need to compile any native stuff.
If `ndkVersion` is not specified, then the default version for Android Gradle Plugin is expected,
and stripping will not work even if other NDK version is installed. So it's better to use a
specific version, to prevent it from stopping working in the future.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This makes it so that the folder loads even without granting storage permission, which is the expected behaviour now
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
- Allow users to choose between MANAGE_EXTERNAL_STORAGE (full access) and READ_EXTERNAL_STORAGE (media read-only) in sdk >=30, with a dialog
- If All Files is not available (activity to manage not present, or permission not in manifest), request READ_EXTERNAL_STORAGE instead
- Misc improvements to permission request in UploadFilesActivity and SyncedFoldersActivity
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Hide checkboxes and keep choose button enabled. The flow to select folders is to navigate into them and tap "Choose", as is typical in file browsers.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>