From d38e3aebb53e49aca5bd24da34ebfe2209625c4d Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Wed, 4 Oct 2023 09:32:55 +0200 Subject: [PATCH] fix(app): MANO-APP-REACT-NATIVE-1S --- README.md | 2 +- api/package.json | 2 +- api/src/controllers/utils.js | 3 +-- app/android/app/build.gradle | 4 ++-- app/app.json | 4 ++-- app/package.json | 2 +- app/src/scenes/Persons/PersonSummary.js | 2 +- website/package.json | 2 +- 8 files changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 777f0aef2..77c267c34 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mano -![Mobile version](https://img.shields.io/badge/mobile%20app%20version-2.37.1-blue) +![Mobile version](https://img.shields.io/badge/mobile%20app%20version-2.37.2-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 dc1381d11..803952f4a 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { "name": "api_mano", "version": "1.284.28", - "mobileAppVersion": "2.37.1", + "mobileAppVersion": "2.37.2", "description": "", "main": "index.js", "scripts": { diff --git a/api/src/controllers/utils.js b/api/src/controllers/utils.js index 788fee6b7..fa0cdf225 100644 --- a/api/src/controllers/utils.js +++ b/api/src/controllers/utils.js @@ -29,8 +29,7 @@ router.get("/version", async (req, res) => { `La nouvelle version ${MOBILE_APP_VERSION} de Mano est disponible !`, `Vous avez la version ${req.headers.version} actuellement sur votre téléphone. Cette nouvelle version : -- Fix un bug lorsque vous appelez une section "Documents" -- Améliore le rapport d'erreur pour les développeurs, pour un meilleur support +- Fixe un bug qui fait parfois crasher l'application lors de la consultation d'un dossier `, [ { text: "Télécharger", 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 462ad7a35..e2d0a05ac 100644 --- a/app/android/app/build.gradle +++ b/app/android/app/build.gradle @@ -102,8 +102,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled true - versionCode 18 - versionName "2.37.1" + versionCode 19 + versionName "2.37.2" 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 dcd013a42..f3b641ad0 100644 --- a/app/app.json +++ b/app/app.json @@ -2,8 +2,8 @@ "name": "mano", "displayName": "Mano", "version": { - "buildNumber": 18, - "buildName": "2.37.1" + "buildNumber": 19, + "buildName": "2.37.2" }, "bundle": { "android": "com.mano", diff --git a/app/package.json b/app/package.json index ba55d62eb..23ebfafe0 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mano", - "version": "2.37.1", + "version": "2.37.2", "private": true, "scripts": { "get-ip": "./get-ip.sh", diff --git a/app/src/scenes/Persons/PersonSummary.js b/app/src/scenes/Persons/PersonSummary.js index 0a66e86a0..870e4a868 100644 --- a/app/src/scenes/Persons/PersonSummary.js +++ b/app/src/scenes/Persons/PersonSummary.js @@ -81,7 +81,7 @@ const PersonSummary = ({ }; const populatedPersons = useRecoilValue(itemsGroupedByPersonSelector); - const populatedPerson = useMemo(() => populatedPersons[personDB?._id] || {}, [populatedPersons, personDB._id]); + const populatedPerson = useMemo(() => populatedPersons[personDB?._id] || {}, [populatedPersons, personDB?._id]); const { actions, comments, rencontres, relsPersonPlace } = populatedPerson; const sortedActions = useMemo(() => [...(actions || [])].sort((p1, p2) => (p1.dueAt > p2.dueAt ? -1 : 1)), [actions]); diff --git a/website/package.json b/website/package.json index 88acb8219..228894f4a 100644 --- a/website/package.json +++ b/website/package.json @@ -1,7 +1,7 @@ { "name": "website", "version": "1.284.28", - "mobileAppVersion": "2.37.1", + "mobileAppVersion": "2.37.2", "private": true, "engines": { "npm": "please-use-yarn",