...
Install Nodejs & Dependencies
Info | ||
---|---|---|
| ||
If you are using Mobile code version 1.4 or newer, you no longer need to install Nodejs & Dependencies. This step can be bypassed. |
- Firstly, download and install the latest Nodejs version from https://nodejs.org/
...
- Go to Client Area and download the Premium Mobile Code (in Zip format).
- Extract Zip file to MobileProject folder (We just use the folder name MobileProject for example. You can use another folder name but should update all following commands and paths accordingly)
Install Project Dependencies
Info | ||
---|---|---|
| ||
If you are using Mobile code version 1.4 or newer, you no longer need to install Nodejs & Dependencies. This step can be bypassed. |
Run the following command to install necessary dependencies on the project
Code Block |
---|
#install dependencies cd MobileProject/ yarn install |
...
These items will be used when distributing Android app to Google Play. They can be generated within Android Studio.
Run your Android app
RunNodejs
Info | ||
---|---|---|
| ||
If you are using Mobile code version 1.4 or newer, you no longer need to install Nodejs & Dependencies. This step can be bypassed. |
- Open Terminal, go to MobileProject folder
- Run the following command to start
Code Block |
---|
node ./server.js |
Run your Android app in Android Studio
- Start Android Studio and open Android project at MobileProject/android folder.
...
- Now you can start running your Android app in the simulator in Android Studio
...