wechat_login library
微信登录插件,支持Android及iOS final wechatLogin = WechatLogin(...); await wechatLogin.init() final WechatLoginResponse res = await wechatLogin.login(); WechatLoginResponse 的errorCode 为WechatLoginErrorCode.success即为登录成功
Classes
- WechatLogin
- 微信登录插件主体
- WechatLoginResponse
- 此插件调用微信登录的最终返回结果
- WechatResponse
- 微信返回的用户信息
Enums
- WechatLoginErrorCode
-
登录状态值
可通过 WechatLoginErrorCodeExtension errorCode获取值,errorMsg获取错误消息
如
WechatLoginErrorCode.userDenied.errorCode