Anleitung
Tutorial zu Contentsquare
Verwendung von @capgo/capacitor-contentsquare
Internes Native-Bridge-Vertragskontrakt wird durch Capacitor implementiert.
Installieren
bun add @capgo/capacitor-contentsquare
bunx cap sync
Was dieses Plugin bereitstellt
optInoptOutsendScreenNamesendTransaction
Beispiel zur Verwendung
optIn
Siehe die aufsteigenden Definitionen für das aktuelle Vertragskontrakt.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optIn();
optOut
Siehe die aufsteigenden Definitionen für das aktuelle Vertragskontrakt.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optOut();
sendScreenName
Siehe die aufsteigenden Definitionen für das aktuelle Vertragskontrakt.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendScreenName({} as { name: string });
sendTransaction
Siehe die aufsteigenden Definitionen für das aktuelle Vertragskontrakt.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendTransaction({} as TransactionItem);
Vollständige Referenz
- GitHub: https://github.com/Cap-go/capacitor-contentsquare/
- Dokumentation: /docs/plugins/contentsquare/
Fortsetzen Sie mit der Verwendung von @capgo/capacitor-contentsquare
Wenn Sie die Verwendung von Die Verwendung von @capgo/capacitor-contentsquare um native Plugin-Arbeit zu planen, verbinden Sie es mit @capgo/capacitor-contentsquare zur Implementierungsdetail in @capgo/capacitor-contentsquare Zur Anleitung zur Implementierungsdetail in Zur Anleitung Capgo Plugin Directory für den Produktworkflow in Capgo Plugin Directory Capacitor Plugins von Capgo für die Implementierungsdetails in Capacitor Plugins von Capgo, und Hinzufügen oder Aktualisieren von Plugins für die Implementierungsdetails in Hinzufügen oder Aktualisieren von Plugins.