Unverified 提交 49b5747f authored 作者: JarvanMo's avatar JarvanMo 提交者: GitHub

don't check isWeChatRegistered

don't check isWeChatRegistered before check WeChat installation
上级 5bac174a
......@@ -46,11 +46,11 @@
}
- (void)checkWeChatInstallation:(FlutterMethodCall *)call result:(FlutterResult)result {
if (!isWeChatRegistered) {
result([FlutterError errorWithCode:resultErrorNeedWeChat message:@"Did you register your WxApi correctly? Or is your universal link correct?" details:nil]);
return;
} else {
// if (!isWeChatRegistered) {
// result([FlutterError errorWithCode:resultErrorNeedWeChat message:@"Did you register your WxApi correctly? Or is your universal link correct?" details:nil]);
// return;
// } else {
result(@([WXApi isWXAppInstalled]));
}
// }
}
@end
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论