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

Could i use this to replace FCM for a mqtt service #14

Open
holoduke opened this issue Mar 27, 2019 · 1 comment
Open

Could i use this to replace FCM for a mqtt service #14

holoduke opened this issue Mar 27, 2019 · 1 comment

Comments

@holoduke
Copy link

Looking into firebase fcm alternatives. Want to implement my own mqtt service. Does this lib helps maintaining a running service. Need to have that for checking server for new messages.

@mindbirth
Copy link
Owner

Snap Services follows the Intent Service approach where the service is only active while there is work being done - even if started as foreground service.

In any case, not sure what you want to achieve but I would suggest investigating a bit more on available alternatives such as: https://github.com/eclipse/paho.mqtt.android

If this doesn't suit you, this library will for sure help you achieve what you want, either by having a "normal" Snap Service or one launched in foreground mode. It's just a matter of implementing the behaviour you need.

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