cordova-plugin-appsflyer-sdk
Advanced tools
Comparing version 6.4.0 to 6.4.4
@@ -50,3 +50,5 @@ # API | ||
| [`setAdditionalData`](#setAdditionalData) | `(Object additionalData)` | Allows you to add custom data to events sent from the SDK. | | ||
| [`setPartnerData`](#setPartnerData) | `(partnerId, data)` | Allows sending custom data for partner integration purposes. | | ||
@@ -684,3 +686,3 @@ --- | ||
--- | ||
##### <a id="setAdditionalData"> **`setAdditionalData(language): void`** | ||
##### <a id="setAdditionalData"> **`setAdditionalData(additionalData): void`** | ||
The setAdditionalData API allows you to add custom data to events sent from the SDK.<br> | ||
@@ -703,2 +705,17 @@ Typically it is used to integrate on the SDK level with several external partner platforms. | ||
--- | ||
##### <a id="setPartnerData"> **`setPartnerData(partnerId, data): void`** | ||
Allows sending custom data for partner integration purposes. | ||
*Example:* | ||
```javascript | ||
appsFlyer.setPartnerData("af_int", {apps: "Flyer", cuid: "123abc"}); | ||
``` | ||
| parameter | type | description | | ||
| ----------- |-----------------------------|--------------| | ||
| `partnerId` | `String` | ID of the partner (usually suffixed with "_int"). | | ||
| `data` | `Object` | Customer data, depends on the integration configuration with the specific partner. | | ||
--- | ||
### <a id="deep-linking-tracking"> Deep linking Tracking | ||
@@ -705,0 +722,0 @@ |
@@ -50,16 +50,16 @@ | ||
1. Add ```#import <AppTrackingTransparency/AppTrackingTransparency.h>``` in your ```AppDelegate.m``` file<br> | ||
2. Add the ATT pop-up for IDFA collection. your ```AppDelegate.m``` should look like this: | ||
1. Add ```#import <AppTrackingTransparency/AppTrackingTransparency.h>``` in your ```Classes/MainViewController.m``` file<br> | ||
2. Add the ATT pop-up for IDFA collection. your ```MainViewController.m``` should look like this: | ||
```javascript | ||
-(BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions | ||
{ | ||
self.viewController = [[MainViewController alloc] init]; | ||
if (@available(iOS 14, *)) { | ||
[ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) { | ||
//If you want to do something with the pop-up | ||
}]; | ||
- (void)viewDidLoad { | ||
[super viewDidLoad]; | ||
[self.launchView setAlpha:1]; | ||
if @available(iOS 14, *) { | ||
[ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) { | ||
NSLog(@"Status: %lu", (unsigned long)status); | ||
}]; | ||
} | ||
return [super application:application didFinishLaunchingWithOptions:launchOptions]; | ||
} | ||
@@ -66,0 +66,0 @@ ``` |
{ | ||
"name": "cordova-plugin-appsflyer-sdk", | ||
"version": "6.4.0", | ||
"version": "6.4.4", | ||
"description": "Cordova AppsFlyer SDK Plugin", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -44,4 +44,4 @@ | ||
- iOS AppsFlyerSDK **v6.4.0** | ||
- Android AppsFlyerSDK **v6.4.0** | ||
- iOS AppsFlyerSDK **v6.4.4** | ||
- Android AppsFlyerSDK **v6.4.3** | ||
@@ -48,0 +48,0 @@ ### <a id="breakingChanges"> ❗v6 Breaking Changes |
# Release Notes | ||
### 6.4.4 | ||
Release date: *2021-Dec-14* | ||
**Overview and Highlights:** | ||
- Cordova >> Android >> setUserEmails with no encryption available | ||
- Cordova >> Add setPartnerData API | ||
- Cordova >> Update iOS SDK to v6.4.4 | ||
- Cordova >> Update Android SDK to v6.4.3 | ||
### 6.4.0 | ||
Release date: *2021-Sep-14* | ||
**Overview and Highlights:** | ||
- Cordova (iOS) >> app crash when passing null instead of Array (Bug fixed) | ||
- Cordova >> Android >> setOneLinkCustomDomains not working (Bug fixed) | ||
- Cordova >> Add setSharingFilterForPartners API | ||
- Cordova >> add setAdditionalData API | ||
### 6.3.50 | ||
@@ -3,0 +23,0 @@ Release date: *2021-Aug-23* |
@@ -364,3 +364,12 @@ var exec = require('cordova/exec'), | ||
exec(null, null, 'AppsFlyerPlugin', 'setAdditionalData', [additionalData]); | ||
}; | ||
/** | ||
* The setPartnerData API allows sending custom data for partner integration purposes. | ||
* Typically it is used to integrate on the SDK level with several external partner platforms | ||
* @param partnerId - ID of the partner (usually suffixed with "_int") | ||
* @param data - Customer data, depends on the integration configuration with the specific partner | ||
*/ | ||
AppsFlyer.prototype.setPartnerData = function (partnerId, data){ | ||
exec(null, null, 'AppsFlyerPlugin', 'setPartnerData', [partnerId, data]); | ||
}; | ||
@@ -367,0 +376,0 @@ |
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
3135773
1722