This repository has been archived by the owner. It is now read-only.
Identifier For Vendor Plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/ios
www
README.md
plugin.xml

README.md

Deprecation notice

cordova-plugin-device now returns the Identifier For Vendor on device.uuid, so there is no point of continuing using this plugin https://www.npmjs.com/package/cordova-plugin-device

Identifier For Vendor Plugin

This plugin makes possible to get the iOS Identifier For Vendor code on phonegap apps https://developer.apple.com/library/ios/documentation/uikit/reference/UIDevice_Class/Reference/UIDevice.html#//apple_ref/occ/instp/UIDevice/identifierForVendor

On iOS 5 the error callback is called because Identifier For Vendor isn't supported on iOS 5

Installation:

cordova plugin add https://github.com/jcesarmobile/IDFVPlugin.git

Usage:

window.IDFVPlugin.getIdentifier(function(result){
                                      alert(result);
                                    },
                                    function(error){
                                      alert(error);
                                    });