When I run my Flutter app that makes a network connection to an HTTP URL, I get an error: Bad state: Insecure HTTP is not allowed by platform
I get an exception like this every time I make a network request using Dio.
DioError [DioErrorType.DEFAULT]: Bad state: Insecure HTTP is not allowed by platform: <my_private_api_url>