Integrate the chat/conversations to React native or Native iOS/Android App

marmik18
Member

Hello,

we want to integrate the live chat functionality to our App which is in React Native.
Is there any SDK or a way around to implement this functionality. 

 

I went through the documentation but could not find anything specific to this. But I have read this post which is around 2 years old, so was hoping if there is any update for it.

Thank you.

0 Upvotes
4 Replies 4
dennisedson
Community Manager

Hey @marmik18 !

Welcome to the Community!

For the most part, you would integrate as normal.  The only difference is that you would want to employ the

widget.refresh method as documented here

 

Thanks,

Dennis


We are excited to announce that the Community will be launching a weekly newsletter on November 2, 2020!
Sign up today!
0 Upvotes
marmik18
Member

Thank you @dennisedson 

For using the example code given in the documentation

window.HubSpotConversations.widget.refresh();

 

I need to have access to window, which is not available in React Native or Native Android/iOS.

0 Upvotes
dennisedson
Community Manager

hmmm.  I not familiar with React Native.

@Teun , do you have any insight into this?

Thanks,

Dennis


We are excited to announce that the Community will be launching a weekly newsletter on November 2, 2020!
Sign up today!
0 Upvotes
Teun
Contributor | Diamond Partner

@dennisedson Sadly, I do not. If the question is about (P)React I could offer some insights.
I have not tried to integrate Hubspot with React Native (yet).

0 Upvotes