AlejoDev desires to attract extra consideration to this query.
I created an Ionic 8 + Capacitor + Firebase undertaking and added the most recent model of AngularFire to it.
All the pieces works completely on Desktop however after I launch on my iPhone, there’s an error seems on Xcode console: [error] – ERROR {“code”:”auth/internal-error”,”customData”:{},”identify”:”FirebaseError”}
My app.module.ts appears like:
import { NgModule } from ‘@angular/core’;
import { BrowserModule } from ‘@angular/platform-browser’;
import { RouteReuseStrategy } from ‘@angular/router’;
import { IonicModule, IonicRouteStrategy } from ‘@ionic/angular’;
import { AppComponent } from ‘./app.part’;
import { AppRoutingModule } from ‘./app-routing.module’;
import { initializeApp, provideFirebaseApp } from ‘@angular/fireplace/app’;
import { getAuth, provideAuth } from ‘@angular/fireplace/auth’;
import { setting } from ‘src/environments/setting.prod’;
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule,
IonicModule.forRoot(),
AppRoutingModule],
suppliers: [{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
provideFirebaseApp(() => initializeApp(environment.firebaseConfig)),
provideAuth(() => getAuth())],
bootstrap: [AppComponent],
})
export class AppModule {}
I’ve spent lots of time attempting numerous issues nevertheless it would not work. I even put in the firebase sdk from xcode (I do not know if it is actually mandatory) and I additionally configured the GoogleService-Information.plist file, however the error nonetheless persists.
Do you’ve gotten any concepts how I can repair the issue ?