Closed ToTovlen closed 5 months ago
有调用 fluwx.registerApi注册方法 // 注册微信插件 bool isOk= await fluwx.registerApi( appId: appWechatAppId, doOnAndroid: true, doOnIOS: true, universalLink: 'https://www.boolv.com/appul/apple-app-site-association' ); print(isOk);
返回true
fluwx .authBy( which: NormalAuth( scope: 'snsapi_userinfo', state: 'wechat_sdk_demo_test')) .then((res) { print(res); }); 能打开微信,但提示:微信登录失败, appid不能为空,错误码:10012
填错appid了
有调用 fluwx.registerApi注册方法 // 注册微信插件 bool isOk= await fluwx.registerApi( appId: appWechatAppId, doOnAndroid: true, doOnIOS: true, universalLink: 'https://www.boolv.com/appul/apple-app-site-association' ); print(isOk);
返回true
fluwx .authBy( which: NormalAuth( scope: 'snsapi_userinfo', state: 'wechat_sdk_demo_test')) .then((res) { print(res); }); 能打开微信,但提示:微信登录失败, appid不能为空,错误码:10012