Guide
Contentsquare에 대한 튜토리얼
Contentsquare를 사용하는 방법: @capgo/capacitor-contentsquare
Capacitor에서 내부 네이티브 브리지 계약을 implement했습니다.
설치
bun add @capgo/capacitor-contentsquare
bunx cap sync
이 플러그인이 노출하는 것
optInoptOutsendScreenNamesendTransaction
예제 사용
optIn
__CAPGO_KEEP_0__에서 현재 계약에 대한 상위stream 정의를 참조하세요.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optIn();
optOut
__CAPGO_KEEP_0__에서 현재 계약에 대한 상위stream 정의를 참조하세요.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optOut();
sendScreenName
__CAPGO_KEEP_0__에서 현재 계약에 대한 상위stream 정의를 참조하세요.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendScreenName({} as { name: string });
sendTransaction
__CAPGO_KEEP_0__:
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendTransaction({} as TransactionItem);
Full Reference
- GitHub: https://github.com/Cap-go/capacitor-contentsquare/
- Docs: /docs/plugins/contentsquare/