Jason
Jason
> > 查看了微信文档 > > 通过在Xcode中“TARGETS”一栏,在 “info”标签栏的“LSApplicationQueriesSchemes“添加weixin 和weixinULAPI,现在能唤起微信并且分享正常。但是贼慢了,点分享后估计要30s左右才能唤起微信。 > > 然后,universalLink 按照微信文档配置“[https://help.wechat.com/app/”,解决打开微信慢的问题。](https://help.wechat.com/app/%E2%80%9D%EF%BC%8C%E8%A7%A3%E5%86%B3%E6%89%93%E5%BC%80%E5%BE%AE%E4%BF%A1%E6%85%A2%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82) > > 我也照着微信文档配置了,safari 验证不成功 404。配置域名下的 `apple-app-site-association` 文件也是可以打开的。 是的,你是对的,需要根据 [苹果文档](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content) 配置你应用的Universal Links,否则即使唤起了微信,也会报“由于应用universal link 检验不通过”
我的解决办法是禁用androidx,具体为: // gradle.properties ``` android.useAndroidX=false #禁用AndroidX android.enableJetifier=false #禁止第三方jar包使用androidX ``` 但是问题来了,WeChatModule.java 采用的是 `import androidx.annotation.Nullable;`,那只能通过 npm [patch-package](https://github.com/ds300/patch-package) 来替换成 `import android.support.annotation.NonNull;`
这文章搁高考,就是满分作文了
> Same on Python 3.11.3 (The True->None modification worked)
直接用claude code不行吗?设置下别名也很容易切换的