ringcentral / engage-digital-messaging-ios

Engage Digital Messaging IOS SDK
Other
10 stars 6 forks source link

Crash when click on "OK" button to close the chat view controller #32

Closed ludriv closed 5 years ago

ludriv commented 5 years ago

Hello,

When I click on "OK" button to dismiss the chat view controller (from a push notification or by presenting manually) using dimelo.displayChatView() without setting the dimelo.delegate (delegate is nil) my app crashes.

I'm using the last version: 1.9.1

waelba commented 5 years ago

Hello @ludriv ,

You should setting the dimelo.delegate = self and overriding - (void) dimeloDisplayChatViewController:(Dimelo*)dimelo

ludriv commented 5 years ago

@waelbenabdallah thank you for replying me so fast. So there is no other way to just display the chat view controller (and close it) without implement the delegate?

waelba commented 5 years ago

@ludriv not for the moment maybe in the next releases :)