【发布时间】:2017-07-05 12:53:41
【问题描述】:
我目前正在为我的 React Native 应用程序实施 SSL 证书固定。
我找到了great answer,详细解释了为IOS 和Android 归档此文件的步骤
但不幸的是,Android 解决方案只有在使用 Fetch API 发出请求时才有效,并且我正在尝试找到一个还包括 XMLHttpRequest API 的解决方案
【问题讨论】:
-
查看此开发者指南。也许会有所帮助。 developer.android.com/training/articles/security-config.html
标签: android ssl react-native