Hubspot Web View
class HubspotWebView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : WebView
HubspotWebView class is used for setting a custom headers, setting a user agent string It also loads the chat url including email and token
Functions
Link copied to clipboard
This show method shows the ChatURL which updates the chatflow if it passes as an arguments It also manages the UserAgent for Mobile and integrated javascript for load the widget It embedded extra header for the language changes Finally, it load the URL including all the changes