HomeiOS DevelopmentNameless login with @angular/fireplace doesn't work in Ionic undertaking for iOS

Nameless login with @angular/fireplace doesn’t work in Ionic undertaking for iOS


I’ve an Ionic Angular app utilizing @angular/fireplace/auth to carry out nameless sign-in on iOS. The perform known as, nevertheless it by no means resolves or rejects. On Android and within the browser, it really works positive.

public async loginAnonymousUser() {
  console.log("FUNCTION LOG IN ANON");
  return await signInAnonymously(this.afAuth)
    .then(() => console.log("SUCCESS SIGNING IN!"))
    .catch(error => console.log("LOG IN ERROR:", error));
}

What has been checked / tried

  1. Firebase configuration
  • GoogleService-Information.plist is in ios/App/App and located through Bundle.essential.path
  • Bundle ID in plist matches App → TARGETS → Normal → Id → Bundle Identifier.
  • Plist goal membership is checked for the app goal.
  • firebaseConfig for AngularFire matches plist values.
  1. Xcode / iOS setup
  • Opened App.xcworkspace, not .xcodeproj.
  • pod set up run, and FirebaseCore module compiles appropriately.
  • FirebaseApp.configure()known as in AppDelegate.swift.
  1. Community / ATS
  • App Transport Safety settings checked; community calls succeed.
  1. Different
  • Verified plist is discovered and proper.
  • Verified auth.currentUser is null earlier than sign-in.
  • Works on Android, not on iOS.

Some other concepts what to test for are welcome. I’m out of concepts, and AI has confirmed nugatory to date.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments