emostar / flutter-zendesk

Zendesk plugin for Flutter
MIT License
32 stars 59 forks source link

Bug on zendesk.setVisitorInfo #4

Open erwintan96 opened 4 years ago

erwintan96 commented 4 years ago

i found a bug that always need to close my app to reset setVisitorInfo on myapp.

for example : i login with User A and i use zendesk (email : userA@gmail.com) then i log out when i login with User B and i use zendesk and the email still userA@gmail.com But, If i close my app and then open it again and use zendesk, i use zendesk the email is userB@gmail.com

is there any way to fix it?

Thank you..

emostar commented 4 years ago

As long as you are calling setVisitorInfo at each point of login, which it sounds like you are doing, it should be working. This plugin is just an interface to the Zendesk Chat SDK, so I would think that this is a bug in their SDK.

We would need to run a test program without using flutter (native Android or iOS) to verify it is an issue with the SDK.

emostar commented 3 years ago

@erwintan96 Are you still experiencing this issue?