Problems getting accounts on device

I’m trying to get the accounts registered on the device with the ionic device accounts plugin, however on promise it has not returned anything to me on the console.

My code is:

  testeSemNative() {
    DeviceAccounts.getPlugin().getEmail(
      account => console.log('Account' + account),
      error => console.error(error));

    DeviceAccounts.getPlugin().get(
     accounts => console.dir(accounts),
     error => console.error(error));
  }

  testeComNative() {
    this.deviceAccounts.get()
      .then(accounts => console.log(accounts))
      .catch(error => console.error(error));
  }

I researched in some places, and had a topic suggesting to use another code model, so I tried to perform a test using ionic native, and another test calling the plugin directly, but in both I could not get any results