react-native-appsflyer
Advanced tools
Comparing version 6.3.50 to 6.4.0
@@ -0,1 +1,6 @@ | ||
## 6.4.0 | ||
- Android SDK 6.4.0 | ||
- iOS SDK 6.4.0 | ||
- new setSharingFilterForPartners api | ||
## 6.3.50 | ||
@@ -7,3 +12,3 @@ - iOS SDK 6.3.5 | ||
### *Bug* | ||
- RN Android >> Exception in UDL callback parsing | ||
- RN Android >> Exception in UDL callback parsing | ||
### *Technical Story* | ||
@@ -142,3 +147,3 @@ - React Native > update native sdk to 6.3.2 | ||
- Android SDK v5.4.3 | ||
- iOS SDK v5.4.4 | ||
- iOS SDK v5.4.4 | ||
- Install Referrer v1.1.2 | ||
@@ -177,7 +182,7 @@ | ||
## 5.1.2 | ||
Add support for iOS for updateServerUninstallToken api | ||
Add support for iOS for updateServerUninstallToken api | ||
## 5.1.1 | ||
Added setDeviceTrackingDisabled api | ||
Added setDeviceTrackingDisabled api | ||
@@ -213,3 +218,3 @@ | ||
Changes and fixes: | ||
Changes and fixes: | ||
- Update for iOS 13 push token retrieval needed for Uninstall Measurement | ||
@@ -221,3 +226,3 @@ - replaced NativeAppEventEmitter with NativeEventEmitter - https://github.com/AppsFlyerSDK/react-native-appsflyer/issues/105 | ||
Changes and fixes: | ||
Changes and fixes: | ||
@@ -230,3 +235,3 @@ - added setCurrencyCode API | ||
Changes and fixes: | ||
Changes and fixes: | ||
@@ -239,6 +244,6 @@ - fixed getCurrentActivity - https://github.com/AppsFlyerSDK/react-native-appsflyer/issues/82 | ||
Added User Invite Tracking | ||
Added User Invite Tracking | ||
Added Cross-Promotion Tracking | ||
Changes and fixes: | ||
Changes and fixes: | ||
@@ -259,3 +264,3 @@ - added `setAppInviteOneLinkID` API | ||
Changes and fixes: | ||
Changes and fixes: | ||
@@ -273,7 +278,5 @@ - added `setAdditionalData` API | ||
Changes and fixes: | ||
Changes and fixes: | ||
- Separated callbacks for `onAppOpenAttribution` and `getConversionData`. | ||
- [[#53](https://github.com/AppsFlyerSDK/react-native-appsflyer/issues/53)] onInstallConversionData doesn't return onAppOpenAttribution when mounting | ||
@@ -5,19 +5,19 @@ # API | ||
- [appId](#appId) | ||
- [onInstallConversionData](#onInstallConversionData) | ||
- [onAppOpenAttribution](#onAppOpenAttribution) | ||
- [onInstallConversionData](#onInstallConversionData) | ||
- [onAppOpenAttribution](#onAppOpenAttribution) | ||
- [logEvent](#logEvent) | ||
- [setCustomerUserId](#setCustomerUserId) | ||
- [getAppsFlyerUID](#getAppsFlyerUID) | ||
- [stop](#stop) | ||
- [logLocation](#logLocation) | ||
- [setUserEmails](#setUserEmails) | ||
- [setCustomerUserId](#setCustomerUserId) | ||
- [getAppsFlyerUID](#getAppsFlyerUID) | ||
- [stop](#stop) | ||
- [logLocation](#logLocation) | ||
- [setUserEmails](#setUserEmails) | ||
- [setAdditionalData](#setAdditionalData) | ||
- [updateServerUninstallToken](#updateServerUninstallToken) | ||
- [setCollectIMEI](#setCollectIMEI) | ||
- [setCollectAndroidID](#setCollectAndroidID) | ||
- [setAppInviteOneLinkID](#setAppInviteOneLinkID) | ||
- [generateInviteLink](#generateInviteLink) | ||
- [logCrossPromotionImpression](#logCrossPromotionImpression) | ||
- [logCrossPromotionAndOpenStore](#logCrossPromotionAndOpenStore) | ||
- [setCurrencyCode](#setCurrencyCode) | ||
- [updateServerUninstallToken](#updateServerUninstallToken) | ||
- [setCollectIMEI](#setCollectIMEI) | ||
- [setCollectAndroidID](#setCollectAndroidID) | ||
- [setAppInviteOneLinkID](#setAppInviteOneLinkID) | ||
- [generateInviteLink](#generateInviteLink) | ||
- [logCrossPromotionImpression](#logCrossPromotionImpression) | ||
- [logCrossPromotionAndOpenStore](#logCrossPromotionAndOpenStore) | ||
- [setCurrencyCode](#setCurrencyCode) | ||
- [anonymizeUser](#anonymizeUser) | ||
@@ -27,4 +27,4 @@ - [setOneLinkCustomDomains](#setOneLinkCustomDomains) | ||
- [performOnAppAttribution](#performOnAppAttribution) | ||
- [setSharingFilterForAllPartners](#setSharingFilterForAllPartners) | ||
- [setSharingFilter](#setSharingFilter) | ||
- [setSharingFilterForAllPartners](#setSharingFilterForAllPartners) Deprecated! | ||
- [setSharingFilter](#setSharingFilter) Deprecated! | ||
- [disableCollectASA](#disableCollectASA) | ||
@@ -38,2 +38,3 @@ - [disableAdvertisingIdentifier](#disableAdvertisingIdentifier) | ||
- [setCurrentDeviceLanguage](#setCurrentDeviceLanguage) | ||
- [setSharingFilterForPartners](#setSharingFilterForPartners) | ||
@@ -372,3 +373,3 @@ --- | ||
The setAdditionalData API is required to integrate on the SDK level with several external partner platforms, including Segment, Adobe and Urban Airship. Use this API only if the integration article of the platform specifically states setAdditionalData API is needed. | ||
The setAdditionalData API is required to integrate on the SDK level with several external partner platforms, including Segment, Adobe and Urban Airship. Use this API only if the integration article of the platform specifically states setAdditionalData API is needed. | ||
@@ -399,7 +400,7 @@ | parameter | type | description | | ||
##### <a id="updateServerUninstallToken"> **`updateServerUninstallToken(token, callback)`** | ||
(Android only) | ||
Manually pass the Firebase / GCM Device Token for Uninstall measurement. | ||
| parameter | type | description | | ||
@@ -422,3 +423,3 @@ | ---------- |----------|------------------ | | ||
##### <a id="setCollectIMEI"> **`setCollectIMEI(isCollect, callback)`** | ||
โ(Android only) | ||
@@ -449,3 +450,3 @@ | ||
##### <a id="setCollectAndroidID"> **`setCollectAndroidID(isCollect, callback)`** | ||
โ(Android only) | ||
@@ -476,3 +477,3 @@ | ||
##### <a id="setAppInviteOneLinkID"> **`setAppInviteOneLinkID(oneLinkID, callback)`** | ||
Set the OneLink ID that should be used for User-Invite-API.<br/> | ||
@@ -636,3 +637,3 @@ The link that is generated for the user invite will use this OneLink ID as the base link ID. | ||
For more information please refer to the [documentation](https://support.appsflyer.com/hc/en-us/articles/360002329137-Implementing-Branded-Links) | ||
| parameter | type | description | | ||
@@ -702,3 +703,3 @@ | ---------- |----------|------------------ | | ||
##### <a id="setSharingFilterForAllPartners"> **`setSharingFilterForAllPartners()`** | ||
##### Deprecated! Start from version 6.4.0 please use [setSharingFilterForPartners](#setSharingFilterForPartners) | ||
Used by advertisers to exclude **all** networks/integrated partners from getting data. Learn more [here](https://support.appsflyer.com/hc/en-us/articles/207032126#additional-apis-exclude-partners-from-getting-data) | ||
@@ -713,3 +714,3 @@ | ||
##### <a id="setSharingFilter"> **`setSharingFilter(partners, sucessC, errorC)`** | ||
##### Deprecated! Start from version 6.4.0 please use [setSharingFilterForPartners](#setSharingFilterForPartners) | ||
Used by advertisers to exclude **specified** networks/integrated partners from getting data. Learn more [here](https://support.appsflyer.com/hc/en-us/articles/207032126#additional-apis-exclude-partners-from-getting-data) | ||
@@ -736,3 +737,3 @@ | ||
##### <a id="disableCollectASA"> **`disableCollectASA(shouldDisable)`** | ||
โ(iOS only) | ||
@@ -911,1 +912,22 @@ | ||
``` | ||
--- | ||
##### <a id="setSharingFilterForPartners"> **`setSharingFilterForPartners(partners)`** | ||
Used by advertisers to exclude networks/integrated partners from getting data. | ||
| parameter | type | description | | ||
| ---------- |----------|------------------ | | ||
| partners | array | Comma separated array of partners that need to be excluded | | ||
*Example:* | ||
```javascript | ||
appsFlyer.setSharingFilterForPartners([]); // Reset list (default) | ||
appsFlyer.setSharingFilterForPartners(null); // Reset list (default) | ||
appsFlyer.setSharingFilterForPartners(['facebook_int']); // Single partner | ||
appsFlyer.setSharingFilterForPartners(['facebook_int', 'googleadwords_int']); // Multiple partners | ||
appsFlyer.setSharingFilterForPartners(['all']); // All partners | ||
appsFlyer.setSharingFilterForPartners(['googleadwords_int', 'all']); // All partners | ||
``` | ||
--- |
@@ -95,2 +95,3 @@ /** | ||
disableAdvertisingIdentifier(isDisable: boolean): void | ||
setSharingFilterForPartners(partners: string[]): void | ||
@@ -97,0 +98,0 @@ /** |
13
index.js
@@ -501,2 +501,3 @@ import {NativeEventEmitter, NativeModules} from "react-native"; | ||
/** | ||
* @deprecated starting SDK version 6.4.0, please use setSharingFilterForPartners() | ||
* Used by advertisers to exclude **all** networks/integrated partners from getting data. | ||
@@ -507,6 +508,7 @@ * Learn more - https://support.appsflyer.com/hc/en-us/articles/207032126#additional-apis-exclude-partners-from-getting-data | ||
appsFlyer.setSharingFilterForAllPartners = () => { | ||
return RNAppsFlyer.setSharingFilterForAllPartners(); | ||
return appsFlyer.setSharingFilterForPartners(['all']); | ||
} | ||
/** | ||
* @deprecated starting SDK version 6.4.0, please use setSharingFilterForPartners() | ||
* Used by advertisers to exclude specified networks/integrated partners from getting data. | ||
@@ -520,3 +522,3 @@ * Learn more - https://support.appsflyer.com/hc/en-us/articles/207032126#additional-apis-exclude-partners-from-getting-data | ||
appsFlyer.setSharingFilter = (partners, successC, errorC) => { | ||
return RNAppsFlyer.setSharingFilter(partners, successC, errorC); | ||
return appsFlyer.setSharingFilterForPartners(partners); | ||
} | ||
@@ -606,2 +608,9 @@ | ||
/** | ||
* Used by advertisers to exclude specified networks/integrated partners from getting data. | ||
*/ | ||
appsFlyer.setSharingFilterForPartners = (partners) => { | ||
return RNAppsFlyer.setSharingFilterForPartners(partners); | ||
} | ||
function AFParseJSONException(_message, _data) { | ||
@@ -608,0 +617,0 @@ this.message = _message; |
{ | ||
"name": "react-native-appsflyer", | ||
"version": "6.3.50", | ||
"version": "6.4.0", | ||
"description": "React Native Appsflyer plugin", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,4 +10,4 @@ | ||
[![npm version](https://badge.fury.io/js/react-native-appsflyer.svg)](https://badge.fury.io/js/react-native-appsflyer) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) | ||
[![npm version](https://badge.fury.io/js/react-native-appsflyer.svg)](https://badge.fury.io/js/react-native-appsflyer) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) | ||
[![Downloads](https://img.shields.io/npm/dm/react-native-appsflyer.svg)](https://www.npmjs.com/package/react-native-appsflyer) | ||
@@ -21,8 +21,8 @@ ## Table of content | ||
- [Guides](#guides) | ||
- [API](#api) | ||
- [API](#api) | ||
### <a id="plugin-build-for"> This plugin is built for | ||
- iOS AppsFlyerSDK **v6.3.5** | ||
- Android AppsFlyerSDK **v6.3.2** | ||
- iOS AppsFlyerSDK **v6.4.0** | ||
- Android AppsFlyerSDK **v6.4.0** | ||
@@ -58,3 +58,3 @@ ## <a id="breaking-changes"> โ Breaking Changes | ||
**Production** version from npm: | ||
**Production** version from npm: | ||
``` | ||
@@ -158,4 +158,3 @@ $ npm install react-native-appsflyer --save | ||
## <a id="api"> ๐ API | ||
See the full [API](/Docs/API.md) available for this plugin. | ||
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 13 instances in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
663
0
211581
35
157