Library is sending multiple publish request to server on single publish request, happens frequently.
Environment
Operating system: iOS 12.3.1 (although its Os independent)
Software version:
Package Manager: Cocoa-pods
MQTTClient version: 0.15.3
MQTT Broker used: vernemq
Log description
I am printing mqttTransport id that look like in numbers(41, 42, 41, 42 ,41 ,42 ,41, 42) that is repeating every time.
Steps to reproduce
Keep iPhone in the active state, and after some time publish the request.
on publishing continuous request, it gets stuck in a loop frequently.
Expected behavior
no request in a loop.
Actual behaviour
publish request gets stuck in a loop
Other information
this is probably happening on poor internet and if publish is made when the internet is off and the request gets saved in core data managed by the library.
Short description
Library is sending multiple publish request to server on single publish request, happens frequently.
Environment
Log description
I am printing mqttTransport id that look like in numbers(41, 42, 41, 42 ,41 ,42 ,41, 42) that is repeating every time.
Steps to reproduce
Expected behavior
no request in a loop.
Actual behaviour
publish request gets stuck in a loop
Other information
this is probably happening on poor internet and if publish is made when the internet is off and the request gets saved in core data managed by the library.