@mathrunet/masamune_purchase
v3.8.2
Published
Masamune framework plugin package for performing mobile billing checks and managing subscriptions.
Maintainers
Readme
[GitHub] | [YouTube] | [Packages] | [X] | [LinkedIn] | [mathru.net]
Masamune framework plugin package for performing mobile billing checks and managing subscriptions.
Also, katana_functions_firebase can be used to execute server-side functions from methods defined on the client side, allowing for safe implementation.
Installation
Install the following packages
npm install @mathrunet/masamune_purchaseImplementation
Import the package as follows and pass the value of exports and the list of functions you wish to define to the deploy function.
import * as m from "@mathrunet/masamune_purchase";
// Define [m.Functions.xxxx] for the functions to be added to Functions.
//
// Functionsに追加する機能を[m.Functions.xxxx]を定義してください。
m.deploy(
exports,
[
// Function for Android subscription verification.
m.Functions.subscriptionVerifyAndroid,
// Function for iOS subscription verification.
m.Functions.subscriptionVerifyIOS,
],
);Functions passed to deploy are deployed to Cloud Functions for Firebase.
GitHub Sponsors
Sponsors are always welcome. Thank you for your support!
