React Native Starter Kit
Features
Feature | Summary |
---|---|
Redux | A predictable state container - Helping you write applications that behave consistently and run in different environments. |
Sidebar/Hamburger Menu | ... |
Google Analytics | Shows how to track screen views (includes both a 'debug' mode tracker as well as 'release' mode so that data doesn't get obfuscated). |
Custom Navbar | ... |
Icons | Easily use icons from a wide range of icon libraries, it's as simple as importing the icon font and then <Icon name={'ios-alert-outline'} size={50} color={"#CCC"} /> . |
Form Validation | An example on how to create forms with validation. |
Data persistence | Shows how to persist data, even after closing/reopening the app. |
Style Guide | A bunch of elements and components to get you started - styled headings, buttons, list rows, alerts etc. |
An example directory/file structure I've found useful for scaling apps | ... |
Screenshots
Getting Started
- Ensure you've followed the React Native - Get Started Guide for the platform/s of choice
- Clone this project
- Run
npm install
from root directory
Testing
npm run test
Quick Tips
Function | iOS | Android |
---|---|---|
Testing project in an emulator |
|
|
Running on Device | iOS Guide | Android Guide |
Opening the Debug Menu | CMD + D | CMD + M |
Reload | CMD + R | Double tap R on your keyboard |
App Icons I use this tool to generate | /ios/StarterKit/Images.xcassets/AppIcon.appiconset | /android/app/src/main/res/mipmap-*/ic_launcher.png |
Any advice?
Love to hear any feedback or tips to improve - submit an issue or PR.