@capgo/capacitor-contentsquareを使用
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
このプラグインを使用している場合 Using @capgo/capacitor-contentsquare ネイティブ プラグインの作業を計画する場合、@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-contentsquare @capgo/capacitor-contentsquare ネイティブ プラグインの実装詳細については、@capgo/capacitor-contentsquareを参照してください。 スタート スタートの実装詳細について Capgo プラグイン ディレクトリ Capgo プラグイン ディレクトリの製品ワークフローについて Capacitor プラグインズ by Capgo Capacitor プラグインズ by Capgo の実装詳細について プラグインの追加または更新 プラグインの追加または更新の実装詳細について