Closed duyhuynh258 closed 2 months ago
When logging out the user using ZendeskMessaging.logoutUser() on iOS, the app crashes with the following error:
ZendeskMessaging.logoutUser()
The user should be logged out without causing a crash.
The app crashes due to a type mismatch in the method channel arguments.
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale en-VN)
2.8.0
List<Object?>
Map<dynamic, dynamic>?
TypeError
_onMethodCall
Thanks for the issue. Please try v2.9.0.
I verified and it works. Thank for your support!
Summary
When logging out the user using
ZendeskMessaging.logoutUser()
on iOS, the app crashes with the following error:Steps to Reproduce
ZendeskMessaging.logoutUser()
in a Flutter app running on iOS.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
List<Object?>
instead of aMap<dynamic, dynamic>?
. This leads to aTypeError
in the_onMethodCall
function.