@@ -9,52 +9,55 @@ hidden: false
99## APIs
1010
1111The list of available methods for this plugin is described below.
12+ - [ APIs] ( #apis )
1213- [ Android and iOS APIs] ( #android-and-ios-apis )
13- - [ initSDK] ( #initsdk )
14- - [ startSdk] ( #startsdk )
15- - [ logEvent] ( #logevent )
16- - [ setCustomerUserId] ( #setcustomeruserid )
17- - [ stop] ( #stop )
18- - [ setAppInviteOneLinkID] ( #setappinviteonelinkid )
19- - [ setAdditionalData] ( #setadditionaldata )
20- - [ setResolveDeepLinkURLs] ( #setresolvedeeplinkurls )
21- - [ setOneLinkCustomDomain] ( #setonelinkcustomdomain )
22- - [ setCurrencyCode] ( #setcurrencycode )
23- - [ logLocation] ( #loglocation )
24- - [ anonymizeUser] ( #anonymizeuser )
25- - [ getAppsFlyerUID] ( #getappsflyeruid )
26- - [ setHost] ( #sethost )
27- - [ setUserEmails] ( #setuseremails )
28- - [ generateInviteLink] ( #generateinvitelink )
29- - [ setSharingFilterForAllPartners] ( #setsharingfilterforallpartners ) * Deprecated*
30- - [ setSharingFilter] ( #setsharingfilter ) * Deprecated*
31- - [ setSharingFilterForPartners] ( #setsharingfilterforpartners )
32- - [ validateAndLogInAppPurchase] ( #validateandloginapppurchase )
33- - [ updateServerUninstallToken] ( #updateserveruninstalltoken )
34- - [ sendPushNotificationData] ( #sendpushnotificationdata )
35- - [ addPushNotificationDeepLinkPath] ( #addpushnotificationdeeplinkpath )
36- - [ appendParametersToDeepLinkingURL] ( #appendparameterstodeeplinkingurl )
37- - [ disableAdvertisingIdentifier] ( #disableAdvertisingIdentifier )
38- - [ enableTCFDataCollection] ( #enableTCFDataCollection )
39- - [ setConsentData] ( #setConsentData )
40- - [ logAdRevenue] ( #logAdRevenue )
14+ - [ initSdk] ( #initsdk )
15+ - [ startSdk] ( #startsdk )
16+ - [ logEvent] ( #logevent )
17+ - [ setCustomerUserId] ( #setcustomeruserid )
18+ - [ stop] ( #stop )
19+ - [ setAppInviteOneLinkID] ( #setappinviteonelinkid )
20+ - [ setAdditionalData] ( #setadditionaldata )
21+ - [ setResolveDeepLinkURLs] ( #setresolvedeeplinkurls )
22+ - [ setOneLinkCustomDomains] ( #setonelinkcustomdomains )
23+ - [ setCurrencyCode] ( #setcurrencycode )
24+ - [ logLocation] ( #loglocation )
25+ - [ anonymizeUser] ( #anonymizeuser )
26+ - [ getAppsFlyerUID] ( #getappsflyeruid )
27+ - [ setHost] ( #sethost )
28+ - [ setUserEmails] ( #setuseremails )
29+ - [ generateInviteLink] ( #generateinvitelink )
30+ - [ setSharingFilterForAllPartners] ( #setsharingfilterforallpartners )
31+ - [ setSharingFilter] ( #setsharingfilter )
32+ - [ setSharingFilterForPartners] ( #setsharingfilterforpartners )
33+ - [ validateAndLogInAppPurchase] ( #validateandloginapppurchase )
34+ - [ updateServerUninstallToken] ( #updateserveruninstalltoken )
35+ - [ sendPushNotificationData] ( #sendpushnotificationdata )
36+ - [ addPushNotificationDeepLinkPath] ( #addpushnotificationdeeplinkpath )
37+ - [ appendParametersToDeepLinkingURL] ( #appendparameterstodeeplinkingurl )
38+ - [ disableAdvertisingIdentifier] ( #disableadvertisingidentifier )
39+ - [ enableTCFDataCollection] ( #enabletcfdatacollection )
40+ - [ setConsentData] ( #setconsentdata )
41+ - [ logAdRevenue] ( #logadrevenue )
42+ - [ Parameters] ( #parameters )
43+ - [ Usage Example for React Native:] ( #usage-example-for-react-native )
4144- [ Android Only APIs] ( #android-only-apis )
42- - [ setCollectAndroidID] ( #setcollectandroidid )
43- - [ setCollectIMEI] ( #setcollectimei )
44- - [ setDisableNetworkData] ( #setdisablenetworkdata )
45- - [ performOnDeepLinking] ( #performondeeplinking )
45+ - [ setCollectAndroidID] ( #setcollectandroidid )
46+ - [ setCollectIMEI] ( #setcollectimei )
47+ - [ setDisableNetworkData ` setDisableNetworkData(disable) ` ] ( #setdisablenetworkdata-setdisablenetworkdatadisable )
48+ - [ performOnDeepLinking] ( #performondeeplinking )
4649- [ iOS Only APIs] ( #ios-only-apis )
47- - [ disableCollectASA] ( #disablecollectasa )
48- - [ setUseReceiptValidationSandbox ] ( #setusereceiptvalidationsandbox )
49- - [ disableSKAD ] ( #disableskad )
50- - [ setCurrentDeviceLanguage ] ( #setcurrentdevicelanguage )
51- - [ disableIDFVCollection ] ( #disableidfvcollection )
50+ - [ disableCollectASA] ( #disablecollectasa )
51+ - [ disableIDFVCollection ] ( #disableidfvcollection )
52+ - [ setUseReceiptValidationSandbox ] ( #setusereceiptvalidationsandbox )
53+ - [ disableSKAD ] ( #disableskad )
54+ - [ setCurrentDeviceLanguage ] ( #setcurrentdevicelanguage )
5255- [ AppsFlyerConversionData] ( #appsflyerconversiondata )
53- - [ onInstallConversionData] ( #oninstallconversiondata )
54- - [ onInstallConversionFailure] ( #oninstallconversionfailure )
55- - [ onAppOpenAttribution] ( #onappopenattribution )
56- - [ onAttributionFailure] ( #onattributionfailure )
57- - [ onDeepLink] ( #ondeeplink )
56+ - [ onInstallConversionData] ( #oninstallconversiondata )
57+ - [ onInstallConversionFailure] ( #oninstallconversionfailure )
58+ - [ onAppOpenAttribution] ( #onappopenattribution )
59+ - [ onAttributionFailure] ( #onattributionfailure )
60+ - [ onDeepLink] ( #ondeeplink )
5861---
5962
6063## Android and iOS APIs
@@ -109,7 +112,7 @@ appsFlyer.initSdk(
109112```
110113---
111114
112- #### startSdk
115+ ### startSdk
113116` startSdk() `
114117
115118In version 6.9.1 of the react-native-appslfyer SDK we added the option of splitting between the initialization stage and start stage. All you need to do is add the property manualStart: true to the init object, and later call appsFlyer.startSdk() whenever you decide. If this property is set to false or doesn’t exist, the sdk will start after calling ` appsFlyer.initSdk(...) ` .
@@ -147,7 +150,7 @@ appsFlyer.initSdk(
147150```
148151---
149152
150- #### logEvent
153+ ### logEvent
151154` logEvent(eventName, eventValues, success, error) `
152155
153156In-App Events provide insight on what is happening in your app. It is recommended to take the time and define the events you want to measure to allow you to measure ROI (Return on Investment) and LTV (Lifetime Value).
@@ -798,7 +801,7 @@ let GDPRUser = AppsFlyerConsent.forGDPRUser(true, false);
798801appsFlyer .setConsentData (nonGDPRUser /** or**/ GDPRUser);
799802```
800803
801- ### logAdRevenue - Since 6.15.1
804+ ### logAdRevenue
802805` logAdRevenue(data: AFAdRevenueData): void `
803806
804807Use this method to log your ad revenue.</br >
0 commit comments