I encountered an issue with receiving messages, although everything works fine on another screen. The phone connects to the broker and can send messages, but when a message arrives on the topic, it doesn’t trigger .PublishedReceived.
if you change the screen, you need to connect with mqtt again.
the best practice is to use one screen with several arrangement.
The phone connects and can send messages to the topic, but it can't receive them.
show All the relevant blocks.
You need to subscribe after mqtt is connected, like in connectStateChanged when state is connected.
Thank you