react-native-first-try
Was setting up React Native, ended up experimenting
Steps to run
- Install
react-native-cli
globally, by runningnpm install -g react-native-cli
. - Clone the repo. Do
npm install
inside it. - Connect phone (real) to the computer. Accept permissions.
- Make sure the phone connected by running
adb devices
in the terminal. A device should be added, in the success case. - Run
react-native start
, press "a" for Android. - "r" when the procees seems to have stopped. Keep pressing this if something gets stuck.
- The app should now be installed and running on the phone.
- Editing files should update the app now, automatically