Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-appsflyer-sdk

Package Overview
Dependencies
Maintainers
6
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-appsflyer-sdk - npm Package Compare versions

Comparing version 6.1.11 to 6.1.20

51

docs/API.md

@@ -39,2 +39,5 @@ # API

| [`setOneLinkCustomDomains`](#setOneLinkCustomDomains) | `(domains, function success, function error)` | Set Onelink custom/branded domains |
| [`enableFacebookDeferredApplinks`](#enableFacebookDeferredApplinks) | `(boolean isEnabled)` | support deferred deep linking from Facebook Ads |
| [`setUserEmails`](#setUserEmails) | `(emails, function success)` | Set user emails for FB Advanced Matching |
| [`setPhoneNumber`](#setPhoneNumber) | `(String phoneNumber, function successr)` | Set phone number for FB Advanced Matching |

@@ -523,3 +526,51 @@

---
##### <a id="enableFacebookDeferredApplinks"> **`enableFacebookDeferredApplinks(boolean isEnabled): void`**
support deferred deep linking from Facebook Ads<br>
**NOTE:** use this api before ```init```.<br>For more information [Learn here](https://support.appsflyer.com/hc/en-us/articles/207033826-Facebook-Ads-setup-guide#integration)
*Example:*
```javascript
window.plugins.appsFlyer.enableFacebookDeferredApplinks(true);
```
| parameter | type | description |
| ----------- |-----------------------------|--------------|
| `isEnabled` | `boolean` | enable support deferred deep linking from Facebook Ads |
---
##### <a id="setUserEmails"> **`setUserEmails(emails, successC: void`**
Set user emails for FB Advanced Matching<br>
*Example:*
```javascript
let emails = ["foo@gmail.com", "bar@foo.com"];
window.plugins.appsFlyer.setUserEmails(emails, successC);
```
| parameter | type | description |
| ----------- |-----------------------------|--------------|
| `emails` | `String array` | String array of emails |
| `successC` | `function` | will trigger if the emails were sent successfully |
---
##### <a id="setPhoneNumber"> **`setPhoneNumber(phoneNumber, successC: void`**
Set phone number for FB Advanced Matching<br>
*Example:*
```javascript
let phoneNumber = "0548561587";
window.plugins.appsFlyer.setPhoneNumber(phoneNumber, successC);
```
| parameter | type | description |
| ----------- |-----------------------------|--------------|
| `phoneNumber` | `String` | String phone number |
| `successC` | `function` | will trigger if the number was sent successfully |
---
### <a id="deep-linking-tracking"> Deep linking Tracking

@@ -526,0 +577,0 @@

# Release Notes
### 6.1.20
Release date **December 16, 2020**
Release type: Major / **Minor** / Hotfix
**Overview and Highlights:**
- enableFacebookDeferredApplinks
- setUserEmails
- setPhoneNumber
### 6.1.11

@@ -3,0 +13,0 @@ Release date **December 3, 2020**

2

package.json
{
"name": "cordova-plugin-appsflyer-sdk",
"version": "6.1.11",
"version": "6.1.20",
"description": "Cordova AppsFlyer SDK Plugin",

@@ -5,0 +5,0 @@ "cordova": {

# Release Notes
### 6.1.20
Release date **December 16, 2020**
Release type: Major / **Minor** / Hotfix
**Overview and Highlights:**
- enableFacebookDeferredApplinks
- setUserEmails
- setPhoneNumber
### 6.1.11

@@ -3,0 +13,0 @@ Release date **December 3, 2020**

var exec = require('cordova/exec'),
argscheck = require('cordova/argscheck'),
AppsFlyerError = require('./AppsFlyerError');
var callbackMap = {};

@@ -276,3 +275,33 @@

/**
* use this api If you need deep linking data from Facebook, deferred deep linking, Dynamic Product Ads, or reasons that
* unrelated to attribution such as authentication, ad monetization, social sharing, user invites, etc.
* More information here: https://support.appsflyer.com/hc/en-us/articles/207033826-Facebook-Ads-setup-guide#integration
* @param args: boolean value
* @return
*/
AppsFlyer.prototype.enableFacebookDeferredApplinks = function (isEnabled) {
exec(null, null, 'AppsFlyerPlugin', 'enableFacebookDeferredApplinks', [isEnabled]);
};
/**
* Facebook Advanced Matching
* @param args: phone number
* @param callbackContext
* @return
*/
AppsFlyer.prototype.setPhoneNumber = function (phoneNumber, successC) {
exec(successC, null, 'AppsFlyerPlugin', 'setPhoneNumber', [phoneNumber]);
};
/**
* Facebook Advanced Matching
* @param args: Strings array of emails
* @param callbackContext: success functions
* @return
*/
AppsFlyer.prototype.setUserEmails = function (userEmails, successC) {
exec(successC, null, 'AppsFlyerPlugin', 'setUserEmails', [userEmails]);
};
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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc