achilleasa / dart_amqp

Dart AMQP client implementing protocol version 0.9.1
MIT License
79 stars 40 forks source link

Not working on release mode (flutter) #36

Closed shinayser closed 5 years ago

shinayser commented 5 years ago

Hello everyone!

I am trying to develop an app using dart_amqp and it is working fine when in debug mode. But when I run the app on release mode, it can't connect to my Rabbit server:

ectionFailedException: Could not connect to MYSERVERADDRESS:5672 after 1 attempts. Giving up

Anyone have a clue about that could be causing this?

shinayser commented 5 years ago

Solved! The internet permission was missing on my Android.manifest. Just add it:

<uses-permission android:name="android.permission.INTERNET"/>