I'm doing a Compose Multiplatform app with Firestore, I was able to get Firestore working on iOS, but am struggling a bit on Android. All my viewModels are referenced in common code, but the Firebase.initialize() would be done in MainActivity, but then all the viewModels referenced inside common code have this exception occur.
java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.bryankeltonadams.banko. Make sure to call FirebaseApp.initializeApp(Context) first.