This repository contains the code base for the PRIMAVERA V10 Mobile (Android and IOS) applications.
-
Install Ionic CLI:
npm install -g ionic
-
Clone this repository
git clone https://github.com/PrimaverabssDeveloper/ERP10Mobile.git
-
Navigate to the ERP10Mobile directory:
cd ERP10Mobile
-
Install the dependencies
npm install
-
Application Client Id.
To create your application and client id go to PRIMAVERA APP Developers. OAuth Flow must be PKCE (Proof Key for Code Exchange).
For more information on OAuth flows check OAuth 2.0 Flows.
-
Go to
src
directory and create a file with nameauthentication-settings.json
and content:{ "clientId":"your-pkce-client-id" }
-
Start the app in the browser (Google Chrome)
ionic serve
There are scripts to deploy to mobile devices but aditional steps maybe necessary, depending on your system configuration. Please check the Ionic Frameword Documentation
Android mobile device deploy scripts npm run android-deploy
or npm run android-debug
.
IOS mobile device deploy scripts npm run ios-run
or ios-run-debug