`no address assoiated with hostname` error in release build apk
toknT opened this issue · comments
tkn commented
Package
dio
Version
5.3.3
Operating-System
Android
Adapter
Default Dio
Output of flutter doctor -v
No response
Dart Version
No response
Steps to Reproduce
Response response = await dio.post(
url,
data: {},
);
Expected Result
exec reques without error.
Actual Result
no address assoiated with hostname
error in release build apk, but success in debug build apk
Alex Li commented
Did you add the INTERNET permission to your release manifest?
tkn commented
add the INTERNET permission to manifest 😂