cordova-plugin-appsflyer-sdk
Advanced tools
Comparing version 6.0.51 to 6.0.52
@@ -36,2 +36,5 @@ # API | ||
| [`setUseReceiptValidationSandbox`](#setUseReceiptValidationSandbox) | `(boolean isSandbox, function success, function error)` | In app purchase receipt validation Apple environment | | ||
| [`disableCollectASA`](#disableCollectASA) | `(boolean collectASA, function success)` | **iOS** - set the SDK to load OR not to load iAd.framework dynamically| | ||
| [`setDisableAdvertisingIdentifier`](#setDisableAdvertisingIdentifier) | `(boolean disableAdvertisingIdentifier, function success)` | **iOS** - set the SDK to load OR not to load adSupport.framework dynamically | | ||
@@ -470,2 +473,33 @@ --- | ||
##### <a id="disableCollectASA"> **`disableCollectASA(collectASA, successC): void`** | ||
**iOS ONLY**<br> | ||
AppsFlyer SDK dynamically loads the Apple iAd.framework. This framework is required to record and measure the performance of Apple Search Ads in your app.<br> | ||
If you don't want AppsFlyer to dynamically load this framework, set this property to true.<br> | ||
*Example:* | ||
```javascript | ||
window.plugins.appsFlyer.disableCollectASA(true, successC); | ||
``` | ||
| parameter | type | description | | ||
| ----------- |-----------------------------|--------------| | ||
| `collectASA` | `boolean` | If you don't want AppsFlyer to dynamically load iAd.framework, set this property to true | | ||
| `successC` | `function` | success callback | | ||
--- | ||
##### <a id="setDisableAdvertisingIdentifier"> **`setDisableAdvertisingIdentifier(disableAdvertisingIdentifier, successC): void`** | ||
**iOS ONLY**<br> | ||
AppsFlyer SDK dynamically loads the Apple adSupport.framework. This framework is required to collect IDFA for attribution purposes.<br> | ||
If you don't want AppsFlyer to dynamically load this framework, set this property to true.<br> | ||
*Example:* | ||
```javascript | ||
window.plugins.appsFlyer.setDisableAdvertisingIdentifier(true, successC); | ||
``` | ||
| parameter | type | description | | ||
| ----------- |-----------------------------|--------------| | ||
| `disableAdvertisingIdentifier` | `boolean` | If you don't want AppsFlyer to dynamically load adSupport.framework, set this property to true | | ||
| `successC` | `function` | success callback | | ||
--- | ||
### <a id="deep-linking-tracking"> Deep linking Tracking | ||
@@ -472,0 +506,0 @@ |
# Release Notes | ||
### 6.0.52 | ||
Release date **October 26 2020** | ||
Release type: Major / Minor / **Hotfix** | ||
**Overview and Highlights:** | ||
- disableCollectASA api | ||
- disableAdvertisingIdentifier api | ||
### 6.0.51 | ||
@@ -3,0 +12,0 @@ Release date **October 22 2020** |
{ | ||
"name": "cordova-plugin-appsflyer-sdk", | ||
"version": "6.0.51", | ||
"description": "Cordova AppsFlyer SDK Plugin ", | ||
"version": "6.0.52", | ||
"description": "Cordova AppsFlyer SDK Plugin", | ||
"cordova": { | ||
@@ -6,0 +6,0 @@ "id": "cordova-plugin-appsflyer-sdk", |
@@ -8,2 +8,4 @@ | ||
[![Build Status](https://travis-ci.org/AppsFlyerSDK/appsflyer-cordova-plugin.svg?branch=master)](https://travis-ci.org/AppsFlyerSDK/appsflyer-cordova-plugin) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) | ||
[![Downloads](https://img.shields.io/npm/dm/cordova-plugin-appsflyer-sdk.svg)](https://www.npmjs.com/package/cordova-plugin-appsflyer-sdk) | ||
@@ -10,0 +12,0 @@ ---------- |
# Release Notes | ||
### 6.0.52 | ||
Release date **October 26 2020** | ||
Release type: Major / Minor / **Hotfix** | ||
**Overview and Highlights:** | ||
- disableCollectASA api | ||
- disableAdvertisingIdentifier api | ||
### 6.0.51 | ||
@@ -10,3 +19,2 @@ Release date **October 22 2020** | ||
### 6.0.50 | ||
@@ -13,0 +21,0 @@ Release date **October 18 2020** |
@@ -244,3 +244,22 @@ var exec = require('cordova/exec'), | ||
/** | ||
* AppsFlyer SDK dynamically loads the Apple iAd.framework. This framework is required to record and measure the performance of Apple Search Ads in your app. | ||
* If you don't want AppsFlyer to dynamically load this framework, set this property to true. | ||
* @param collectASA | ||
* @param successC | ||
*/ | ||
AppsFlyer.prototype.disableCollectASA = function(collectASA, successC){ | ||
exec(successC, null, 'AppsFlyerPlugin', 'disableCollectASA', [collectASA]); | ||
}; | ||
/** | ||
* AppsFlyer SDK dynamically loads the Apple adSupport.framework. This framework is required to collect IDFA for attribution purposes. | ||
* If you don't want AppsFlyer to dynamically load this framework, set this property to true. | ||
* @param disableAdvertisingIdentifier - true OR false | ||
* @param successC - callback function | ||
*/ | ||
AppsFlyer.prototype.setDisableAdvertisingIdentifier = function(disableAdvertisingIdentifier, successC){ | ||
exec(successC, null, 'AppsFlyerPlugin', 'setDisableAdvertisingIdentifier', [disableAdvertisingIdentifier]); | ||
}; | ||
module.exports = new AppsFlyer(); | ||
})(window); |
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
6763464
723
179