🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

cordova-plugin-android-idfa

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-android-idfa

Cordova Advertising ID (IDFA) Plugin for Android using Google Play Services API

1.0.6
latest
Source
npm
Version published
Maintainers
1
Created
Source

cordova-plugin-android-idfa

Phonegap, Cordova, Intel XDK plugin for Android to get Advertising Id Info

Advertising ID (IDFA) Plugin for Android using Google Play Services

This plugin depends on com.google.play.services. Cordova (PhoneGap) 3.0+ Plugin to get Adertising ID (IDFA) on Adnroid device using Google Play Sercies API. Obtains advertising id (IDFA) info.

iOS CAUTION: This plugin is for Android Platform only.

Prerequisites:

  • A Cordova 3.0+ project for Android
  • Google Play Services API

Platform SDK supported

  • Android, using Google Play Services for Android

Quick start

To install this plugin, follow the Command-line Interface Guide. You can use one of the following command lines:

  • cordova plugin add cordova-plugin-android-idfa
  • cordova plugin add https://github.com/praves77/cordova-plugin-android-idfa.git

Make sure to review the Google Play Developer Program policy and terms

Javascript API

Note: All success callbacks are in the form 'function () {}', and all failure callbacks are in the form 'function (err) {}' where err is a String explaining the error reason.

Advertising id info

getAdInfo(success, error);

Gets the advertising id (IDFA) info (id and limit ad tracking flag).

  • {function()} success: success callback with {idfa: <advertising id (IDFA)>, limitAd: } as object argument.
  • {function()} failure: failure callback.

Advertising id

getAdId(success, error);

Gets the advertising id (IDFA).

  • {function()} success: success callback with {idfa: <advertising id (IDFA)>} as object argument.
  • {function()} failure: failure callback.

Limit Ad Flag

getLimitAdFlag(success, error);

Gets the limit ad tracking flag.

  • {function()} success: success callback with { limitAd: } as object argument.
  • {function()} failure: failure callback.

Keywords

cordova

FAQs

Package last updated on 14 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts