The TriviaGameNativescript is an example project written in NativeScript. In this repository, we are using NativeScript with Angular so you will need to be familiar with the second one and also with Typescript at least at the basic level. Be sure that you read our step-by-step guide: Creating a mobile app in NativeScript - part 1 Stay tuned for next parts!
The NativeScript CLI is the command-line interface for interacting with NativeScript. We will use it during the whole process of developing our project - starting from creating an app, through debuging, and ending at running emulators. Installing Nativescript CLI usually comes down to run one command in the terminal:
npm install -g [email protected]
If you’ll meet any problems, check the official documentation where you’ll find a detailed description of the set-up process. You will also find there a step-by-step guide about preparing an environment for your operating system and install particular phone emulators which is useful in case it’s the first mobile app.
If you are curious about the final result, you can jump directly to the end and test it locally.
git clone -b step5 https://github.com/merixstudio/TriviaGameNativescript.git
cd TriviaGameNativescript
npm install
You are ready to run the app. Use one of the following command, depending on the device you want to use:
tns run ios -—bundle --emulator
tns run android —-bundle --emulator
If you have suggestions for new features or find a bug, please use the issue tracker.