- 1.9.7版本bug问题 剪切板不能访问
微信universal_link校验不通过但是分享之类的都能正常使用, 在使用剪切板数据时候,UIPasteboard.general.string = "剪切板数据更改",但是: 1、直接调用 WXApi.openWXApp()打开微信后剪切板无数据,不能粘贴数据 2、不使用sdk中api,直接手动打开微信可以访问剪切板数据,直接粘贴数据 问题提了好久了,一直没有回复的,日志文件也都已上传,请看下面链接中评论 https://developers.weixin.qq.com/community/develop/doc/000826c3af09d0c1169e1c0f056800?source=templatec
2022-10-12 - SDK1.9.7UniversalLink校验失败,onNeedGrantReadPaste不调用?
微信SDK 检查Log发现如下: - -----checkUniversalLink----WXULCheckStep(rawValue: 0) --- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ] - -----checkUniversalLink----WXULCheckStep(rawValue: 1) --- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ] - -----checkUniversalLink----WXULCheckStep(rawValue: 2) --- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ] - -----checkUniversalLink----WXULCheckStep(rawValue: 3) --- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ] - -----checkUniversalLink----WXULCheckStep(rawValue: 4) --- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ] - -----checkUniversalLink----WXULCheckStep(rawValue: 5) --- WXCheckULStepResult[success: 0, errorInfo: Universal Link check failed. The application is launched by WeChat via scheme, suggestion: Common problems self-check guide: [微信开放平台App iOS端接入新版本SDK 常见问题自查指引] https://developers.weixin.qq.com/community/develop/doc/000ce0403bc9d0ea1a0a67f415b409] 按照文档接入的,之前一直是没问题的,而且,分享跳转之类的都是正常的,现在突然检查失败了。 新SDK中下面代理方法也不走,剪切版获取不到数据,不知道跟上面UniversalLink检查失败有关系没? func onNeedGrantReadPasteBoardPermission(with openURL: URL, completion: @escaping WXGrantReadPasteBoardPermissionCompletion) { //开发者可展示相关UI提示用户 // [self showReadPasteBoardNotice]; print("------------onNeedGrantReadPasteBoardPermission-------------") //允许OpenSDK读取剪切板 DispatchQueue.main.async { completion() } }
2022-09-20