- iOS: ✔️
- android: ✔️
- Setup environment for React Native development: https://reactnative.dev/docs/environment-setup
- Install Node.js v16
- Clone this repo
- Put your SQLite file in
./server
folder. Server requires for namemain.db
, but you can change path and file name in./server/index.mjs
- Install npm dependencies:
npm i
- Install web dependencies:
cd web && npm i && cd ..
- Install pods dependencies:
cd ios && pod install && cd ..
- Build iOS app:
npm run ios
- Build Android app:
npm run android
- Run server:
npm run server
- Open app in iPhone simulator / Android Emulator (if react-native didn't open it for you)
- When app will start first time, it will render only one button to load DB file. Loading progress you'll see in terminal. After loading ending, you'll probably be need to restart app in simualtor/emulator(
r
in terminal with metro process) - You can switch between webview and native view using checkbox on the top of the app
- In webview you can request tables list or send to React Native custom SQL. The result of the query should be immedeately appeared in WebView as a list of data
- In native view you can navigate between different tables and open any of them to theirs content