Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Install Nodejs & Dependencies

Info
titleUpdate

If you are using Mobile code version 1.4 or newer, you no longer need to install Nodejs & Dependencies. This step can be bypassed.

 

...

  • 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
titleUpdate

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
titleUpdate

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

...