Overview
The Ultimate React Native Starter is a mobile app template that allows users to build their own Instagram, WhatsApp, and chat marketplace clone. The template comes with several features including push notifications and code deployment integration. It is built with React Native, MobX, Firebase, CodePush, and OneSignal.
Features
- React Native: One language, JavaScript, one source code.
- MobX: Simple, scalable state management (easier than Redux).
- Firebase: Cloud-based database and storage service.
- CodePush: Push code updates to your apps instantly.
- OneSignal: Unlimited push notifications.
Installation
To install the app, the following prerequisites need to be met:
- Yarn (or npm) installed on your system.
- React Native installed on your system.
- Android SDK installed to run the app on Android devices.
- Xcode installed to test the app on iOS devices or simulator.
To build your own copy of the application, follow these steps:
- Clone the repository.
- Install all the dependencies.
- Set up Firebase (CodePush and OneSignal are optional).
- Login or Register at https://firebase.google.com/.
- Go to your Firebase console and create a new project.
- Click on “Add Firebase to your web app” and open the Firebase config file.
- Copy and paste your Firebase variables.
- Enable Email/Password Signup method for Firebase Auth.
- Copy and paste your Firebase rules.
- Ensure all the packages are linked to React Native.
- To run the app on an Android device, use the command
react-native run-androidand view the logs usingreact-native log-android. - To open the app on Xcode, you may need to add a Signing Team for MyApp and MyApptest.
- To run the app on an iOS simulator, use the command
react-native run-iosand view the logs usingreact-native log-ios. - Set up OneSignal for push notifications. Follow the instructions mentioned in https://medium.com/differential/react-native-push-notifications-with-onesignal-9db6a7d75e1e.
Summary
The Ultimate React Native Starter is a powerful mobile app template that provides developers with everything they need to create their own Instagram, WhatsApp, and chat marketplace clone. With features like push notifications, code deployment, and simple state management, it offers a convenient and efficient development experience. The installation process is straightforward, and the app can be easily customized to fit specific requirements.