Login with Google account using Firebase Auth

Hi there,

I’m attempting to integrate Firebase Auth into by project for Google login functionality.
I’m wondering if solutions for React is applicable to Ionic React? For instance the libraries:

import {
​​  GoogleAuthProvider,
​​  getAuth,
​​  signInWithPopup,
​​  signInWithEmailAndPassword,
​​  createUserWithEmailAndPassword,
​​  sendPasswordResetEmail,
​​  signOut,
​​} from "firebase/auth";

Is adopted in an implementation for React Native but in another implementation for Ionic React, the library import "@codetrix-studio/capacitor-google-auth"; is used instead.
It is mentioned somewhere that firebase auth has to meet some of the functionality of Capacitor. Can someone verify this? Can the libraries designed for React Native be adopted directly?

Thanks!