Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

GooglePlayServices.Nearby - IGmsServiceBroker.getService failed #802

Open
@gebs

Description

@gebs

Xamarin.Android Version (eg: 6.0):

13.2.1.2 (d17-5/a8a26c7)

Operating System & Version (eg: Mac OSX 10.11):

Windows 11

Google Play Services Version

  • Installed Play Service Version: 23.34.15 (190400-560151436)
  • Xamarin.GooglePlayServices.Nearby 118.7.0.1

Describe your Issue

When trying to use the nearby api the following error is shown in the output:

[Parcel] Expecting binder but got null!
[GmsClient] IGmsServiceBroker.getService failed
[GmsClient] java.lang.IllegalStateException
[GmsClient] 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3019)
[GmsClient] 	at android.os.Parcel.createException(Parcel.java:2995)
[GmsClient] 	at android.os.Parcel.readException(Parcel.java:2978)
[GmsClient] 	at android.os.Parcel.readException(Parcel.java:2920)
[GmsClient] 	at com.google.android.gms.common.internal.zzad.getService(com.google.android.gms:play-services-basement@@18.2.0:9)
[GmsClient] 	at com.google.android.gms.common.internal.BaseGmsClient.getRemoteService(com.google.android.gms:play-services-basement@@18.2.0:14)
[GmsClient] 	at com.google.android.gms.common.api.internal.zabt.run(com.google.android.gms:play-services-base@@18.2.0:7)
[GmsClient] 	at android.os.Handler.handleCallback(Handler.java:942)
[GmsClient] 	at android.os.Handler.dispatchMessage(Handler.java:99)
[GmsClient] 	at android.os.Looper.loopOnce(Looper.java:346)
[GmsClient] 	at android.os.Looper.loop(Looper.java:475)
[GmsClient] 	at android.os.HandlerThread.run(HandlerThread.java:67)

the nearby api is not working.

I think it has something to do with the newest play services version, it was working fine before and if one uninstalls the playservice updates, it will work again.

Relevant information

Link to Demo Project: https://github.com/gebs/NearByTest

Minimal Repro Code Sample

See above

Steps to Reproduce (with link to sample solution if possible):

Start Project, accept permissions, error will be in console

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions