You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have (finally) noticed one of the biggest problems I have. The GAPI client is often not initialised, but hangs just after loading. This is my setup, I'll mark where it hangs:
window.gapi.load('client:auth2',_=>{console.log('loaded GAPI')// hangs herewindow.gapi.client.init(gapiConfig).then(_=>{console.log('initialised GAPI')window.GAPIiniOK=truegapi.auth2.getAuthInstance().isSignedIn.listen(store.dispatch('gapiAuthListener'))// Not required anymore if global auth listener does its job!store.dispatch('user/updateAuthStatus').then(_=>{resolve()})}).catch(error=>{dispatch('authenticationError',{error,note: 'error during gapi initialisation'})reject()})})
It hangs right where I wrote the comment. But the load worked, but the client.init is not launched.
I even added a catch statement, but it doesn't get launched.
I have (finally) noticed one of the biggest problems I have. The GAPI client is often not initialised, but hangs just after loading. This is my setup, I'll mark where it hangs:
It hangs right where I wrote the comment. But the load worked, but the client.init is not launched.
I even added a catch statement, but it doesn't get launched.
Does anyone have any idea why?