@cakioe/tauri-plugin-board v1.7.6
Tauri Plugin board
This is a vending machine development board of kits for Tauri, utilizing Java or Kotlin for development.
support development board model
- ZC-* All with Android 11.0+
Setting Up Your Tauri Plugin
Follow these steps to set up the Tauri API for your Android plugin:
# Navigate to the android folder of your plugin
cd android
# Create the tauri-api path
mkdir -p .tauri/tauri-api
# Clone the Tauri repository
git clone https://github.com/tauri-apps/tauri
# Copy the mobile API from the repository to the created path
cp -r tauri/core/tauri/mobile/android/. .tauri/tauri-api
# Remove the cloned Tauri repository
rm -rf tauri
Signature Plugins
You can utilize the following signature plugins:
Language | Plugin Link |
---|---|
Kotlin | Signature for Kotlin |
JavaScript | Signature for JavaScript |
Go | Signature for Go |
Rust | Signature for Rust |
Storage Configuration
To save data in a JSON format, you can use the following code snippet:
File(this.applicationContext.getExternalFilesDir(null), "xxx.json").writeText(Gson().toJson(payload))
Generating SQLDelight Interface
To generate the SQLDelight interface, run the following command:
./gradlew generateSqlDelightInterface
To pull the database file from your Android device, use:
adb pull /sdcard/xxx/files/xxx.db ./
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago