Adjust SDK plugin for Capacitor
npm install adjust-capacitor-plugin
npx cap sync
initSDK(...)
trackEvent(...)
trackEventCallbackId(...)
trackRevenueEvent(...)
addSessionCallbackParameter(...)
addSessionPartnerParameter(...)
getAdid()
showTrackingDialog()
getTrackingStatus()
getIDFA()
- Type Aliases
initSDK(options: AdjustInit) => void
Param | Type |
---|---|
options |
AdjustInit |
trackEvent(event: AdjustEvent) => void
Param | Type |
---|---|
event |
AdjustEvent |
trackEventCallbackId(event: AdjustCallbackId) => void
Param | Type |
---|---|
event |
AdjustCallbackId |
trackRevenueEvent(event: AdjustRevenue) => void
Param | Type |
---|---|
event |
AdjustRevenue |
addSessionCallbackParameter(options: AdjustSessionOptions) => void
Param | Type |
---|---|
options |
AdjustSessionOptions |
addSessionPartnerParameter(options: AdjustSessionOptions) => void
Param | Type |
---|---|
options |
AdjustSessionOptions |
getAdid() => Promise<AdjustAdidResponse>
Returns: Promise<AdjustAdidResponse>
showTrackingDialog() => Promise<AdjustTrackingStatusResponse>
Returns: Promise<AdjustTrackingStatusResponse>
getTrackingStatus() => Promise<AdjustTrackingStatusResponse>
Returns: Promise<AdjustTrackingStatusResponse>
getIDFA() => Promise<AdjustIdfaResponse>
Returns: Promise<AdjustIdfaResponse>
{ appToken: string; environment?: AdjustEnvironment; logLevel?: AdjustLogLevel; }
'production' | 'sandbox'
'none' | 'error' | 'warning' | 'info' | 'verbose'
{ eventToken: string; callbackParams?: Record<string, string>; }
Construct a type with a set of properties K of type T
{
[P in K]: T;
}
{ eventToken: string; id: string; }
{ eventToken: string; currency: string; amount: number; orderId?: string; }
{ key: string; value: string; }
{ id: string; }
{ status: AdjustTrackingAuthorizationStatus; }
0 | 1 | 2 | 3 | -1
{ id: string; }