tauri-plugin-billing-api
v0.1.4
Published
A Tauri plugin to access the Android billing SDK
Readme

Handle one-time purchases using the Android Billing API
| Platform | Supported | | -------- | --------- | | Linux | x | | Windows | x | | macOS | x | | Android | ✓ | | iOS | x |
Install
Automatic
[!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 billingManual
- Install the npm package:
npm add tauri-plugin-billing-api
# or
pnpm add tauri-plugin-billing-api
# or
yarn add tauri-plugin-billing-api- Install the Core plugin by adding the following to your
Cargo.tomlfile:
[dependencies]
tauri-plugin-billing = "0.1"- Add the initialisation code:
fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_billing::init())
.run(tauri::generate_context!())
.expect("error while running tauri application");
}