rfparty is a new way to see BLE
Based on Cordova and the bundler ParcelJS.
Clone this project and run the npm package installation command.
$ npm install
Once the components are installed, initialize the project via the init command:
$ npm run init
Add a platform to the project, like any cordova project.
$ npx cordova platform add android
The parcel.js
cordova script is plugged into the before_build
and before_run
hooks to start packaging before the build or run (config.xml
).
$ npx cordova run
Processing flow :
npm run build
>cordova run
The project comes with a static code analysis tool (eslint). To launch it, use the command:
$ npm run lint
To package without the sourcemaps and minify the code run the build command.
$ npm run build
If you don't want to minify the code (debug):
$ npm run build-dev
Basic Cordova run
command:
$ npx cordova run
In debug mode (not minified):
$ npx cordova run --dev
Note: .map
sourcemaps are not accessible from the device, only an unminified version is accessible in debug mode.
Basic Cordova build
command:
$ npx cordova build
Compile non minified:
$ npx cordova build --dev
Compile in release mode:
$ npx cordova build --release
$ npx cordova build android --buildConfig=build.json --release
- Buy it on Google Play
- Donate š¤²