jamie-mh / AuthenticatorPro

📱 Two-Factor Authentication (2FA) client for Android + Wear OS
https://authenticatorpro.jmh.me
GNU General Public License v3.0
2.71k stars 194 forks source link

Lagging codes on WearOS #1135

Open JVKeller opened 2 months ago

JVKeller commented 2 months ago

Describe the bug Delay or lag in getting the newest code from phone after short idle time with Galaxy watch / Wear OS

To Reproduce Steps to reproduce the behavior:

  1. Log on the webapp
  2. open Authenticator on watch
  3. try to use code

Expected behavior Should log on using the displayed token.

App Version 1.24.1 Phone 2.15.1 Wear OS

Additional context The displayed code with be behind by two, or sometimes three, tokens. It will eventually cycle through to the current one, but the app or screen will have shut off by then.

jamie-mh commented 1 month ago

The codes on the watch are generated using the system clock. Do you have a time difference between your phone and the watch? That's the likeliest explanation.

Thanks

JVKeller commented 1 month ago

Nope, same time. My guess would be some cache or syncing timing.

Some times when you open it, you'll see a code that will change after a few seconds, and sometimes the next code will only show 5-10 seconds, and then then third code is back on track.

mrturkeyfarmer commented 1 day ago

Can confirm a similar issue, when accessing the code from the tile screen, the code is often out of sync.

If the app is opened to the code of choice, they always seem to be in sync

Galaxy Watch 5 Pro Samsung Galaxy S23 Ultra 1.25.1 Phone 1.25.1 Wear OS