React native IOS IPv6支持
2017-06-21 09:56
357 查看
我的app在apple store被下架,下架的原因如下
Guideline 2.1 - Performance
We discovered one or more bugs in your app when reviewed on iPhone running iOS 10.3.1 on Wi-Fi connected to an IPv6 network.
Specifically, an error message was displayed when we attempted to log in. When we tapped “Ok” to close the error message, the app loaded indefinitely.
Please see attached screenshots for details.
我们首先需要测试IPv6的环境,以下是国外的一遍文章http://www.brianjcoleman.com/tutorial-how-to-test-your-app-for-ipv6-compatibility/
允许MAC电脑进行IPV6测试
OS X EL Capitan有一个隐藏的功能是允许通过网络分享来提供IPv6的地址,这个功能被添加到El Capitan是确保开发者的APP 可以在IPv6下运行, 它使用NAT64, 在IPv4的主机与模拟器的IPv6进行通信。
1. 确保你的MAC连接到网络, 但不是通过WI-FI连接
2. 打开System设置
3. 按下Option键,并点击Sharing, 并且保持Option键不松开
4. 在共享服务里,选择网络共享
5. 释放Option键
6. 在右侧选择Create NAT64 network
7. 选择一个你的网络连接, 比如Thunderbolt Ethernet(雷电的网卡)
8. 选择共享的方式WI-FI
9. 设置wi-fi名和密码
10. 勾选左侧的Internet sharing
11. 会弹出确认框,点击start
在实际的测试中,你要确保测试的机器,只能连接IPv6的网络,关闭你手要的4G网络服务
Guideline 2.1 - Performance
We discovered one or more bugs in your app when reviewed on iPhone running iOS 10.3.1 on Wi-Fi connected to an IPv6 network.
Specifically, an error message was displayed when we attempted to log in. When we tapped “Ok” to close the error message, the app loaded indefinitely.
Please see attached screenshots for details.
我们首先需要测试IPv6的环境,以下是国外的一遍文章http://www.brianjcoleman.com/tutorial-how-to-test-your-app-for-ipv6-compatibility/
允许MAC电脑进行IPV6测试
OS X EL Capitan有一个隐藏的功能是允许通过网络分享来提供IPv6的地址,这个功能被添加到El Capitan是确保开发者的APP 可以在IPv6下运行, 它使用NAT64, 在IPv4的主机与模拟器的IPv6进行通信。
1. 确保你的MAC连接到网络, 但不是通过WI-FI连接
2. 打开System设置
3. 按下Option键,并点击Sharing, 并且保持Option键不松开
4. 在共享服务里,选择网络共享
5. 释放Option键
6. 在右侧选择Create NAT64 network
7. 选择一个你的网络连接, 比如Thunderbolt Ethernet(雷电的网卡)
8. 选择共享的方式WI-FI
9. 设置wi-fi名和密码
10. 勾选左侧的Internet sharing
11. 会弹出确认框,点击start
在实际的测试中,你要确保测试的机器,只能连接IPv6的网络,关闭你手要的4G网络服务
相关文章推荐
- react-native-easy-toast, 一款简单易用的 Toast 组件,支持 Android&iOS.
- react-native-easy-toast, 一款简单易用的 Toast 组件,支持 Android&iOS.
- react-native 可滑动日历,支持ios/android
- 好用的ReactNative下拉刷新上拉加载的组件,支持iOS和Android
- 支持android&ios高度自适应及JS相互调用的组件react-native-webview2
- react-native-easy-toast, 一款简单易用的 Toast 组件,支持 Android&iOS.
- React Native之(支持iOS与Android)自定义单选按钮(RadioGroup,RadioButton)
- 支持android&ios高度自适应及JS相互调用的组件react-native-webview2
- gank.io (干货集中营) react-native版本,同时支持Android和iOS
- 在iOS6机子上运行 React-Native Demo, 自己编译 JavaScriptCore 源码,支持 iOS5.1 ,iOS 6
- ReactNativeiOS(二)读书记录 2代码结构
- ReactNativeiOS(二)读书记录 8动手写组件
- ReactNativeiOS(二)读书记录 7JSX在React-Native中的应用
- react-native的兼容性(Android、Ios)
- React-Native(iOS) 学习一 环境安装
- iOS开发——React Native入门总结
- iOS ReactNative环境配置搭建安装React-Native遇到的问题
- Facebook 开源安卓版 React Native,开发者可将相同代码用于网页和 iOS 应用开发