android - mqtt client active on the smart device to be usable -


can confirm in order use mqtt protocol, app on smart device (ios or android) embedding mqtt client code, must active? if so, how can wake-up app remote server enable mqtt conversation? maybe push notification should alert smartphone user open app because important messages outstanding him?

for android app can start service run in background , receive published messages time.

for ios need wake application connect broker, usual approach use apple push notification service wake app up.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -