eclipse / paho.mqtt.java

Eclipse Paho Java MQTT client library. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
2.11k stars 882 forks source link

Would MQTTv5 support Android? #593

Open ghost opened 5 years ago

ghost commented 5 years ago

Hope that MQTTv5 could support Android too

jpwsutton commented 5 years ago

This library should work on Android without any issues, however due to changes in the Android Operating system, you will need to write your application with the assumption that the MQTT connection will die as soon as the phone goes into standby, this isn't something we can change in the client, but is instead an Application wide issue.

ghost commented 5 years ago

MQTTv5 is target on Java 8. But android os haven't fully supported Java 8.