feat(device-accounts): update plugin source (#2976)

* feat: updating device account wrapper with maintained fork with android 8.0 compatibility

* updating func to include getPermission for email permissions on android 8.0+

* revert package-lock as per feedback

* fix conflicts in package-lock.json, revert back to commit 49d7ca7375
This commit is contained in:
Michael Fornaro 2019-04-20 02:56:17 +10:00 committed by Daniel Sogl
parent 9024ea516a
commit c063652800

View File

@ -37,7 +37,7 @@ export interface AndroidAccount {
pluginName: 'DeviceAccounts',
plugin: 'cordova-device-accounts',
pluginRef: 'plugins.DeviceAccounts',
repo: 'https://github.com/danielsogl/cordova-device-accounts',
repo: 'https://github.com/xUnholy/cordova-device-accounts',
platforms: ['Android']
})
@Injectable()
@ -78,4 +78,13 @@ export class DeviceAccounts extends IonicNativePlugin {
getEmail(): Promise<string> {
return;
}
/**
* Get permissions for access to email registered on Android device 8.0+
* @returns {Promise<string>}
*/
@Cordova()
getPermissions(): Promise<string> {
return;
}
}