Skip to content

Mobile app for Axelor Business Suite

Notifications You must be signed in to change notification settings

axelor/axelor-mobile-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axelor Apps

⚠️ This application is no longer maintained. It is replaced by Axelor Open Mobile as of version 6.4.0 of Axelor Open Suite. ⚠️

About

Technologies

  • React as JS library for front-end.
  • Cordova as mobile framework.
  • Lerna as multi-package build tools.

Packages

  • web-client: Providing abstraction classes, interfaces and React HOC (Redux-connector) for manage models coming from AOP-like WebService.
  • web-client-adk: First implementation of web-client for AOP with basic models from AOS.
  • web-client-adk-module: Extension of web-client-adk.
  • web-ui: Main application build in React
    • web-ui/public_app: Cordova application

Install

npm install
npx lerna run prepublish
npx lerna bootstrap -- --legacy-peer-deps

Start

For start the project in development environment (react in browser), you can run:

cd packages/web-ui
npm start

If you have edited files in a web-client[-xxx] directory, you should rerun npx lerna run prepublish for apply change in web-ui.

Build

cd packages/web-ui
npm run build

Android

Requirements

  • Java 8
  • Gradle

Install

cd packages/web-ui/public_app
npm install
npx [email protected] platform add android

Build Android APK/App bundle

Before building Android APK, you should always build React application. All React files are build into packages/web-ui/public_app/www directory.

The following commands are used to create an APK. To create an aab file, please add -- --packageType=bundle at the end of the command.

Debug
cd packages/web-ui/public_app
npx [email protected] build android
Release
cd packages/web-ui/public_app
npx [email protected] build android --release

To sign APK or aab file, you need to add the keystore file and add a build.json file in packages/web-ui/public_app/ folder with the following props :

{
  "android": {
    "release": {
      "keystore": "***",
      "storePassword": "***",
      "alias": "***",
      "password": "***"
    }
  }
}

About

Mobile app for Axelor Business Suite

Resources

Stars

Watchers

Forks

Packages

No packages published