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

WearVerifyRemoteApp only works on App resume #613

Open
saschTa opened this issue Nov 28, 2022 · 4 comments
Open

WearVerifyRemoteApp only works on App resume #613

saschTa opened this issue Nov 28, 2022 · 4 comments

Comments

@saschTa
Copy link

saschTa commented Nov 28, 2022

The sample provided in WearVerifyRemoteApp
only works when a wear node is connected during onResume.

Unfortunately this will not handle a case, where user connects to his watch while app is running.

GMS does not provide any way to listen for wear nodes connecting/disconnecting continuously independent of their capabilities. This is required to tell if a install on watch UI is shown or not (More than 0 wear devices connected && 0 wear devices with capability X connected)

@yschimke
Copy link
Contributor

@yschimke
Copy link
Contributor

But thanks for flagging the problem in the sample app

@saschTa
Copy link
Author

saschTa commented Nov 28, 2022

On my devices (Android 12) this event never fires. Is there any special intentfilter that needs to be present?

@yschimke
Copy link
Contributor

Let me check, possibly com.google.android.gms.wearable.NODE_CHANGED ?

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

2 participants