我刚刚安装了react-native-image-crop。当我试图在实际的iPhone上制作照片时,我收到了一个相当奇怪的错误。'App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.'。这是因为我使用了metro builder吗?或者别的什么?
我的Info.plist:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>https://stackoverflow.com/questions/51363339
复制相似问题