Open amigax opened 2 years ago
fixed using the following
Manifest:
<application android:name="io.flutter.app.FlutterApplication" android:label="Flutter eBook App" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true" android:networkSecurityConfig="@xml/network_security_config">
in network_security_config.xml, added this:
`
</base-config>`
When I try to read a book it sdtays on white screen, error is HtmlTask: HtmlTask failed java.io.IOException: Cleartext HTTP traffic to 127.0.0.1 not permitted