JohnDennis-9453 avatar image
0 Votes"
JohnDennis-9453 asked JohnDennis-9453 edited

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;

             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?

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do you want to connect to the firebase realtime database? If not, please share the your used API. If yes, do you use any network proxy? if you have use it, please close than make a test. Then please Google play service is running like this thread.

0 Votes 0 ·

Yes, I'm try to connect to Firebase realtime database, it used to work before, I have no idea where the issue came from. I have also a Web API which manipulates data from the same source, could that be the issue??

Also I'm not sure if this could be issue here is the current version of firebase I'm using:

0 Votes 0 ·
image.png (8.6 KiB)

0 Answers