I made this simple boilerplate to save some time for me in the future. Hope it will help you too.
Features:
-
Based on bare React Native (no expo)
-
Added React Hook Forms for UI elements
-
Configured React Navigation (nested navigators consist of Native Stack, Drawer and Bottom Tab)
-
Implemented redux store with persist (reduxjs/toolkit + react-redux + MMKV).
-
Basic authentication flow (shows 2 different navigators depending on Redux Store value)
To run app:
-
Run
yarn installfrom root of the project -
Then
cd iosand runpod install -
Go back to root folder by
cd .. -
Run
yarn iosfor iOS Simulator oryarn androidfor Android Emulator
If you encounter any problems running these commands, please make sure you went through all installation steps from React Native Getting Started page
