I am currently using HIVEMQTT protocol in my android app and I am able to receive messages when my app is open or when it is running in the background however when i close my app completely the connection is lost and I am not longer able to receive messages. I need to be able to still recieve messages as I want the message to trigger an activity in my app to launch.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
MQTT client connection alive even when app is closed
|
3 | 2337 | July 2, 2021 | |
| Persistent Session and Queuing Messages java to android | 0 | 617 | November 16, 2022 | |
|
MQTT notifications for app
|
1 | 682 | June 12, 2023 | |
| Problems with hivemq in the background on Android | 1 | 43 | February 20, 2026 | |
| Connection lost while connect to broker | 1 | 1096 | December 10, 2021 |