diff --git a/README.md b/README.md index 42e905a28..d2d4b41ba 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mano -![Mobile version](https://img.shields.io/badge/mobile%20app%20version-2.36.2-blue) +![Mobile version](https://img.shields.io/badge/mobile%20app%20version-2.37.0-blue) [![Maintainability](https://api.codeclimate.com/v1/badges/223e4185a3e13f1ef5d0/maintainability)](https://codeclimate.com/github/SocialGouv/mano/maintainability) Code source de [Mano](https://mano-app.fabrique.social.gouv.fr/), organisé en plusieurs services : diff --git a/api/package.json b/api/package.json index 5cb3a4c8b..bf5507b57 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { "name": "api_mano", "version": "1.283.6", - "mobileAppVersion": "2.36.2", + "mobileAppVersion": "2.37.0", "description": "", "main": "index.js", "scripts": { diff --git a/api/src/middleware/versionCheck.js b/api/src/middleware/versionCheck.js index 5625edbed..3f0b224fa 100644 --- a/api/src/middleware/versionCheck.js +++ b/api/src/middleware/versionCheck.js @@ -1,6 +1,6 @@ const { VERSION, MINIMUM_DASHBOARD_VERSION } = require("../config"); -const MINIMUM_MOBILE_APP_VERSION = [2, 35, 0]; +const MINIMUM_MOBILE_APP_VERSION = [2, 37, 0]; module.exports = ({ headers: { version, platform } }, res, next) => { if (platform === "website") return next(); @@ -28,8 +28,7 @@ module.exports = ({ headers: { version, platform } }, res, next) => { inAppMessage: [ `Veuillez mettre à jour votre application\u00A0!`, `Les fonctionnalités de cette nouvelle version sont\u00A0: -- Compatibilité avec les consultations par équipe -- Possibilité de rajouter des commentaires dans les consultations, les traitements et les dossiers médicaux`, +- Compatibilité de l 'historique des actions (seulement sur navigateur)`, [{ text: "Télécharger la dernière version", link: `https://mano-app.fabrique.social.gouv.fr/download?ts=${Date.now()}` }], ], }); diff --git a/app/android/app/build.gradle b/app/android/app/build.gradle index bf4eb3c5b..52bcf5e20 100644 --- a/app/android/app/build.gradle +++ b/app/android/app/build.gradle @@ -120,8 +120,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled true - versionCode 16 - versionName "2.36.2" + versionCode 17 + versionName "2.37.0" testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } diff --git a/app/app.json b/app/app.json index dd9d604fb..24b4efcc6 100644 --- a/app/app.json +++ b/app/app.json @@ -2,8 +2,8 @@ "name": "mano", "displayName": "Mano", "version": { - "buildNumber": 16, - "buildName": "2.36.2" + "buildNumber": 17, + "buildName": "2.37.0" }, "bundle": { "android": "com.mano", diff --git a/app/package.json b/app/package.json index c04e68d53..d06f8a2c6 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mano", - "version": "2.36.2", + "version": "2.37.0", "private": true, "scripts": { "get-ip": "./get-ip.sh", diff --git a/website/package.json b/website/package.json index 0b471e194..966c9863c 100644 --- a/website/package.json +++ b/website/package.json @@ -1,7 +1,7 @@ { "name": "website", "version": "1.283.6", - "mobileAppVersion": "2.36.2", + "mobileAppVersion": "2.37.0", "private": true, "engines": { "npm": "please-use-yarn",