In this project we are using the endpoints from the https://github.com/remotive-io/remote-jobs-api to display a list to remote jobs in react native.
Initial to set up the application you do need to install node and yarn in your local system.
Navigate to the root repository. To install the package run the following command
yarn install
Now you can start the project.
To start the application you should either have to connect your android mobile to PC and should have abd installed in the system. Or You can run the application in Emulator.
yarn android
You can build the apk which is bundled by follow steps.
Run following the command in the root directory. By this it will the bundler by which you need not need to have the metro server running to run the application. This file will be produced in the android/app/src/main/assets/index.android.bundle
yarn android:debugBundle
And then you need to navigate to the android directory by using the command
cd android
And then you can build the bundled apk by following command. This will the apk in following relative path android\app\build\outputs\apk\debug\app-debug.apk
./gradlew assembleDebug
To start the application in the ios you need to have macOS system. And to stepup system you can step mentioned in the React native documention. You run application in the simultor by running the following command
yarn ios