A simple trivia quiz app created in React Native.
To start the application on your local machine:
-
Clone the repository: git clone https://github.com/oljubuncic1/QuizApp.git
-
Position yourself in the root folder: cd QuizApp
-
Install the dependencies: npm install OR yarn install (You need to have node and npm/yarn installed)
-
Start the app:
4.1 Follow the instructions from this link: https://facebook.github.io/react-native/docs/getting-started.html You need to select the 'Buulding Projects with Native Code' and choose your operating system and desired platform
4.2 'After you have completed the setup from the previous link run react-native run-android' for android or 'react-native run-ios' for ios
To generate the apk file for android:
- Follow the instructions from this link: https://facebook.github.io/react-native/docs/signed-apk-android
There is a generated apk file in the 'android/app/build/outputs/apk/app-release.apk' that you can download and install on your android phone