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

Notifications on Android #440

Open
rgstephens opened this issue Jul 4, 2017 · 1 comment
Open

Notifications on Android #440

rgstephens opened this issue Jul 4, 2017 · 1 comment

Comments

@rgstephens
Copy link

rgstephens commented Jul 4, 2017

I'm trying to get notifications of a button press on a cheap key fob. The subscribe works but I don't receive any notifications. It looks like I need to also enable notifications or set the client configuration descriptor but I'm confused about this additional step.

It looks from the source code like the enable notification call is being made in the subscribeAction call.

I also see references, like in #218, that I need to set the Client Configuration Descriptor. What does this call look like?

Update

I think I'm running into a problem that's particular to the iTag fob and described here. I'm going to test with another fob to confirm before closing this issue.

@randdusing
Copy link
Owner

You should just have to call subscribe. There may be an issue with subscribe on some devices, which this PR may resolve. You could try merging this locally and seeing if it works. I'm hesitant to merge that PR since I'm not sure how it will affect everyone else.

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