Dio is working perfectly well on both Android and iOS but when I try to run thesame code base on mac Desktop, the application launches but I cant make any http call, I cant connect to any server. It just keeps timing out. I dont know maybe DIO is not compatuble with desktop yet.
This is the error I get
DioError [DioErrorType.other]: SocketException: Connection failed
(OS Error: Operation not permitted, errno = 1),
address = api.wykinkin.app, port = 443
I later discovered I needed to add:
<key>com.apple.security.network.client</key>
<true/>
to my macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements. from here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With