Guide
Tutoriel sur Contentsquare
Utilisation de @capgo/capacitor-contentsquare
Le contrat de pont natif interne est mis en œuvre par Capacitor.
Installer
bun add @capgo/capacitor-contentsquare
bunx cap sync
Ce que ce plugin expose
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
Voir 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/
Continuez à partir de l'utilisation de @capgo/capacitor-contentsquare
Si vous utilisez L'utilisation de @capgo/capacitor-contentsquare pour planifier le travail du plugin natif, connectez-l’avec @capgo/capacitor-contentsquare pour les détails d'implémentation dans @capgo/capacitor-contentsquare Prise en main pour les détails d'implémentation dans Prise en main Répertoire du plugin Capgo pour le flux de travail du produit dans Répertoire du plugin Capgo Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, and Ajouter ou Mettre à Jour les Plugins pour le détail d'implémentation dans Ajouter ou Mettre à Jour les Plugins.