Skip to content

A plugin to get user details such as email. Currently only providing support for User Email.

License

Notifications You must be signed in to change notification settings

harshitpthk/UserInfo-Cordova-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UserInfo-Cordova-Plugin

A plugin to get user details such as email. Currently only providing support for User Email.

##Usage: 1)from CLI inside your cordova project call

cordova plugins add https://github.com/xarv/UserInfo-Cordova-Plugin.git
  1. Add Permission to your AndroidManifestfile.xml file
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
  1. After Cordova has been loaded, you can use it the following way to get the email.
  var success = function(string){
    alert(string);
  };
  var error = function(string){
    alert("error");
  };
  getInfo("email",success,error,"email",[]);

About

A plugin to get user details such as email. Currently only providing support for User Email.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published