0.2.0 • Published 3 years ago

@joinflux/capacitor-adjust v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Capacitor Adjust Plugin

Capacitor plugin for Native Adjust integration with support for Web, Android and iOS.

Maintainers

MaintainerGitHub
Blake WardNevvulo
Gustavo Horischgugahoi

Installation

npm install @joinflux/capacitor-adjust

Sync native files:

npx cap sync

Configuration

No configuration is required for this plugin.

Supported methods

NameAndroidiOSWeb
start
trackEvent
addSessionCallbackParameter
showTrackingDialog
<!--Icons for future user: ✅❌ -->

Usage

// Must import the package once to make sure web support initializes
import "@joinflux/capacitor-adjust";
import { Plugins } from "@capacitor/core";
const { CapacitorAdjust } = Plugins;

CapacitorAdjust.start({ appToken })
CapacitorAdjust.trackEvent({ eventId })

AppTrackingTransparency (ATT)

To get ATT working in your app, you must add the AppTrackingTransparency.framework to your Xcode project. You can follow the recommandations from Adjust's iOS SDK and consume the methods exposed in this package.

For more information: https://github.com/adjust/ios_sdk#apptrackingtransparency-framework