Guide
Tutoriel sur Contentsquare
Utilisation de @capgo/capacitor-contentsquare
Contrat de pont native interne mis en œuvre par Capacitor.
Installer
bun add @capgo/capacitor-contentsquare
bunx cap sync
Ce qu'il est exposé par ce plugin
optInoptOutsendScreenNamesendTransaction
Exemple d'utilisation
optIn
Voir les définitions upstream pour le contrat actuel.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optIn();
optOut
Voir les définitions upstream pour le contrat actuel.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optOut();
sendScreenName
Voir les définitions upstream pour le contrat actuel.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendScreenName({} as { name: string });
sendTransaction
Consultez les définitions upstream pour le contrat actuel.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendTransaction({} as TransactionItem);
Référence complète
- GitHub https://github.com/Cap-go/capacitor-contentsquare/
- Documentation : /docs/plugins/contentsquare/