googlesamples / google-services

A collection of quickstart samples demonstrating the Google APIs for Android and iOS
https://developers.google.com
Apache License 2.0
3.05k stars 2.53k forks source link

Reload the Sign In With Google button if user changes locale #515

Closed alexsaare closed 3 years ago

alexsaare commented 3 years ago

I can't find any documented way to reload the "Sign in With Google" button in JavaScript. I have to remove the script tag and the "button" div then re-add them.

Is there a better way to do this?

Apologies for posting here this question here, I do realise that this repository is for Android and iOS samples but there isn't a any other place I could find. This is the repo that the documentation pages have a link to and there is seemingly no other way to contact google developers.