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
- 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.
- Xcode / iOS setup
- Opened App.xcworkspace, not .xcodeproj.
- pod set up run, and FirebaseCore module compiles appropriately.
FirebaseApp.configure()
known as in AppDelegate.swift.
- Community / ATS
- App Transport Safety settings checked; community calls succeed.
- 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.