Nativescript localhost http call fails on iOS

后端 未结 2 1898
我寻月下人不归
我寻月下人不归 2020-12-22 10:38

I am using Nativescript sidekick cloud build on windows to test my app on iOS - I have also connected my iPhone.

According to this post I am sending my http requests

2条回答
  •  -上瘾入骨i
    2020-12-22 10:49

    You can disable the security or add localhost as exception in your info.plist.

    NSAppTransportSecurity  
       
          NSAllowsArbitraryLoads  
     
    

提交回复
热议问题