Problems using the cordova-device-accounts plugin with ionic 2

The promise always returns undefined when i call the method DeviceAccounts.getEmails(). Here is the code that does that.

import { DeviceAccounts } from “@ionic-native/device-accounts”;

export class RegisterPage {
constructor(private deviceAccnts: DeviceAccounts) { }

public getEmailsAccounts():void{
res=> alert("Emails: "+res)
).catch(err=>alert("Error: "+err));

Please can someone help me out with this issue?

Same here. It seems like plugin is not working.

Same problem, please help us !

Same problem, please help us !

see TCP sockets in ionic

Thanks for help but not get any success :slightly_frowning_face: