The Quai Mobile Development Kit (MDK) is a feature driven architecture starter project with a Quai and QI wallet and payment rails to enable rapid POC and MVP development of your mobile application. This project is configured with redux, redux saga and redux persist. Uses latest version of react-navigation.
This Type based Architecture scales smoothly for different sized apps using feature based architecture.
- Typescript support.
- React Hooks
- React Navigation with Authentication flow baked in & theming support.
- React Native Gesture Handler
- Redux with hooks support
- Redux Saga
- Redux Persist
- Jest
- Eslint (Airbnb config)
- Node v18+ (it is recommended to install it via NVM)
- Yarn
- A development machine set up for React Native by following these instructions
-
Clone this repo,
git clone https://https://github.com/dominant-strategies/quai-mobile-development-kit.git <your project name>
-
Go to project's root directory,
cd <your project name>
-
Remove
.git
folder,rm -rf .git
-
Use React Native Rename to update project name
$ npx react-native-rename <newName>
-
Run
yarn
to install dependencies andcd ios
thenpod install
-
For IOS, build the app in XCode, Start the packager with
yarn start
-
Connect a mobile device to your development machine
-
Run the application:
- On Android:
- Run
react-native run-android
or Use Android Studio (Recommended)
- Run
- On iOS:
- Open
ios/YourReactProject.xcworkspace
in Xcode - Hit
Run
after selecting the desired device
- Open
- Happy Coding with Quai Mobile Development Kit!
PRs are welcome!