mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
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:
parent
9024ea516a
commit
c063652800
@ -37,7 +37,7 @@ export interface AndroidAccount {
|
|||||||
pluginName: 'DeviceAccounts',
|
pluginName: 'DeviceAccounts',
|
||||||
plugin: 'cordova-device-accounts',
|
plugin: 'cordova-device-accounts',
|
||||||
pluginRef: 'plugins.DeviceAccounts',
|
pluginRef: 'plugins.DeviceAccounts',
|
||||||
repo: 'https://github.com/danielsogl/cordova-device-accounts',
|
repo: 'https://github.com/xUnholy/cordova-device-accounts',
|
||||||
platforms: ['Android']
|
platforms: ['Android']
|
||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
@ -78,4 +78,13 @@ export class DeviceAccounts extends IonicNativePlugin {
|
|||||||
getEmail(): Promise<string> {
|
getEmail(): Promise<string> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get permissions for access to email registered on Android device 8.0+
|
||||||
|
* @returns {Promise<string>}
|
||||||
|
*/
|
||||||
|
@Cordova()
|
||||||
|
getPermissions(): Promise<string> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user