wecom_auth_plus 0.0.7 copy "wecom_auth_plus: ^0.0.7" to clipboard
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() inside authLoginAuto() automatically.
    • Clear stale pending auth state on Android activity/engine detach paths.
    • Clear stale pending auth state on iOS configure/register/reset flow.

0.0.6 #

  • Improve Android device compatibility for WeCom SDK registration:
    • Recreate WWAPI after activity attachment instead of relying only on engine context.
    • Retry registerApp across multiple Android contexts to better handle ROM differences on devices like OPPO.
    • Add richer Android registration logs for diagnosing vendor-specific registration failures.

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.
  • 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/@catch guard around handleOpenURL to prevent app crash on malformed callback payload.
  • Improve Android install detection robustness:
    • Add com.tencent.weworklocal and wxwork/wxworklocal query declarations.
    • Combine SDK check + package manager fallback to reduce false wecom_not_installed.

0.0.3 #

  • Fix iOS auth callback stability:
    • Avoid callback crash when state is nil.
    • Guard and clear pending callback to avoid duplicate/invalid invocation.
    • Return normalized fields (success, errCode, authCode, state, message).
  • Improve Dart result parsing compatibility for errorCode and code.

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 authLoginAuto quick 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
1
likes
140
points
400
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for WeCom (Enterprise WeChat) auth. Supports configure, app-installed check, register, auth, and auto login flow.

Homepage

Topics

#wecom #enterprise-wechat #authentication #login

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on wecom_auth_plus

Packages that implement wecom_auth_plus