we will use the SQLite3 Native Plugin which will work in both Android and iOS. It is based on the Cordova SQLite plugin.
Download Node js https://nodejs.org/en/download/
Can make a React Native project.you can use npm to install the react-native-cli command line utility. Open windows cmd commands
npm install -g react-native-cli
Create a new React Native project
react-native init ContactList
You want to start a new project with a specific React Native version
react-native init ContactList --version X.XX.X
react-native init ContactList --version react-native@next
To install the dependencies jump into your project
cd ContactList
Dependency to use SQLite
npm install react-native-sqlite-storage --save
Dependencies for react-navigation
npm install @react-navigation/native --save
npm install @react-navigation/stack --save
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view --save
1 - Edit App.js
2 - Download Pages folder
Go to your ContactList -> Android -> Create a file local.properties Such as : paste your Android SDK path
sdk.dir = C:\\Users\\USERNAME\\AppData\\Local\\Android\\sdk
sdk.dir = /Users/USERNAME/Library/Android/sdk
sdk.dir = /home/USERNAME/Android/Sdk
Create folder ContactList/android/app/src/main/assets
run react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
react-native run-android
react-native run-ios
run react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res