小编doo*_*tin的帖子

React Native Android - 图像组件(网络) - 不会通过 https 加载

我在通过 https 加载任何图像时遇到问题。我正在使用 React Native 0.18,并且实现非常简单,例如在 Amazon 上使用图像:

将工作:

<Image style={styles.avatar} source={{uri: "http://ecx.images-amazon.com/images/I/71JxCVQ5ozL.jpg"}} />
Run Code Online (Sandbox Code Playgroud)

不会工作:

<Image style={styles.avatar} source={{uri: "https://images-na.ssl-images-amazon.com/images/I/41KoE8etwlL.jpg"}} />
Run Code Online (Sandbox Code Playgroud)

还有其他人看过这个吗?

感谢您的帮助。

android react-native

7
推荐指数
1
解决办法
1950
查看次数

标签 统计

android ×1

react-native ×1