收藏
回答

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()
        }

    }



回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容