zoho / salesiq-mobilisten-android-sample

Sample App to integrate SalesIQ Android SDK (Mobilisten)
https://mobilisten.io/
14 stars 4 forks source link

- Which property to set fixed orientation like portrait and landscape? ex: android:screenOrientation="portrait" #41

Closed JackeyPSSPL closed 10 months ago

JackeyPSSPL commented 1 year ago
bhahirathan-mb-11956 commented 1 year ago

Hi @JackeyPSSPL,

Thank you for reaching out to us regarding the issue. We apologize for the inconvenience caused.

We'll look into this issue and update you here.

Thanks, Bhahirathan M Zoho SalesIQ.

bhahirathan-mb-11956 commented 10 months ago

Hi @JackeyPSSPL ,

Thanks for your patience. Due to some limitations in Android, we are not able to provide a specific API for screen orientation from Mobilisten Android SDK. So, please add the below code inside the ... in your AndroidManifest file.

AndroidManifest.xml

<activity
    android:name="com.zoho.livechat.android.ui.activities.SalesIQActivity"
    android:screenOrientation="portrait" />
<activity
    android:name="com.zoho.livechat.android.ui.activities.ChatActivity"
    android:screenOrientation="portrait" />
<activity
    android:name="com.zoho.livechat.android.ViewBotCardImageActivity"
    android:screenOrientation="portrait" />
<activity
    android:name="com.zoho.livechat.android.ui.activities.ArticlesActivity"
    android:screenOrientation="portrait" />

I hope this helps. If the issue persists, please don't hesitate to contact our support team at support@zohosalesiq.com. We will be happy to assist you.

Regards, Bhahirathan M Zoho SalesIQ.