capacitor ble test with tinybuild to bundle the webapp. <100MB node dependencies if tinybuild is installed locally, otherwise it's about 10MB, not counting Android Studio or XCode
https://github.com/capacitor-community/bluetooth-le
npm i
Edit the index.js and optionally the index.html in the www/ folder. All public asset files need to end up in www/
If no tinybuild installed globally: npm i -g tinybuild or to keep it in dev dependencies npm i --save-dev tinybuild
Build:
tinybuild
npx cap copyornpx cap syncto sync the www/ dist to the platform-specific folders.npx cap open androidto open android studio ready to build and serve the apk.
Build the android project by click the Make Project hammer icon if it doesn't start automatically. Then if you see BUILD SUCCESSFUL, run with your android device connected or the built-in android emulators active.
npx cap copyornpx cap syncnpx cap open iosto open xcode ready to build and serve the app