#board #tauri #tauri-plugin #machine #kotlin #android #mobile

sys tauri-plugin-board

vending machine development board of kits for tauri, use kotlin

28 releases (stable)

1.7.2 Sep 27, 2024
1.7.1 Sep 25, 2024
1.7.0-beta.2 Aug 29, 2024
1.0.5 Jul 22, 2024
1.0.1 Jun 7, 2024

#1068 in GUI

Download history 1/week @ 2024-06-16 439/week @ 2024-07-21 230/week @ 2024-07-28 603/week @ 2024-08-04 247/week @ 2024-08-11 517/week @ 2024-08-18 587/week @ 2024-08-25 26/week @ 2024-09-01 239/week @ 2024-09-15 309/week @ 2024-09-22 419/week @ 2024-09-29

967 downloads per month

MIT license

255KB
2K SLoC

Kotlin 1.5K SLoC // 0.2% comments TypeScript 265 SLoC // 0.6% comments Rust 136 SLoC // 0.0% comments Batch 71 SLoC JavaScript 54 SLoC Prolog 29 SLoC

Contains (ELF lib, 125KB) libserial_port.so, (ELF lib, 34KB) android/libs/arm64-v8a/libserial_port.so, (JAR file, 63KB) android/libs/usdk_v120601.jar, (JAR file, 9KB) android/libs/signature-1.0.8.jar, (JAR file, 6KB) android/libs/zckjAPI-2.2.jar

Tauri Plugin board

vending machine development board of kits for tauri, use java or kotlin

main development board model

zc-328, zc-356 etc

# Go into the android folder of your plugin and create the tauri-api path
$ cd android
$ mkdir -p .tauri/tauri-api
# Clone the api from the tauri repo
$ git clone https://github.com/tauri-apps/tauri
# Copy the mobile api from the repo to the created path
$ cp -r tauri/core/tauri/mobile/android/. .tauri/tauri-api
# Remove the tauri repo
$ rm -rf tauri

signature plugin

storage config

File(this.applicationContext.getExternalFilesDir(null), "xxx.json").writeText(Gson().toJson(payload))

generate SqlDelight Interface

sudo ./gradlew generateSqlDelightInterface

adb pull /sdcard/xxx/files/xxx.db ./

Dependencies

~18–59MB
~1M SLoC