I am trying to implement the Apple ID sign in on the web version of a Flutter web version of an app but it fails with the following exception:
[firebase_auth/unknown] An unknown error occurred: NoSuchMethodError: method not found: 'a2' on null
From the firebase.flutter.dev, I am using the following code to request authentication:
final provider = OAuthProvider("apple.com")
..addScope('email')
..addScope('name');
await _firebaseAuth.signInWithPopup(provider);
It won't open any pop-up, it just throws exception. I have followed every step from the firebase Authenticate using Apple documentation page.
Yesterday the error was on method "foreach" today on "a2". It works on native version though, in case you are wondering.
Aucun commentaire:
Enregistrer un commentaire