diff --git a/src/app/authentication.js b/src/app/authentication.js index 82e2f5f..f494c10 100644 --- a/src/app/authentication.js +++ b/src/app/authentication.js @@ -22,11 +22,14 @@ class Authentication { } initialize() { - hybrid.appLoaded().then((radioToken) => { - if (radioToken) { - this.setToken(radioToken) - } - }) + hybrid + .appLoaded() + .then((radioToken) => { + if (radioToken) { + this.setToken(radioToken) + } + }) + .catch(() => {}) // We don't have to do anything if there is no radio token at app load hybrid.on('authenticated', ({ radioToken }) => { this.setToken(radioToken) })