matejdro / WearMusicCenter

Music control for Android Wear devices
GNU General Public License v3.0
25 stars 5 forks source link

not support wear os china edition #17

Closed fireinice closed 2 years ago

fireinice commented 2 years ago

by android developer doc, it needs to add some deps in bundle

https://developer.android.com/training/wearables/creating-app-china?hl=en

matejdro commented 2 years ago

Hm, from what I see, all of these are already in. Does it just not work in china for you?

fireinice commented 2 years ago

from my side, the phone can detect the watch, but the watch insists I did not install the app on the phone.

by the doc, it should assign the version of the play service by 10.2.0

dependencies { ... implementation("com.google.android.gms:play-services-wearable:10.2.0") ... }

I thought it may caused by the codes: val capabilities = capabilityClient.getCapability( CommPaths.PHONE_APP_CAPABILITY, CapabilityClient.FILTER_REACHABLE ).await() which seems affected by the difference mentioned above?

Correct me if I missed anything.

fireinice commented 2 years ago

by some reasons, the china edition use a different version "wearos by google" app from google play. I thought that's the point.

matejdro commented 2 years ago

It looks like chinese version only supports very old play services 10.2.0, which this app is not compatible with anymore.

If you want, you can get this old revision of the app, fork it and fix china support. I will not do so myself.