UNPKG

cordova-plugin-imei

Version:

A cordova plugin to retrive IMEI reliably on Android devices.

27 lines (19 loc) 907 B
cordova-plugin-IMEI ====================== To install this plugin, follow the [Command-line Interface Guide](http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface). If you are not using the Cordova Command-line Interface, follow [Using Plugman to Manage Plugins](http://cordova.apache.org/docs/en/edge/guide_plugin_ref_plugman.md.html). Exposes 1 methods: - __get__: returns IMEI as string Each method takes two arguments, success and error functions. Usage examples: window.plugins.imei.get( function(imei) { console.log("got imei: " + imei); }, function() { console.log("error loading imei"); } ); ----- This plugin extended and uploaded to NPM by Simon Visser for corporate use. Contact me at simon.visser0@gmail.com if this publish is an issue. Original Author: https://github.com/aquto/cordova-plugin-imei