closed
MQTT problem on code
Dear Team,
I create a free account on hivemq for mqtt. and given url and port insert in code and env file but it does not working properly. Rider is not getting any ride. And flutter code through a error. Find below image
ATTACHED FILES
Asked 2 years ago on June 2, 2023 5:47 AM Comments 5 times
Vincent replied 2 years ago on June 2, 2023 6:48 AM
Hello,
Use this free broker.
Set this below configuration in .env file:
MQTT_HOST=
"broker.hivemq.com"
MQTT_PORT=1883
MQTT_ENABLE_LOGGING=
false
Constants.dart
broker.hivemq.com
", "", 1883);Set this above configuration and check. Share your admin panel URL.
- Vincent
Jao Bindas replied 2 years ago on June 2, 2023 6:08 AM
Still Facing the Same issue after install newly apk of both apps
Viktoria replied 2 years ago on June 2, 2023 5:55 AM
Please try to uninstall and reinstall again then try again.
Jao Bindas replied 2 years ago on June 2, 2023 5:54 AM
Yes I change in both app in constant.dart
Viktoria replied 2 years ago on June 2, 2023 5:51 AM
Hello Jao Bindas,
Have you changed URL and port in constant.dart file?
Thank you:)