This is a plugin to use in ESCPOS Thermal Printers.
This plugin uses the eco_print lib.
NOTE: FOR WHILE, JUST SUPPORTS BLE
-
Build the jni-utils-rs crate:
Use the following command to build the crate with Java support:cargo build --features=build-java-support --release
Copy the JAR file: After building, copy the jni-utils-0.1.1-SNAPSHOT.jar file from jni-utils-rs/target/release/java/libs to btleplug\src\droidplug\java\libs
-
Build the droidplug(btleplug crate) Acces the java folder in
btleplug\src\droidplug\java\
and run the command:.\gradlew build
Copy the droidplug-release.aar file to
android/libs