#tauri-plugin #plugin #sdk #tauri-plugin-billing

sys tauri-plugin-billing

A Tauri plugin to access the Android billing SDK

4 releases

0.1.3 Feb 11, 2025
0.1.2 Feb 11, 2025
0.1.1 Feb 11, 2025
0.1.0 Feb 11, 2025

#818 in GUI

Download history 193/week @ 2025-02-09 40/week @ 2025-02-16

75 downloads per month

MIT license

60KB
475 lines

Barcode Scanner

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 billing

Manual

  1. Install the npm package:
npm add tauri-plugin-billing-api
# or
pnpm add tauri-plugin-billing-api
# or
yarn add tauri-plugin-billing-api
  1. Install the Core plugin by adding the following to your Cargo.toml file:
[dependencies]
tauri-plugin-billing = "0.1"
  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");
}

Dependencies

~18–53MB
~851K SLoC