Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when loading gpapi on mobile chrome #862

Open
runnedrun opened this issue May 12, 2023 · 0 comments
Open

error when loading gpapi on mobile chrome #862

runnedrun opened this issue May 12, 2023 · 0 comments

Comments

@runnedrun
Copy link

Important gapi.auth2 notice: gapi.auth2 has been deprecated and replaced with Google Identity Services. Please see https://developers.googleblog.com/2021/08/gsi-jsweb-deprecation.html for more information. If you have questions related to authentication/authorization please look at the associated documentation or post questions on Stack Overflow with the google-oauth tag.

Summary
When using firebase with firestore and firebase auth, v9.18.0 - 9.21.0, I get the following erroring when loading any page on mobile chrome, both on a device and with chrome dev tools emulator.

image

This error doesn't block execution, it seems to happen asynchronously, in the gapi onload callback, but it causes some issues down the line (mainly prevents logging in using firebase auth)

Browser(s)/Version(s)
mobile Chrome

Expected Behavior
There shouldn't be an error

Actual Behavior
Tell us what actually happened.

Steps to Reproduce
I haven't been able to get a very strong repro together since it only seems to happen when there is significant CPU load. I have confirmed that 1) it seems to be related to calling firebase/auth getAuth(). 2) if I delay my call to getAuth using a timeout, the error goes away. The error doesn't appear at all on web chrome.

I know this isn't super helpful, but was wondering if there is any known issue related to this. This started appearing in the last few weeks, with not changes to the code on our side.

You can see the error in production by opening this site on mobile: https://www.yayayomu.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant