Skip to content

inovando/react-native-template-inovando

Repository files navigation

react-native-template-inovando

📱 Inovando's template for react-native-cli

NPM version code style: prettier

Package Main Techs

Preview

iOS Android
Template iOS Preview Template Android Preview

Usage

  1. Initialize your RN project with this command:
react-native init AwesomeProject --template inovando
  1. Delete ~/App.js

  2. Duplicate .env.example to .env and .env.production fulfilling variables as needed

  3. Add these lines at .gitignore

# Environment
.env
.env.production
  1. Done 🎉

Android

For Reactotron debug in Android, run this command:

adb reverse tcp:9090 tcp:9090

MacOS "Network Error"

  1. Go to "Open Network Preferences" > "Advanced..." > "DNS" Tab and add 8.8.8.8.

Mac DNS 8.8.8.8 network config to prevent error in AVD

  1. Restart your AVD.

Android restar AVD

  1. It should work fine! 🎉

Scripts

yarn react-devtools

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.

Read More

Deploy

This command will also deploy to Yarn.

npm publish --access public

Features