@rudderstack/rudder-integration-appsflyer-react-native
Version:
Rudder React Native SDK Appsflyer Device mode support for Android and iOS
35 lines (34 loc) • 1.94 kB
TypeScript
declare function setup(): Promise<void>;
declare function setOptions(options: any): void;
declare function onInstallConversionData(callback: (data: any) => void): () => void;
declare function onInstallConversionFailure(callback: (data: any) => void): () => void;
declare function onAppOpenAttribution(callback: (data: any) => void): () => void;
declare function onAttributionFailure(callback: (data: any) => void): () => void;
declare function onDeepLink(callback: (data: any) => void): () => void;
/**
* Manually pass the Firebase / GCM Device Token for Uninstall measurement.
*
* @param token Firebase Device Token.
* @param successC success callback function.
*/
declare function updateServerUninstallToken(token: any, successC: any): any;
/**
* Setting your own customer ID enables you to cross-reference your own unique ID with AppsFlyer’s unique ID and the other devices’ IDs.
* This ID is available in AppsFlyer CSV reports along with Postback APIs for cross-referencing with your internal IDs.
*
* @param {string} userId Customer ID for client.
* @param successC callback function.
*/
declare function setCustomerUserId(userId: any, successC: any): any;
/**
* Set Onelink custom/branded domains
* Use this API during the SDK Initialization to indicate branded domains.
* For more information please refer to https://support.appsflyer.com/hc/en-us/articles/360002329137-Implementing-Branded-Links
* @param domains array of strings
* @param successC success callback function.
* @param errorC error callback function.
*/
declare function setOneLinkCustomDomains(domains: any, successC: any, errorC: any): any;
declare function getAppsFlyerId(): Promise<string | null>;
export { onDeepLink, onInstallConversionData, onInstallConversionFailure, onAppOpenAttribution, onAttributionFailure, setOptions, updateServerUninstallToken, setCustomerUserId, setOneLinkCustomDomains, getAppsFlyerId, };
export default setup;