A React Native mobile app sample which demonstrates pulling a list of data from API and display the data as a list of Cards. The sample is taken from Udemy's "The Complete React Native & Redux" course, created by Stephen Grider.
-
yarn.
-
XCode.
- Clone this repository:
git clone https://github.com/WendySanarwanto/react-native-albums.git
Change current directory to the cloned repo's directory.
-
Run
yarn
to install all required dependency. -
Run
cd android/app && keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 && cd ../..
for creating required developer certificate.
-
Run the Android Simulator from Android Studio.
-
Once the Android Simulator is running & ready, run
react-native run-android
command to build, install and run the app on the Android simulator.
-
Ensure that your Android Phone's developer mode is enabled & activated.
-
Connect your Phone with the development machine using USB Cable.
-
Run
adb devices -l
command, to confirm that the Phone is already connected and has device id. Make note the device id. -
Run
react-native run-android --deviceId <phone id you noted in prior step>
command to build, install and run the app on your connected android phone.
TODO: Add the steps here
TODO: Add the steps here