iOS 应用程序因 cookie 未经许可而被拒绝
我的应用程序最近在 App Store 发布时被拒绝,原因如下:
我们注意到您的应用程序会访问您在收集 Cookie 时拥有的网络内容。 Cookie 可用于跟踪用户,但在收集用于跟踪的数据之前,您不得使用 App Tracking Transparency 来请求用户的许可。
最后一部分是正确的:我不应用应用程序跟踪透明度。
第一部分令人惊讶:
- 我没有通过 HTTPCookieStorage 显式访问 cookie,
- 我显示了应用程序中包含的使用条款网页。它不访问任何cookie。它有指向外部网站的链接,但我只能通过切换到 safari 来导航到这些网站(使用 UIApplication.shared.open(...))
所以:我如何确定我的应用程序如何/何时访问 cookie,这让苹果要求应用程序跟踪透明度?
My app was recently rejected for App Store release with the following reason:
We noticed your app accesses web content you own where you collect cookies. Cookies may be used to track users, but you do not use App Tracking Transparency to request the user's permission before collecting data used to track.
The last part is correct: I do not apply App Tracking Transparency.
The first part is surprising:
- I do not explicitly access cookies by HTTPCookieStorage
- I show a terms-of-use webpage which is included in the app. It does not access any cookies. It has links to external sites that do, but I only navigate to these by switching to safari (using UIApplication.shared.open(...))
So: How do I figure out how/when cookies are accessed by my app, which makes apple require App Tracking Transparency?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终向苹果公司询问了此事,得到的答复如下:
经过一番来回,我删除了捆绑的使用条款网页中的一些文本 - 从支持该应用程序的网站复制粘贴的内容,确实< em>指示 cookie 集合...与应用程序完全无关。
这成功了,该应用程序获得了批准。
I ended up asking Apple about the haps, and the reply stated the following:
After a bit back-and-forth, I removed some text in the bundled terms-of-use webpage - something copy-pasted from the website supporting the app, that indeed indicated collection of cookies... Completely irrelevant for the app.
That did the trick, and the app is approved.