zoho / SalesIQ-Mobilisten-iOS

Your mobile app's ideal live chat partner. Power up your iOS App with the SalesIQ Mobilisten iOS SDK.
https://mobilisten.io
11 stars 4 forks source link

Issue: The chat always start on portrait #13

Closed appstab-Dani closed 3 years ago

appstab-Dani commented 3 years ago

Describe the bug The chat always start on portrait

I might be missing something, but I couldn't see anything in the documentation about the orientation, it will be great if will work out of the box

To Reproduce That's how we do right now on code:

ZohoSalesIQ.initWithAppKey("....") ZohoSalesIQ.showLauncher(false)

ZohoSalesIQ.Chat.startChat(question: message) ZohoSalesIQ.Chat.show()

Expected behavior If the device rotate, the chat window should rotate with the device

In our case the iPad is on landscape, fixed on a mount so it is not as easy to rotate, but if you do, the chat keeps static not rotating with the device

Screenshots Simulator Screen Shot - iPad (7th generation) - 2020-10-08 at 16 13 42

Smartphone (please complete the following information): We are trying on an iPad in landscape

Rishabh-Raghunath commented 3 years ago

Hi @appstab-Dani This is a known behavior at the moment since Mobilisten does not support landscape mode. Landspace support and Split-layout for iPads are in the roadmap but we do not have a concrete ETA at the moment. We shall keep you posted once this is available for use and when the version is rolled out. Closing the issue for now. We shall re-open it once we take this up.

appstab-Dani commented 3 years ago

Awesome thanks!

Yes please, let us know when it will be available then we will update Mobilisten :)

Cheers, Dani

On Thu, Oct 8, 2020 at 5:56 PM Rishabh Raghunath notifications@github.com wrote:

Hi @appstab-Dani https://github.com/appstab-Dani This is a known behavior at the moment since Mobilisten does not support landscape mode. Landspace support and Split-layout for iPads are in the roadmap but we do not have a concrete ETA at the moment. We shall keep you posted once this is available for use and when the version is rolled out. Closing the issue for now. We shall re-open it once we take this up.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zoho/SalesIQ-Mobilisten-iOS/issues/13#issuecomment-705463993, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKBNOD6FYRSOSBDVB3F6DCDSJWEGPANCNFSM4SIOARIA .

-- Dani Olivan

Mobile Developer 1300 416 737 dani.olivan@spenda.co spenda.co [image: facebook] https://www.facebook.com/GetSpenda/ [image: linkedin] https://www.linkedin.com/company/spenda/ [image: instagram] https://www.instagram.com/getspenda/

appstab-Dani commented 3 years ago

We changed the order and it seems to be working better now:

ZohoSalesIQ.initWithAppKey("....") ZohoSalesIQ.showLauncher(false)

ZohoSalesIQ.Chat.show() ZohoSalesIQ.Chat.startChat(question: message)

Before we did startChat first and chat.show second, but if we show first seems to be in the appropriate orientation, just letting you guys know

ammarmarn commented 2 years ago

@Rishabh-Raghunath We are also facing this issue. Our app works in iPad in Landscape orientation but Zoho chat window always launches in Portrait mode (calling from a split screen). Our clients usually uses the app on restaurant cashier stand so they can't rotate the device. So we are looking forward to you to provide this feature in SDK.

ammarmarn commented 2 years ago

I managed it by limiting UISupportedInterfaceOrientations~ipad in info.plist to Landscape only. Sharing so could help anyone looking for solution till SDK take care of device orientation.