-
Task
-
Resolution: Done
-
Blocker
-
4.3.0
-
-
MOODLE_403_STABLE
-
MOODLE_404_STABLE
-
Moodle Apps - 2024 i1.1
We kept the cordova-plugin-file plugin at version 6 a while ago because version 7 caused some problems in Android (errors storing and reading files).
Also, the cordova-plugin-media-capture plugin hasn't been updated either because it requires a newer version of cordova-plugin-file plugin.
We should try to update both plugins to the latest versions. I did a quick test and the app doesn't compile because the cordova-plugin-media-capture defines the WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE permissions with android:maxSdkVersion="32", while other cordova plugins don't have that sdk restriction and this causes conflicts in the manifest. I fixed this conflict manually (removing the sdk restriction) and then the app compiled, but the download of files still failed.
Also, we're currently using a fork of cordova-plugin-camera but it's no longer needed, we should use the official version again.
Shaping document: https://docs.google.com/document/d/1TV14-qUW7Z8goTfepiwwsU7juOOB_SPII1E_bu5X0ts/
- has to be done after
-
MOBILE-4357 Upgrade Cordova and Android SDK, cordova-android to 12 and cordova-ios to 7
- Closed
- will help resolve
-
MOBILE-4421 Deprecate Cordova camera plugin fork
- Closed