React Native client for ditto assistant. Works by connecting to nlp_server.
- Navigate:
cd ditto/
- run
npm install
- rename
ditto/modules/example_config.js
toditto/modules/config.js
and fill out nlp_server's ip, port and username.
- Navigate:
cd ditto/
- run
npx react-native run-android
after starting Android Studio Emulator or plugging in Androud device with USB Debugging mode on.
- Run the React Native build command for Android:
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
- Navigate:
cd android/
- Run:
gradlew assembleDebug
- Build location:
ditto/android/app/build/outputs/apk/debug/app-debug.apk
- :D