ios - 应用商店 ipv6 失败但无法重新生成 [英] ios - failing app store ipv6 but can't re-produce

查看:17
本文介绍了ios - 应用商店 ipv6 失败但无法重新生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用 React Native 开发的应用程序,它使用 API 来处理所有数据.该应用程序已经获得批准,没有任何问题,也没有崩溃.

I have an app that is developed in React Native and uses an API to handle all of the data. The app has already been approved with no problems and no crashing.

我(在 WWDC 之后)最近对该应用程序进行了一些更新,并在本地以及真实设备上测试了所有内容.该应用程序运行良好,完全没有崩溃.

I have (after WWDC) recently done some updates to the app and tested everything locally as well on a real device. The app works fine with no crashing at all.

Apple 的回复如下:

Apple have come back with the following response:

性能 - 2.1 你的应用在运行 iOS 的 iPad 和 iPhone 上崩溃了10.2 当我们连接到 IPv6 网络时: 1. 启动应用程序 2. 点击

"Performance - 2.1 Your app crashed on iPad and iPhone running iOS 10.2 connected to an IPv6 network when we: 1. Launched app 2. Tapped"

问题是我无法复制我本地机器上发生的问题(我们在办公室使用 ipv4)并且服务器不是 IPv6.

The issue is that I cannot replicate the issue happening on my local machine (we use ipv4 at our offices) and the server is not IPv6.

我做了一些研究,截至 WWDC(2015 年),应用程序无法发布到商店,除非它们的 APIS 位于 IPv6 服务器上.但是,我很难理解为什么这会导致应用程序崩溃,因为它在我的机器和我的设备上运行良好.

I did some research and as of WWDC (2015), apps cannot be released into the store unless their APIS are on IPv6 server. However, I'm struggling to understand why this would cause the app to crash as it does work fine on my machine and on my device.

有没有办法可以重现苹果遇到的问题?Apple 遇到的问题可能是因为 IPv6 问题吗?

Is there a way that I can replicate the issue that apple are having? And could the issue that Apple are having be because of the IPv6 issue?

推荐答案

遇到了同样的问题.然后发现当推送通知权限被用户拒绝时,我的应用程序没有处理这种情况.因此,最好检查您是否提示用户输入任何权限(当应用程序最初启动时),并查看当这些权限拒绝时应用程序是否按预期运行.(我的猜测是苹果的测试人员在测试时通常会拒绝这些权限)

Had the same problem. Then figured out that my app did not handle the scenario when the push notification permissions were rejected by the user. So it is best to check if you are prompting users for any permission (when app initially start) and see if the app behaves as expected when these permission are Rejected. (My guess is that testers at apple usually declines these permission when they are testing)

这篇关于ios - 应用商店 ipv6 失败但无法重新生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆