I. Demo
In this article I will make a demo to show you how to use the Boilerplate mentioned in Part 8: Building a Base Project (Boilerplate) for React Native . So this article I will write briefly so you can start reading the code right in the link below.
Github: https://github.com/oTranThanhNghia/SimpleAppReactNative1
1 2 |
$ git clone https://github.com/oTranThanhNghia/SimpleAppReactNative1.git |
Apk reduce redundant functions https://www.dropbox.com/s/ry1j3y3o1imijbl/NewsReactNative_2019_11_10.apk?dl=0
For iOS you have to build yourself because there is no apple developer account ($ 99 / year)
Note : I am using the service that provides free news api, so please go to https://newsapi.org to register your own account to run the application. Replace API_KEY at the code line:
- Develop: https://github.com/oTranThanhNghia/SimpleAppReactNative1/blob/24b41f5e1c4f9d805009b05b8f68147b260a74f2/app/config/environment/Develop.js#L5
- Production: https://github.com/oTranThanhNghia/SimpleAppReactNative1/blob/24b41f5e1c4f9d805009b05b8f68147b260a74f2/app/config/environment/Production.js#L5
- Staging: https://github.com/oTranThanhNghia/SimpleAppReactNative1/blob/24b41f5e1c4f9d805009b05b8f68147b260a74f2/app/config/environment/Staging.js#L4
The price list is as follows https://newsapi.org/pricing
1. Android