@capgo/capacitor-コンテンツクエアを使用します
Capacitorによって実装された内部ネイティブ ブリッジ コントラクトです
インストール
bun add @capgo/capacitor-contentsquare
bunx cap sync
このプラグインが公開するもの
optInoptOutsendScreenNamesendTransaction
例の使用方法
optIn
現在のコントラクトのアップストリーム定義を参照してください
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optIn();
optOut
現在のコントラクトのアップストリーム定義を参照してください
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optOut();
sendScreenName
現在のコントラクトのアップストリーム定義を参照してください
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendScreenName({} as { name: string });
sendTransaction
現在のコントラクトのアップストリーム定義を参照してください
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendTransaction({} as TransactionItem);
フル リファレンス
- GitHub: https://github.com/Cap-go/capacitor-contentsquare/
- ドキュメント: /docs/plugins/contentsquare/
Using @capgo/capacitor-contentsquare
Capgoを使用している場合 Using @capgo/capacitor-contentsquare Capgoを使用して、 @capgo/capacitor-contentsquare for the implementation detail in @capgo/capacitor-contentsquare, Capacitorプラグインの実装詳細を確認するにはCapacitorプラグインを参照してください。 Capgoプラグインディレクトリ Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, and __CAPGO_KEEP_0__ プラグイン __CAPGO_KEEP_1__ によって