@driedler If someone still facing the problem, it is resolved with two lines in cordova’s config.xml file:
<preference name="OverrideUserAgent" value="Mozilla/5.0 Google" />
<allow-navigation href="*" />
Thanks to this topic https://stackoverflow.com/questions/50263489/firebase-cordova-google-login-not-working