Prerequisites
- Node >= 14.x
- Android Studio >= 4.x, Android SDK >= 29, Android NDK >= 20.1.5948944
- Xcode >= 13.0
- If you are using VSCode, please install these extensions to help you see the linting error whenever your code not match to a coding rules
Quick Start
git clone repo
npm install
cd ios
pod install
cd ..
npm run ios
# or
npm run android
Running application on device
IOS
- Run command
xcrun instruments -s devices
to list down simulator/device id connected to ur macbook
- Go to
package.json
and replace the device name react-native run-ios --device \"benson’s iPhone\"
to your own ios device name/id
- Configure code signing
npm run ios:device
Android
- Run command
adb devices
to list down connected android device
- Go to
package.json
and replace the deviceId react-native run-android --deviceId='ce031713232e683203'
to your own android deviceId
npm run android:device
FAQ
- Android - Getting 'The minCompileSdk (31) specified in a dependency's AAR metadata is greater than this module's compileSdkVersion (android-30)'