Skip to content

Commit

Permalink
fix(app): MANO-APP-REACT-NATIVE-1S
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Oct 4, 2023
1 parent 3009f80 commit d38e3ae
Show file tree
Hide file tree
Showing 8 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.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 :
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.284.28",
"mobileAppVersion": "2.37.1",
"mobileAppVersion": "2.37.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions api/src/controllers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()}` },
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 @@ -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'
}
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": 18,
"buildName": "2.37.1"
"buildNumber": 19,
"buildName": "2.37.2"
},
"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.37.1",
"version": "2.37.2",
"private": true,
"scripts": {
"get-ip": "./get-ip.sh",
Expand Down
2 changes: 1 addition & 1 deletion app/src/scenes/Persons/PersonSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
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.284.28",
"mobileAppVersion": "2.37.1",
"mobileAppVersion": "2.37.2",
"private": true,
"engines": {
"npm": "please-use-yarn",
Expand Down

0 comments on commit d38e3ae

Please sign in to comment.