Open asmplease opened 1 year ago
// Configure... var config = new FirebaseAuthConfig { ApiKey = "abc", AuthDomain = "xyz.firebaseapp.com" };
// ...and create your FirebaseAuthClient var client = new FirebaseAuthClient(config); try { var userCredential = await client.SignInAnonymouslyAsync(); } catch (FirebaseAuthException ex) { }
Exception occured during Firebase Http request. Url: https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key={key} Request Data: {"returnSecureToken":true} Response: Reason: Undefined
I tried the above . Works perfectly fine in console app . But when I do in Xamarin forms android it throws above error.
Since the response is empty, it looks like it didn't actually go thru. Do you have internet available in the Android instance, maybe do you need to explicitly allow it?
// Configure... var config = new FirebaseAuthConfig { ApiKey = "abc", AuthDomain = "xyz.firebaseapp.com" };
Exception occured during Firebase Http request. Url: https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key={key} Request Data: {"returnSecureToken":true} Response: Reason: Undefined
I tried the above . Works perfectly fine in console app . But when I do in Xamarin forms android it throws above error.