wecom_auth_plus 0.0.7
wecom_auth_plus: ^0.0.7 copied to clipboard
Flutter plugin for WeCom (Enterprise WeChat) auth. Supports configure, app-installed check, register, auth, and auto login flow.
0.0.7 #
- Fix stale auth-pending state blocking next login attempt:
- Add
resetAuth()to clear previous pending auth request before starting a new one. - Call
resetAuth()insideauthLoginAuto()automatically. - Clear stale pending auth state on Android activity/engine detach paths.
- Clear stale pending auth state on iOS
configure/register/resetflow.
- Add
0.0.6 #
- Improve Android device compatibility for WeCom SDK registration:
- Recreate
WWAPIafter activity attachment instead of relying only on engine context. - Retry
registerAppacross multiple Android contexts to better handle ROM differences on devices like OPPO. - Add richer Android registration logs for diagnosing vendor-specific registration failures.
- Recreate
0.0.5 #
- Fix Android register flow to match Flutter integration in real devices:
- Add official WeCom SDK dependency
com.tecent:sdk:3.0.0.7. - Add local AAR maven repo configuration for plugin consumption.
- Improve API initialization/register fallback and logging for faster diagnosis.
- Add official WeCom SDK dependency
- Keep iOS callback stability fixes and linker settings (
-ObjC) from previous version.
0.0.4 #
- Fix iOS crash in auth callback path:
- Add Objective-C category linker flag (
-ObjC) in podspec to ensure SDK categories are linked. - Add
@try/@catchguard aroundhandleOpenURLto prevent app crash on malformed callback payload.
- Add Objective-C category linker flag (
- Improve Android install detection robustness:
- Add
com.tencent.weworklocalandwxwork/wxworklocalquery declarations. - Combine SDK check + package manager fallback to reduce false
wecom_not_installed.
- Add
0.0.3 #
- Fix iOS auth callback stability:
- Avoid callback crash when
stateis nil. - Guard and clear pending callback to avoid duplicate/invalid invocation.
- Return normalized fields (
success,errCode,authCode,state,message).
- Avoid callback crash when
- Improve Dart result parsing compatibility for
errorCodeandcode.
0.0.2 #
- Improve publish quality and integration usability:
- Add clearer README sections for Android/iOS setup and callback handling.
- Add troubleshooting notes for common auth failures (
sendMessage=false,errCode=5). - Upgrade example app to include configurable fields and
authLoginAutoquick flow.
0.0.1 #
- Initial plugin scaffold for WeCom auth:
- Dart API: configure / isAppInstalled / register / auth / authLoginAuto
- Android MethodChannel skeleton with package check and auth request launcher
- iOS placeholder implementation
- Example app updated for quick verification