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 - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -