Richtlinie
Tutorial zu Contentsquare
Verwendung von @capgo/capacitor-contentsquare
Internes native-Bridge-Vertragsprotokoll implementiert durch Capacitor.
Installieren
bun add @capgo/capacitor-contentsquare
bunx cap sync
Was diese Erweiterung offenlegt
optInoptOutsendScreenNamesendTransaction
Beispiel für die Verwendung
optIn
Siehe die aufsteigenden Definitionen für das aktuelle Vertragsprotokoll.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optIn();
optOut
Siehe die aufsteigenden Definitionen für das aktuelle Vertragsprotokoll.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.optOut();
sendScreenName
Siehe die aufsteigenden Definitionen für das aktuelle Vertragsprotokoll.
import { Contentsquare } from '@capgo/capacitor-contentsquare';
await Contentsquare.sendScreenName({} as { name: string });
sendTransaction
Siehe die aufsteigenden Definitionen für das aktuelle Vertragsprotokoll.
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 Sie von Using @capgo/capacitor-contentsquare
Wenn Sie Using verwenden Using @capgo/capacitor-contentsquare um native Plugin-Arbeit zu planen, 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 Hinzufügen oder Aktualisieren von Plugins für die Implementierungsdetails in Hinzufügen oder Aktualisieren von Plugins.