0.0.26 • Published 2 years ago
capacitor-plugin-segment-appsflyer v0.0.26
capacitor-plugin-segment-appsflyer
Integration appsflyer
Install
npm install capacitor-plugin-segment-appsflyer
npx cap sync
API
echo(...)
addListener('conversion_callback', ...)
addListener('oaoa_callback', ...)
addListener('udl_callback', ...)
initialize(...)
identify(...)
track(...)
trackPage(...)
- Interfaces
- Type Aliases
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options | { value: string; } |
Returns: Promise<{ value: string; }>
addListener('conversion_callback', ...)
addListener(eventName: 'conversion_callback', listenerFunc: (event: OnConversionDataResult) => void) => PluginListenerHandle
Param | Type |
---|---|
eventName | 'conversion_callback' |
listenerFunc | (event: OnConversionDataResult) => void |
Returns: PluginListenerHandle
addListener('oaoa_callback', ...)
addListener(eventName: 'oaoa_callback', listenerFunc: (event: OnAppOpenAttribution) => void) => PluginListenerHandle
Param | Type |
---|---|
eventName | 'oaoa_callback' |
listenerFunc | (event: OnAppOpenAttribution) => void |
Returns: PluginListenerHandle
addListener('udl_callback', ...)
addListener(eventName: 'udl_callback', listenerFunc: (event: OnDeepLink) => void) => PluginListenerHandle
Param | Type |
---|---|
eventName | 'udl_callback' |
listenerFunc | (event: OnDeepLink) => void |
Returns: PluginListenerHandle
initialize(...)
initialize(options: { writeKey: string; isDebug?: boolean; waitForATTUserAuthorization?: number; trackLifecycleEvents?: boolean; }) => Promise<void>
Param | Type |
---|---|
options | { writeKey: string; isDebug?: boolean; waitForATTUserAuthorization?: number; trackLifecycleEvents?: boolean; } |
identify(...)
identify(options: { userId: string; traits?: Record<string, unknown>; }) => Promise<void>
Param | Type |
---|---|
options | { userId: string; traits?: Record<string, unknown>; } |
track(...)
track(options: { eventName: string; properties: Record<string, unknown>; }) => Promise<void>
Param | Type |
---|---|
options | { eventName: string; properties: Record<string, unknown>; } |
trackPage(...)
trackPage(options: { eventName: string; properties: Record<string, unknown>; }) => Promise<void>
Param | Type |
---|---|
options | { eventName: string; properties: Record<string, unknown>; } |
Interfaces
PluginListenerHandle
Prop | Type |
---|---|
remove | () => Promise<void> |
OnConversionDataResult
Prop | Type |
---|---|
callbackName | string |
errorMessage | string |
data | any |
OnAppOpenAttribution
Prop | Type |
---|---|
callbackName | string |
errorMessage | string |
data | any |
OnDeepLink
Prop | Type |
---|---|
status | string |
error | string |
deepLink | any |
Type Aliases
Record
Construct a type with a set of properties K of type T
{
}
0.0.26
2 years ago
0.0.25
2 years ago
0.0.24
2 years ago
0.0.23
2 years ago
0.0.22
2 years ago
0.0.21
2 years ago
0.0.20
2 years ago
0.0.19
2 years ago
0.0.18
2 years ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago