OpenFlutter / fluwx

Flutter版微信SDK.WeChat SDK for flutter.
Apache License 2.0
3.09k stars 499 forks source link

4.5.5 授权登录微信,提示:appid不能为空,错误码:10012 #613

Closed ToTovlen closed 5 months ago

ToTovlen commented 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

ToTovlen commented 5 months ago

填错appid了