zoho / SalesIQ-Mobilisten-ReactNative

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

Directly open Knowledgebase tab instead of Conversations #48

Closed Ramanpreet6262 closed 1 year ago

Ramanpreet6262 commented 1 year ago

I am using RN SDK for our Android app.

Version "react-native-zohosalesiq-mobilisten": "4.2.10"

So wanted to know if there is a way out by which I can directly open the knowledgebase tab instead of conversations on click of a custom button from my App.

Any of these solutions work:

I am not able to find any such method in docs, can you please help me in knowing if this is possible?

Thanks.

bhahirathan-mb-11956 commented 1 year ago

Hello @Ramanpreet6262!

Greetings from the Zoho SalesIQ team,

Please find the solutions to your requirements below,

1. Opening Knowledge-base directly: Option A: For this requirement, you may hide the conversations tab within Mobilisten using the setConversationVisibility API. Invoking this API with the param as false would result in the conversations tab behind hidden and would open the Knowledge-base tab directly.

Note: Your users would still be able to initiate support conversations from the knowledge-base tab via the floating chat button that will be present.

Option B: You can create a custom button on the sections/screens in which you want the knowledge base to be displayed and then open the knowledge based on the click of the custom button without opening the conversation. Mobilisten provides APIs that allow you to fetch the list of articles that are available. Please find the documentation for the same here.

If a user selects/taps on a specific article, you may invoke the openArticle API which would open the article directly if provided the article ID. This option gives you more power in terms of customization but requires some upfront work.

2. Reordering tabs (Having the Knowledge-base tab first followed by Conversations): At this moment it is not possible to reorder the bottom tabs in mobile SDK. However, we have forwarded this request to our product management team.

Feel free to write to us for further assistance.

Regards, Bhahirathan M

bhahirathan-mb-11956 commented 1 year ago

Hi @Ramanpreet6262 ,

We have added a new API to change the order of the Mobilisten bottom navigation tabs. Please check out version 5.0.0.

Regards, Bhahirathan M, Zoho SalesIQ.