appsflyer-capacitor-plugin
Advanced tools
Comparing version 6.3.5 to 6.4.0
@@ -12,2 +12,3 @@ export interface AFInit { | ||
minTimeBetweenSessions?: number; | ||
deepLinkTimeout?: number; | ||
} | ||
@@ -61,2 +62,19 @@ export interface AFEvent { | ||
} | ||
export interface AFPromotion { | ||
appID: string; | ||
campaign: string; | ||
parameters: StringMap; | ||
} | ||
export interface AFLatLng { | ||
latitude: number; | ||
longitude: number; | ||
} | ||
export interface AFPartnerData { | ||
data: any; | ||
partnerId: string; | ||
} | ||
export interface AFLogInvite { | ||
eventParameters: StringMap; | ||
channel: string; | ||
} | ||
export interface AFLink { | ||
@@ -95,2 +113,6 @@ link: string; | ||
} | ||
export interface AFEmails { | ||
emails: string[]; | ||
encode?: boolean; | ||
} | ||
export interface AFStop { | ||
@@ -120,2 +142,5 @@ stop: boolean; | ||
} | ||
export interface AFPhone { | ||
phone: string; | ||
} | ||
export interface AFHost { | ||
@@ -122,0 +147,0 @@ hostPrefixName: string; |
import type { PluginListenerHandle } from "@capacitor/core"; | ||
import type { AFConstants } from "./Appsflyer_constants"; | ||
import type { AFAndroidInAppPurchase, AFAnonymizeUser, AFAppendToDeepLink, AFCuid, AFCurrency, AFData, AFDisable, AFEvent, AFFbDAL, AFFilters, AFHost, AFInit, AFIosInAppPurchase, AFIsStopped, AFLink, AFLinkGenerator, AFOnelinkDomain, AFOnelinkID, AFPath, AFPushPayload, AFRes, AFStop, AFUid, AFUninstall, AFUrls, AFLanguage, OnAppOpenAttribution, OnConversionDataResult, OnDeepLink } from "./appsflyer_interfaces"; | ||
import type { AFAndroidInAppPurchase, AFAnonymizeUser, AFAppendToDeepLink, AFCuid, AFCurrency, AFData, AFDisable, AFEvent, AFFbDAL, AFFilters, AFHost, AFInit, AFIosInAppPurchase, AFIsStopped, AFLink, AFLinkGenerator, AFOnelinkDomain, AFOnelinkID, AFPath, AFPushPayload, AFRes, AFStop, AFUid, AFUninstall, AFUrls, AFLanguage, OnAppOpenAttribution, OnConversionDataResult, OnDeepLink, AFPromotion, AFEmails, AFLatLng, AFPhone, AFPartnerData, AFLogInvite } from "./appsflyer_interfaces"; | ||
export interface AppsFlyerPlugin { | ||
@@ -57,2 +57,3 @@ addListener(eventName: AFConstants.CONVERSION_CALLBACK, listenerFunc: (event: OnConversionDataResult) => void): PluginListenerHandle; | ||
* Stops events from propagating to the specified AppsFlyer partners. | ||
* @deprecated deprecated since 6.4.0. Use setSharingFilterForPartners instead | ||
*/ | ||
@@ -62,5 +63,10 @@ setSharingFilter(filters: AFFilters): Promise<void>; | ||
* Stops events from propagating to all AppsFlyer partners. Overwrites setSharingFilter. | ||
* @deprecated deprecated since 6.4.0. Use setSharingFilterForPartners instead | ||
*/ | ||
setSharingFilterForAllPartners(): Promise<void>; | ||
/** | ||
* Stops events from propagating to the specified AppsFlyer partners. | ||
*/ | ||
setSharingFilterForPartners(filters: AFFilters): Promise<void>; | ||
/** | ||
* Set additional data to be sent to AppsFlyer. See | ||
@@ -126,2 +132,28 @@ */ | ||
setCurrentDeviceLanguage(language: AFLanguage): Promise<AFRes>; | ||
/** | ||
* logs an impression as part of a cross-promotion campaign. Make sure to use the promoted App ID as it appears within the AppsFlyer dashboard. | ||
* | ||
*/ | ||
logCrossPromoteImpression(data: AFPromotion): Promise<AFRes>; | ||
/** | ||
* Set the user emails and encrypt them. | ||
*/ | ||
setUserEmails(emails: AFEmails): Promise<AFRes>; | ||
/** | ||
* Manually log the location of the user | ||
*/ | ||
logLocation(latLng: AFLatLng): Promise<AFRes>; | ||
/** | ||
* Will be sent as an SHA-256 encrypted string. | ||
*/ | ||
setPhoneNumber(phone: AFPhone): Promise<AFRes>; | ||
/** | ||
* Allows sending custom data for partner integration purposes. | ||
*/ | ||
setPartnerData(data: AFPartnerData): Promise<AFRes>; | ||
/** | ||
* Use to log a user-invite in-app event (af_invite). | ||
* | ||
*/ | ||
logInvite(data: AFLogInvite): Promise<AFRes>; | ||
} |
{ | ||
"name": "appsflyer-capacitor-plugin", | ||
"version": "6.3.5", | ||
"iosSdkVersion": "6.3.5", | ||
"version": "6.4.0", | ||
"iosSdkVersion": "6.4.0", | ||
"description": "AppsFlyer SDK plugin for Capacitor", | ||
@@ -6,0 +6,0 @@ "main": "dist/plugin.cjs.js", |
@@ -1,2 +0,2 @@ | ||
<img src="https://massets.appsflyer.com/wp-content/uploads/2018/06/20092440/static-ziv_1TP.png" width="400" > | ||
<img src="https://raw.githubusercontent.com/AppsFlyerSDK/appsflyer-capacitor-plugin/main/assets/AFLogo_primary.png" width="600" > | ||
@@ -17,4 +17,4 @@ # AppsFlyer Capacitor plugin for Android and iOS. | ||
- Android AppsFlyer SDK **6.3.2️** | ||
- iOS AppsFlyer SDK **6.3.5️** | ||
- Android AppsFlyer SDK **6.4.0️** | ||
- iOS AppsFlyer SDK **6.4.0️** | ||
@@ -21,0 +21,0 @@ <!--- |
@@ -6,8 +6,9 @@ export interface AFInit{ | ||
waitForATTUserAuthorization?: number; | ||
registerConversionListener? : boolean; | ||
registerOnAppOpenAttribution? : boolean; | ||
registerOnDeepLink? : boolean; | ||
useUninstallSandbox? :boolean; | ||
useReceiptValidationSandbox? :boolean; | ||
minTimeBetweenSessions?:number | ||
registerConversionListener?: boolean; | ||
registerOnAppOpenAttribution?: boolean; | ||
registerOnDeepLink?: boolean; | ||
useUninstallSandbox?: boolean; | ||
useReceiptValidationSandbox?: boolean; | ||
minTimeBetweenSessions?: number | ||
deepLinkTimeout?: number | ||
@@ -68,2 +69,20 @@ } | ||
export interface AFPromotion { | ||
appID:string, | ||
campaign:string, | ||
parameters:StringMap, | ||
} | ||
export interface AFLatLng{ | ||
latitude: number, | ||
longitude: number | ||
} | ||
export interface AFPartnerData{ | ||
data: any, | ||
partnerId: string | ||
} | ||
export interface AFLogInvite{ | ||
eventParameters: StringMap, | ||
channel: string | ||
} | ||
export interface AFLink {link:string} | ||
@@ -80,2 +99,4 @@ export interface AFRes {res:string} | ||
export interface AFPath {path: string[]} | ||
export interface AFEmails {emails: string[], | ||
encode?: boolean} | ||
export interface AFStop {stop: boolean} | ||
@@ -89,2 +110,3 @@ export interface AFIsStopped {isStopped: boolean} | ||
export interface AFLanguage{language: string} | ||
export interface AFPhone{phone: string} | ||
export interface AFHost{hostPrefixName: string; | ||
@@ -91,0 +113,0 @@ hostName: string; |
@@ -33,3 +33,9 @@ import type {PluginListenerHandle} from "@capacitor/core"; | ||
OnConversionDataResult, | ||
OnDeepLink | ||
OnDeepLink, | ||
AFPromotion, | ||
AFEmails, | ||
AFLatLng, | ||
AFPhone, | ||
AFPartnerData, | ||
AFLogInvite | ||
} from "./appsflyer_interfaces"; | ||
@@ -115,2 +121,3 @@ | ||
* Stops events from propagating to the specified AppsFlyer partners. | ||
* @deprecated deprecated since 6.4.0. Use setSharingFilterForPartners instead | ||
*/ | ||
@@ -121,2 +128,3 @@ setSharingFilter(filters: AFFilters): Promise<void> | ||
* Stops events from propagating to all AppsFlyer partners. Overwrites setSharingFilter. | ||
* @deprecated deprecated since 6.4.0. Use setSharingFilterForPartners instead | ||
*/ | ||
@@ -126,2 +134,7 @@ setSharingFilterForAllPartners(): Promise<void> | ||
/** | ||
* Stops events from propagating to the specified AppsFlyer partners. | ||
*/ | ||
setSharingFilterForPartners(filters: AFFilters): Promise<void> | ||
/** | ||
* Set additional data to be sent to AppsFlyer. See | ||
@@ -202,3 +215,34 @@ */ | ||
/** | ||
* logs an impression as part of a cross-promotion campaign. Make sure to use the promoted App ID as it appears within the AppsFlyer dashboard. | ||
* | ||
*/ | ||
logCrossPromoteImpression(data: AFPromotion): Promise<AFRes>; | ||
/** | ||
* Set the user emails and encrypt them. | ||
*/ | ||
setUserEmails(emails: AFEmails): Promise<AFRes>; | ||
/** | ||
* Manually log the location of the user | ||
*/ | ||
logLocation(latLng : AFLatLng): Promise<AFRes>; | ||
/** | ||
* Will be sent as an SHA-256 encrypted string. | ||
*/ | ||
setPhoneNumber(phone : AFPhone): Promise<AFRes>; | ||
/** | ||
* Allows sending custom data for partner integration purposes. | ||
*/ | ||
setPartnerData(data : AFPartnerData): Promise<AFRes>; | ||
/** | ||
* Use to log a user-invite in-app event (af_invite). | ||
* | ||
*/ | ||
logInvite(data : AFLogInvite): Promise<AFRes>; | ||
} | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101210
40
738