Hotwire Native: Google Sign In lib not being initialized

Hello everybody!

I’m playing around with Hotwire Native and stumbled upon odd issue: “Google Sign In” javascript lib is not being initialized in my Android app for some reason. At the same time the code works perfectly when run in browser (web ui).

Google does not provide esm lib, they offer to include script in header which loads automatically and assigns window.google object with some public API to work with.

<script src="https://accounts.google.com/gsi/client" async></script>

It looks like script is not being executed at all and window.google stays uninitialized at all times.