- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们正在使用 App Clips,虽然使用 Apple 的 App Clip Codes 会很好,但有效载荷限制似乎小得无法使用。甚至尝试对一个相对较短的 URL 进行编码,如下所示:
AppClipCodeGenerator generate --url 'https://www.example.com/1234567890ABCD' --index 8 --output ./appclip8.svg
返回错误:
Compressed URL too large: The compressed URL byte size exceeds supported payload size of the App Clip Code.
因此,对任何有用的内容进行编码的唯一方法是将所有参数保存在数据库中并在 URL 中进行引用,但这会增加额外的往返请求以检索该数据。我错过了什么吗?
最佳答案
来自 Apple
An App Clip Code can only contain a limited amount of information, andas a result, the tools you use to create the code compress the encodedinvocation URL. The underlying encoding algorithm can encode somewords efficiently, while some characters may reduce the algorithm’sefficiency. As a result, the exact length of an invocation URL you canencode in an App Clip Code varies based on the ASCII characters andwords you use.
When you create an App Clip Code, both App Store Connect and the AppClip Code Generator command-line tool inform you if your invocationURL is too long.
To ensure you can encode your invocation URL in an App Clip Code:
Use the minimum number of characters you need to uniquely identify aresource. Long unique identifiers (UUIDs) lower the effectiveness ofthe encoding.
Use a short host name with as few subdomains as possible.
If possible, remove the www subdomain from your host name.
Use decimal numbers as values for query components.
Replace long query string argument names and values with shortstrings. For example, use https://example.com/?p=0 instead ofhttps://example.com/?status=view.
Omit a trailing slash (/) character at the end of the URL. Forexample, use https://example.com instead of https://example.com/.
关于apple-appclips - 为什么 App Clip 代码负载大小限制这么小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67500736/
我们正在使用 App Clips,虽然使用 Apple 的 App Clip Codes 会很好,但有效载荷限制似乎小得无法使用。甚至尝试对一个相对较短的 URL 进行编码,如下所示: AppClip
在视频中 Configure and link your app clips Apple 表明,Siri 可以根据用户的位置建议您的 AppClip。 我在文档中找不到这个 https://devel
使用 App Clip 创建了一个应用程序。 App Clip URL 显示为已验证。 Connect上的应用信息中已经设置了一张基本卡。 在 TestFlight 中设置了一个调用 URL。仅从 T
将 Xcode 版本更新到 12.5 后,App Clip 出现问题。 在 App Store Connect 上传期间,我收到警告:TMS-90876: Missing entitlement -
我是一名优秀的程序员,十分优秀!