chyiiiiiiiiiiii / flutter_zendesk_messaging

Zendesk-Messaging for Flutter developer
Apache License 2.0
27 stars 43 forks source link

Fix crash on logout due to TypeError in method channel arguments #57

Closed duyhuynh258 closed 1 month ago

duyhuynh258 commented 1 month ago

This PR fixes the issue where the app crashes when logging out the user using ZendeskMessaging.logoutUser() on iOS. The crash was caused by a type mismatch in the method channel arguments.

Arguments sometimes is List:

image

Closes #56

duyhuynh258 commented 1 month ago

@chyiiiiiiiiiiii can I get a review?

chyiiiiiiiiiiii commented 1 month ago

Thanks for this pr. I already have a new version for this. Later, I will upgrade it.