Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GooglePlayServices.Nearby - IGmsServiceBroker.getService failed #802

Open
gebs opened this issue Sep 14, 2023 · 0 comments
Open

GooglePlayServices.Nearby - IGmsServiceBroker.getService failed #802

gebs opened this issue Sep 14, 2023 · 0 comments

Comments

@gebs
Copy link

gebs commented Sep 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant