MOBILE-3961 config: Update versioncode to match native value

main
Dani Palou 2022-01-19 13:37:35 +01:00
parent 997b38011a
commit 1a0bd92efc
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ {
"app_id": "com.moodle.moodlemobile", "app_id": "com.moodle.moodlemobile",
"appname": "Moodle Mobile", "appname": "Moodle Mobile",
"versioncode": 4000, "versioncode": 40000,
"versionname": "4.0.0-dev", "versionname": "4.0.0-dev",
"cache_update_frequency_usually": 420000, "cache_update_frequency_usually": 420000,
"cache_update_frequency_often": 1200000, "cache_update_frequency_often": 1200000,

View File

@ -3,6 +3,7 @@ information provided here is intended especially for developers.
=== 4.0.0 === === 4.0.0 ===
- The versioncode in moodle.config.json has changed from 4 digits to 5 digits to match the actual value for the stores: the 4.0.0 version's versioncode is now 40000 instead of 4000. If you maintain a Moodle plugin with mobile support and you use the versioncode that is sent in every request, you might need to check if this change will affect your code.
- The parameters of the functions confirmAndPrefetchCourse and confirmAndPrefetchCourses have changed, they now accept an object with options. - The parameters of the functions confirmAndPrefetchCourse and confirmAndPrefetchCourses have changed, they now accept an object with options.
- Component core-navigation-bar changed to add an slider inside. previous, previousTitle, next, nextTitle, info and title have been removed. - Component core-navigation-bar changed to add an slider inside. previous, previousTitle, next, nextTitle, info and title have been removed.
Now you have to pass all items and 3 optional params have been added. Now you have to pass all items and 3 optional params have been added.