Closed fireinice closed 2 years ago
Hm, from what I see, all of these are already in. Does it just not work in china for you?
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.
by some reasons, the china edition use a different version "wearos by google" app from google play. I thought that's the point.
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.
by android developer doc, it needs to add some deps in bundle
https://developer.android.com/training/wearables/creating-app-china?hl=en