カテゴリー: 手順書,
メモです。
wabpage not available
The webpage at http://example.com could not be loaded because:
net::err_cleartext_not_permitted
Androidで準備されているテンプレートファイルをいろいろ試していると出てきた画面。AndroidManifest.xml を変更すると http:// でもいけるらしい。
PATH: android/app/src/main/AndroidManifest.xml
<application
android:name="io.flutter.app.FlutterApplication"
android:label="test_app"
android:icon="@mipmap/ic_launcher">
<application
android:name="io.flutter.app.FlutterApplication"
android:label="test_app"
android:icon="@mipmap/ic_launcher"
android:usesCleartextTraffic="true">
シミュレータを再起動で反映、無事非SSLページが開けた。
関連記事はまだありません