chyiiiiiiiiiiii / flutter_zendesk_messaging

Zendesk-Messaging for Flutter developer
Apache License 2.0
31 stars 47 forks source link

Crash on logout due to TypeError when handling platform method call arguments #56

Closed duyhuynh258 closed 2 months ago

duyhuynh258 commented 3 months ago

Summary

When logging out the user using ZendeskMessaging.logoutUser() on iOS, the app crashes with the following error:

Steps to Reproduce

  1. Call ZendeskMessaging.logoutUser() in a Flutter app running on iOS.
  2. Observe the crash.

Expected Behavior

The user should be logged out without causing a crash.

Actual Behavior

The app crashes due to a type mismatch in the method channel arguments.

Flutter Version

[✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale en-VN)

Zendesk Messaging Version

2.8.0

Additional Information

chyiiiiiiiiiiii commented 2 months ago

Thanks for the issue. Please try v2.9.0.

duyhuynh258 commented 2 months ago

Thanks for the issue. Please try v2.9.0.

I verified and it works. Thank for your support!