Open 4refr0nt opened 8 years ago
We will fix the issue soon
So there are two bugs in cordova-plugin-mqtt.js file.
(args.retain===undefined) ? (args.retain=false) : (args.retain=true); To (args.retain===undefined) ? (args.retain=false) : "";
args.willTopicConfig.retain||true To args.willTopicConfig.retain === undefined ? true : args.willTopicConfig.retain
This will not be affected for the value undefined as it already handled previously.
I have created a PR for this retain issue, please approve it.
@snr-lab Thank you for the PR. Just wanted to know that have you verified completely ??
Thank you very much for accepting my PR. I am developing an mqtt app and I am verifying the plugin repeatedly.
I got one bug with my fix when will message is not configured. I have fixed the issue and raised the PR. Please approve it.
Can we mark this bug resolved as the issue is fixed?
We need to see for any more errors. Till then let it be open
Sent from my iPhone
On 27-Jul-2017, at 10:32 AM, Rahul Kundu notifications@github.com wrote:
Can we mark this bug as resolved as the issue is fixed?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I found one more bug. When we set keep alive 0 it automatically get changed to 60000. According to the documentation 0 is also a valid input. It actually disables keep alive feature.
Hello
It seems the issue is still there How to merge it in last release ?
I can also confirm that the bug is still there...
Can you try this https://github.com/ameykshirsagar/cordova-plugin-mqtt
If you pass
retain = false
when publish, thenretain
istrue
. Disablingretain
flag only ifretain
option isundefined