Xamarin.Android : The connection to Google Play services was lost due to service disconnection.
I am currently trying to test an Xamarin.Android App on both Emulators and Physical Device.
I am using Firebase to try and register users or login with already existing users.
On either of emulator and physical device. I get the response failure message:
The connection to Google Play services was lost due to service disconnection.
void RegisterUser(string name, string phone, string email, string password)
{
taskCompletionListener.Success += TaskCompletionListener_Success;
taskCompletionListener.Failure += TaskCompletionListener_Failure;
try
{
if (mAuth != null)
{
mAuth.CreateUserWithEmailAndPassword(email, password)
.AddOnSuccessListener(this, taskCompletionListener)
.AddOnFailureListener(this, taskCompletionListener);
}
}
catch (System.Exception)
{
}
}
With FailureListener throwing the error message.
Anything I missed?