最近解决了ios13设备以上 微信分享显示”正在连接“然后返回app没有二次跳转的问题。
微信自检在微信通过通用Universal Links唤起app的步骤停止了
而且控制台的log swcd显示 确实在app首次启动时候没有正确加载配置文件
Error getting enterprise-managed associated domains data. If this device is not enterprise-managed, this is normal: Error Domain=SWCErrorDomain Code=1701 "Failed to get associated domain data from ManagedConfiguration framework." UserInfo={NSDebugDescription=Failed to get associated domain data from ManagedConfiguration framework., Line=250, Function=<private>
经过调查 最后发现 apple-app-site-association 配置的路径 苹果官方文档仅仅说明了要配置到根目录下的.well-known子目录下(应该是最新的文档移除了配置在Universal Links根目录的说明),更新路径以后问题解决。目前友盟和微信还没有更新相关的说明。
The details dictionary only applies to the applinks service type; other service types don’t use it. The components key is an array of dictionaries that provides pattern matching for components of the URL.
After you construct the association file, place it in your site’s .well-known directory. The file’s URL should match the following format:
希望以上信息可以帮助有需要的人。
网友评论