Verwenden Sie @capgo/capacitor-contentsquare
Capacitor implementiert den internen native-Bridge-Vertrag.
Installieren
bun add @capgo/capacitor-contentsquare
bunx cap sync
Was dieses Plugin bereitstellt
optInoptOutsendScreenNamesendTransaction
Beispiel für die Verwendung
optIn
Siehe die aufsteigenden Definitionen für den aktuellen Vertrag.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optIn();
optOut
Siehe die aufsteigenden Definitionen für den aktuellen Vertrag.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optOut();
sendScreenName
Siehe die aufsteigenden Definitionen für den aktuellen Vertrag.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendScreenName({} as { name: string });
sendTransaction
Siehe die aufsteigenden Definitionen für den aktuellen Vertrag.
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/
Weitermachen von Using @capgo/capacitor-contentsquare
Wenn Sie Using @capgo/capacitor-contentsquare für die Planung von native Plugin-Arbeit, verbinden Sie es mit @capgo/capacitor-contentsquare für die Implementierungsdetails in @capgo/capacitor-contentsquare, Einstieg für die Implementierungsdetails in Einstieg, Capgo Plugin-Verzeichnis für den Produktworkflow in Capgo Plugin-Verzeichnis, Capacitor Plugins von Capgo für die Implementierungsdetails in Capacitor Plugins von Capgo, und Plugins hinzufügen oder aktualisieren für die Implementierungsdetails in Plugins hinzufügen oder aktualisieren.