Forum Xamarin.Android

Firebase Cloud Messaging - ServiceVersionUpdateRequired

TripleDoubleTripleDouble BGMember ✭✭✭
I have downloaded Firebase Cloud Messaging demo -

But when I started I get ServiceVersionUpdateRequired message

 public bool IsPlayServicesAvailable()
            int resultCode = GoogleApiAvailability.Instance.IsGooglePlayServicesAvailable(this);
            if (resultCode != ConnectionResult.ServiceVersionUpdateRequired)
                if (GoogleApiAvailability.Instance.IsUserResolvableError(resultCode))
                    msgText.Text = GoogleApiAvailability.Instance.GetErrorString(resultCode);
                    msgText.Text = "This device is not supported";
                return false;
                msgText.Text = "Google Play Services is available.";
                return true;

Any ideas ?


  • TripleDoubleTripleDouble BGMember ✭✭✭

    I think that the problem is that there is not installed Google Play Services on the Emulator.

    When I start it on real device I get a message that Google Play Services is available.

    The problem now is that log token / Registration Token is null.

    As a result the google_app_id value logged to the output window does not match the **mobilesdk_app_id **value recorded in google-services.json.
    where Log.Debug(TAG, "google app id: " + Resource.String.google_app_id);

    Any ideas why Registration Token is null ?

Sign In or Register to comment.