cfug / dio

A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.

Home Page:https://dio.pub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`no address assoiated with hostname` error in release build apk

toknT opened this issue · comments

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

Did you add the INTERNET permission to your release manifest?

commented

add the INTERNET permission to manifest 😂