📱 Inovando's template for react-native-cli
iOS | Android |
---|---|
- Initialize your RN project with this command:
react-native init AwesomeProject --template inovando
-
Delete
~/App.js
-
Duplicate
.env.example
to.env
and.env.production
fulfilling variables as needed -
Add these lines at
.gitignore
# Environment
.env
.env.production
- Done 🎉
For Reactotron debug in Android, run this command:
adb reverse tcp:9090 tcp:9090
- Go to "Open Network Preferences" > "Advanced..." > "DNS" Tab and add 8.8.8.8.
- Restart your AVD.
- It should work fine! 🎉
Inspect elements with React Devtools. Open the in-app developer menu and choose "Toggle Inspector" then click/press any element in your App, it will show up in React Devtools Window.
This command will also deploy to Yarn.
npm publish --access public