{"id":548,"date":"2018-10-04T06:10:23","date_gmt":"2018-10-04T06:10:23","guid":{"rendered":"http:\/\/bruceng.com\/dev\/?p=548"},"modified":"2018-10-04T06:10:23","modified_gmt":"2018-10-04T06:10:23","slug":"ionic-app-shows-up-in-chrome-development-tool-as-http-localhost8080-instead-of-file-android_asset","status":"publish","type":"post","link":"https:\/\/bruceng.com\/dev\/?p=548","title":{"rendered":"Ionic app shows up in Chrome development tool as http:\/\/localhost:8080 instead of file:\/\/\/android_asset\/&#8230;"},"content":{"rendered":"<p>Somehow uninstall the cordova plugin\u00a0 cordova-plugin-ionic-webview changes this.<\/p>\n<p>The application will then fall back to the old webview and so when trying to do a cors call, it won&#8217;t try to send a preflight request OPTIONS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Somehow uninstall the cordova plugin\u00a0 cordova-plugin-ionic-webview changes this. The application will then fall back to the old webview and so when trying to do a cors call, it won&#8217;t try to send a preflight request OPTIONS.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[82,80],"class_list":["post-548","post","type-post","status-publish","format-standard","hentry","category-problems","tag-cordova","tag-ionic"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=548"}],"version-history":[{"count":1,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions"}],"predecessor-version":[{"id":549,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions\/549"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}