* Helper to wrap cordova.exec in a Promise
(action, args = [])
| 93 | * Helper to wrap cordova.exec in a Promise |
| 94 | */ |
| 95 | #exec(action, args = []) { |
| 96 | return new Promise((resolve, reject) => { |
| 97 | cordova.exec(resolve, reject, "Authenticator", action, args); |
| 98 | }); |
| 99 | } |
| 100 | |
| 101 | async logout() { |
| 102 | try { |
no test coverage detected