{"id":1257,"date":"2021-01-16T01:50:33","date_gmt":"2021-01-15T16:50:33","guid":{"rendered":"http:\/\/leenux.kr\/?p=1257"},"modified":"2021-01-16T01:50:33","modified_gmt":"2021-01-15T16:50:33","slug":"flutter-unhandled-exception-bad-state-insecure-http-is-not-allowed-by-platform-%ec%97%90%eb%9f%ac-%ed%95%b4%ea%b2%b0","status":"publish","type":"post","link":"https:\/\/leenux.kr\/?p=1257","title":{"rendered":"[Flutter] Unhandled Exception: Bad state: Insecure HTTP is not allowed by platform \uc5d0\ub7ec \ud574\uacb0"},"content":{"rendered":"\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc5d0\ub7ec \ubc1c\uc0dd \uc6d0\uc778 : \uc548\uc804\ud558\uc9c0 \uc54a\uc740 HTTP \uc5f0\uacb0\uc740 iOS \ubc0f Android\uc5d0\uc11c \uae30\ubcf8\uc801\uc73c\ub85c \ube44\ud65c\uc131\ud654\ub428<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>\uacf5\uc2dd \ubb38\uc11c<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/flutter.dev\/docs\/release\/breaking-changes\/network-policy-ios-android\">https:\/\/flutter.dev\/docs\/release\/breaking-changes\/network-policy-ios-android<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>Android<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>AndroidManifest.xml<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;application android:usesCleartextTraffic=\"true\"\/><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>iOS<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>Info.plist<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;key>NSAppTransportSecurity&lt;\/key>\n&lt;dict>\n    &lt;key>NSAllowsArbitraryLoads&lt;\/key>\n    &lt;true\/>\n&lt;\/dict><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Unhandled Exception: Bad state: Insecure HTTP is not allowed by platform \uc5d0\ub7ec \ud574\uacb0 \ubc29\ubc95<\/p>\n","protected":false},"author":1,"featured_media":1001,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1257"}],"collection":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1257"}],"version-history":[{"count":1,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1257\/revisions"}],"predecessor-version":[{"id":1258,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1257\/revisions\/1258"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/media\/1001"}],"wp:attachment":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}