From 27a01f9f069fe4d53aafa7a79c2ae3b43cdab71e Mon Sep 17 00:00:00 2001 From: NyraSama Date: Mon, 17 Feb 2025 17:25:30 +0100 Subject: [PATCH] fix(readme): Change readme to handle force update feature --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d8e11e9..12a675a 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,17 @@ ENVIRONMENT="uat" The `BACKEND_URL` is the URL of the backend API and the `ENVIRONMENT` is the environment of the application. +## Deployment + +First you need to generate an app bundle, for that you just need to create a **pre-release** on the repository. It will trigger a github action that generate the release app bundle. It also generate the release apk to test. + +> Warning ! +> Make sure to do a **pre-release** before the validation of the app bundle by Google + +Next, you need to send the app bundle to the Google Play Console, for that follow the Bookstack documentation : _Mobilité/Android/Comment uploader une release sur Google Play Console_ + +In order to force XPEHO users to have the latest version of the app, we add to the app a check of the Github repository release latest version. So when a release is done and validated by Google, we need to switch the pre-release to a release on the repository to trigger the force update popup in XpeApp. + ## Xpeho UI This application use the android part of the ui library of XPEHO imported from its [own repository](https://github.com/XPEHO/xpeho_ui_android). @@ -77,7 +88,3 @@ The XPEHO SonarQube perform analysis each time changes are made to this director [XPEHO SonarQube](https://sonar.infra.xpeho.com) The configuration of the sonar analysis for this directory is defined in the [gradle file](./app/build.gradle). - -## Deployment - -Follow the Bookstack documentation : _Mobilité/Android/Comment uploader une release sur Google Play Console_