장치에서 테스트
다운로드한 __CAPGO_KEEP_0__ 앱을 열고 QR코드 __CAPGO_KEEP_1__를 스캔하세요.
Contentsquare 플러그인을 사용하는 방법 (@capgo/capacitor-contentsquare)
Capacitor에서 구현된 내부 네이티브 브리지 계약
설치
bun add @capgo/capacitor-contentsquare
bunx cap sync
이 플러그인이 제공하는 내용
optInoptOutsendScreenNamesendTransaction
예시 사용
optIn
현재 계약의 상위stream 정의를 참조하십시오.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optIn();
optOut
현재 계약의 상위stream 정의를 참조하십시오.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optOut();
sendScreenName
현재 계약의 상위stream 정의를 참조하십시오.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendScreenName({} as { name: string });
sendTransaction
현재 계약의 상위stream 정의를 참조하십시오.
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 을 사용하여 native 플러그인 작업을 계획하고, @capgo/capacitor-contentsquare for the implementation detail in @capgo/capacitor-contentsquare, Getting Started Getting Started Capgo Plugin Directory Capgo 제품 워크플로우에 대한 Capgo 플러그인 디렉토리 Capacitor Plugins by Capgo Capgo 플러그인에 대한 구현 세부 정보는 Capacitor 플러그인에 Capgo에 의해 제공됩니다. Capgo 플러그인 추가 또는 업데이트 Capgo 플러그인 추가 또는 업데이트에 대한 구현 세부 정보입니다.