@capgo/capacitor-contentsquare를 사용하여
Capacitor에서 내부 네이티브 브리지 계약이 implement되었습니다.
설치
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
See the upstream definitions for the current contract.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendScreenName({} as { name: string });
sendTransaction
See the upstream definitions for the current contract.
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/
Keep going from Using @capgo/capacitor-contentsquare
If you are using Using @capgo/capacitor-contentsquare to plan native plugin work, connect it with @capgo/capacitor-contentsquare for the implementation detail in @capgo/capacitor-contentsquare, 시작하기 시작하기의 구현 세부 정보에 대해 Capgo 플러그인 디렉토리 Capgo 플러그인 디렉토리의 제품 워크플로에 대해 Capacitor 플러그인들에 의해 Capgo Capacitor 플러그인들에 의해 Capgo의 구현 세부 정보에 대해, 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트의 구현 세부 정보에 대해