SwiftMQTT icon indicating copy to clipboard operation
SwiftMQTT copied to clipboard

MQTT does not work in Background

Open Jeffkenly88 opened this issue 6 years ago • 1 comments

Hi,

I have been using this library and it does not work in Background. Maybe I'm doing something wrong

I used the version 2.0.0 and it worked, after I upgraded it, it stopped. I can't get it to respond to any incoming data from the internet.

Please help

Thank you

Jeffkenly88 avatar Oct 08 '18 08:10 Jeffkenly88

Step 1: Send message from server while APP is in background Step 2: APP not received the message in (mqttDidReceive()) Step 3: Manually open the app, immediately, it receives the message in (mqttDidReceive())

Jeffkenly88 avatar Oct 08 '18 09:10 Jeffkenly88