devbaji / vue3-google-login

Add Sign In With Google feature to your Vue 3 application
https://github.com/devbaji/vue3-google-login/
MIT License
202 stars 30 forks source link

Cannot read properties of undefined (reading 'accounts') #54

Closed Nomango closed 6 months ago

Nomango commented 7 months ago

Hi, there. I received some error reports after importing this package. image

It seems that this anomaly only occurs on mobile devices. (Chrome Mobile with Android 10 only) image

Possibly caused by this line. https://github.com/devbaji/vue3-google-login/blob/5cd5853890abbe27ffcbabf3151742ba26acdbe2/src/plugin/utils.ts#L259

devbaji commented 6 months ago

@Nomango Does this issue still exists? Can you help me replicate this issue? I don't have access to real device with android 10, I tried android emulator Pixel 3 XL with Android 10, but login was working fine image

devbaji commented 6 months ago

Please feel to reopen if this issue still exists