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

Add support for subscribing to push notification #119

Open
xiaohuazhu opened this issue Jul 11, 2018 · 4 comments
Open

Add support for subscribing to push notification #119

xiaohuazhu opened this issue Jul 11, 2018 · 4 comments

Comments

@xiaohuazhu
Copy link

Hi guys,

Thanks for the great work.

I'm wondering if you guys have plan to add support for subscribing to push notification. It seems to be a quick one, for instance, I tweaked the subscribe_impl and it worked. I guess we just need to overload the subscribe* methods, right?

Would it be possible to add such support? or is there a reason why push subscription was not added?

Thank you again for your great work.

image

@bkircher
Copy link
Collaborator

Hi there!

Would it be possible to add such support? or is there a reason why push subscription was not added?

Should be possible and also not too complicated.

I think it simply wasn't added yet because nobody needed it hard enough or found the time to implement. So here it is, the obligatory: Pull Requests welcome 😄

@xiaohuazhu
Copy link
Author

xiaohuazhu commented Jul 12, 2018

Thank you for your reply. Will do when I finish my current work.

There's another question that I'm not sure if I can just mention it here to get a quick reply or I need to open a new issue. The question is that with the default cmake command line, I was able to build individual example i.e. make subscribe but when I try to make the whole project (mostly those tests, I guess) i.e. 'make', I get an error:
image

The error prompt does make sense to me since tests already exists as a directory. Did I miss something?

Thank you.

@bkircher
Copy link
Collaborator

Sean,

this just looks like you have your build directory right in the same directory where your sources are. Try to make a new build directory first, like mkdir build && cd build and execute cmake again like cmake ... This way you have no naming collisions.

@xiaohuazhu
Copy link
Author

Worked like a charm. Thank you very much!

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