Crates.io | tauri-plugin-billing |
lib.rs | tauri-plugin-billing |
version | 0.1.4 |
created_at | 2025-02-11 11:32:06.804742+00 |
updated_at | 2025-09-04 19:23:14.761341+00 |
description | A Tauri plugin to access the Android billing SDK |
homepage | |
repository | |
max_upload_size | |
id | 1551301 |
size | 98,118 |
Handle one-time purchases using the Android Billing API
Platform | Supported |
---|---|
Linux | x |
Windows | x |
macOS | x |
Android | ✓ |
iOS | x |
[!IMPORTANT]
You will need at least version v2.2.5 of @tauri-apps/cli
To install this plugin, simply run the following command:
npx tauri add billing
npm add tauri-plugin-billing-api
# or
pnpm add tauri-plugin-billing-api
# or
yarn add tauri-plugin-billing-api
Cargo.toml
file:[dependencies]
tauri-plugin-billing = "0.1"
fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_billing::init())
.run(tauri::generate_context!())
.expect("error while running tauri application");
}