CORS Issues (IONIC 3)

后端 未结 1 484
无人及你
无人及你 2021-01-16 00:48

I’m trying to handle with CORS issues in livereload mode, but I wasn’t able to find a reasonable solution for that. My backend was developed in Java and it’s running on loca

相关标签:
1条回答
  • 2021-01-16 01:27

    Workaround only - Not a perfect solution


    I was running with the same problem, My ionic 3 app with ASP.net backend was working just fine, it was not working with IOS ( Iphone x - IoS 11 simulator ).

    Solution

    I changed the web view option of my ionic app.

    First, open config.xml and add the following properties

    <feature name="CDVWKWebViewEngine"> <param name="ios-package" value="CDVWKWebViewEngine" /> </feature> <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />

    Then remove all plugins and platforms then run or build your app

    Detailed steps given in this url

    0 讨论(0)
提交回复
热议问题