livechat / chat-window-ios

Embeding LiveChat mobile chat window in iOS application
MIT License
24 stars 31 forks source link

Looking for ability to change `modalPresentationStyle` #84

Closed Britishfrog closed 3 years ago

Britishfrog commented 3 years ago

Hi LiveChat team!

Just started adopting your SDK for an internal proof of concept and was hoping to narrow down if the ability to change the presentation style was a current or projected option.

For now the default upon using the LiveChat.presentChat() function seems to be full screen. However on devices with irregular safe zones (and device with the "bunny ears") I would like to use a page sheet presentation style as it currently leaves the top safe zone as a noticeable white bar.

Any help is appreciated with this. Cheers!

kamil-szostakowski commented 3 years ago

Hello @Britishfrog this way of widget presentation is not currently supported. Initially, we decided to display the chat screen in a separate window to interfere with host apps in a minimal way. After your report, we started a discussion about giving developers more freedom to adopt the widget. The decision is not yet made but please follow the README page for the upcoming releases.