(DEPRECATED) react-native-ble-plx-sandbox
!! PLEASE USE react-native-ble-plx-mock-recorder instead !!
(this repo was only used temporarily during development)
Prerequisites:
- A Bluetooth device support the standard Battery Service
- An Android phone
- Setup your environment: https://reactnative.dev/docs/environment-setup
- Use bash
npm install
npm test
Debug in simulator or phone
Plug in phone, or else simulator will be used.
Terminal 1:
npm start
Terminal 2:
npm run android
Deploy app on phone
TBD
npm run android:log
Create app recorder project
- add permissions in android/app/src/main/AndroidManifest.xml
- configure package name in .env
Publish packages
npm test
# git commit && git push
# wait for CI to pass
npm run bump
npm run publish
# git commit && git push