-
Notifications
You must be signed in to change notification settings - Fork 226
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
Logging in and syncing on watch takes a long time #1047
Comments
Google token slowness appears to only really be an issue on debug buildsIn my testing on debug builds, I am seeing it taking anywhere from 1 minute to 4 minutes, just to get the token from Google and start making our API calls to login/refresh. In release builds, however, this seems to be around 20 seconds or so. Not great, but nothing like the crazy times I was seeing on debug builds. Another way of looking at this, on debug builds, I saw login with a Google account taking from 2m30s to 6 minutes. If I logged in to the same account with email/password, however the times were between 1 and 2 minutes. Something weird must be going on here, but I haven't dug into it since we're short on time and it seems like it may only be an issue with debug builds. Release builds still take >1 minute to log inTesting email/password login on release builds, I see times of between 1 and 2 minutes (roughly the same as on the debug builds), even when my watch is connected to fast wifi. It would be really good to get this time down. If we can't get this time down, perhaps we need to update the text on the logging in screen to give some indication about how it can take a long time (i.e., "Please be patient" or "This may take a while'). A set of funny, rotating messages might be even better. I have done some testing with the network-awareness library from this PR, and I have not noticed any significant difference on the login time. |
This is closely related to #1006 |
On a fresh install, if I log into one account that login takes a long time (1-2 minutes), but if I log out of that account and then log into a different account, the second login takes around 10 seconds. This makes me wonder if the baseline profile might do a lot to address this. |
It is possible for a user to dismiss the logging in dialog currently. I wanted to allow that just to avoid any risk of the user getting stuck on that dialog since the logic around showing/dismissing it is kind of tricky. If a user does dismiss it early though, the app performs very sluggishly (because it is still syncing in the background), and until the sync is complete the user will have missing podcasts/episodes/etc, so it's certainly not an ideal solution. I just wanted to mention that here since the slow login times probably increase the chances that a user will dismiss the "logging in" screen. |
Description
There are three issues I'm seeing:
Some things I've noticed:
Step-by-step reproduction instructions
Screenshots or screen recording
No response
Did you search for existing bug reports?
Device, Operating system, and Pocket Casts app version
Pixel watch running Wear OS 3, 7.40 pre-release PC build
The text was updated successfully, but these errors were encountered: