Cordova plugin for getting an Android device's phone number
Java JavaScript
Latest commit c67072c Jan 22, 2015 @oneminutedistraction Minor changes
Permalink
Failed to load latest commit information.
src/android/at/oneminutedistraction/phonenumber Minor changes Jan 22, 2015
www Minor changes Jan 22, 2015
LICENSE Initiali commit Jan 22, 2015
README.md Updated README.md Jan 22, 2015
plugin.xml Initiali commit Jan 22, 2015

README.md

phonenumber

Cordova plugin for getting an Android device's phone number

To add the plugin

cordova plugin add https://github.com/oneminutedistraction/phonenumber.git

To remove the plugin

cordova plugin remove at.oneminutedistraction.phonenumber

Usage

window.plugins.phonenumber.get(success, failed);

function success(phonenumber) {
    console.log("My number is " + phonenumber);
}