Skip to content

Commit

Permalink
force app update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Sep 8, 2023
1 parent 5a8bdb5 commit 412c365
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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 :
Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "api_mano",
"version": "1.283.6",
"mobileAppVersion": "2.36.2",
"mobileAppVersion": "2.37.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
5 changes: 2 additions & 3 deletions api/src/middleware/versionCheck.js
Original file line number Diff line number Diff line change
@@ -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();
Expand Down Expand Up @@ -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()}` }],
],
});
Expand Down
4 changes: 2 additions & 2 deletions app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
4 changes: 2 additions & 2 deletions app/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mano",
"version": "2.36.2",
"version": "2.37.0",
"private": true,
"scripts": {
"get-ip": "./get-ip.sh",
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 412c365

Please sign in to comment.