Driftt / drift-sdk-ios

Drift for iOS, for integrating Drift into your iOS application.
http://www.drift.com
MIT License
12 stars 17 forks source link

New Messages Popup on App Keep coming after close or leave the conversation from Drift #115

Open alpesh232 opened 3 years ago

alpesh232 commented 3 years ago

I am using drift on my app for giving help support to our customers. But once I close the conversation from https://app.drift.com/ or leave the conversation. It's not close from the app automatically. Every time once I open the app popup keeps coming for a long and every time the user has to dismiss that manually. Get so many complaints from customers also update the pod but still issue is there in the app.

Once I tap on the open button from that popup and read the message getting from the drift user and go back to the conversation list the badge number of the message not updated. Once close the app and open it again popup come up with the same state like unread message even I read that previously.

RBasiev commented 2 years ago

I also have this issue. The reason is that read message network task fails with error: Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." failed url: https://conversation2.api.drift.com/messages/12402467185/read-until?access_token=<value>

This domain is not available (conversation2 sub), thats why the message keeps presenting onscreen after it was read. @eoinoconnell can you help please?