Recently, I've been utilizing tawk.to as the chat service for my client's AngularJS application. However, there seems to be an issue when accessing the chat widget on mobile devices. Once the widget is closed and reopened, it automatically shuts down, preventing users from chatting.
Following the instructions from the official site, we simply pasted a script at the bottom of the page:
var $_Tawk_API={},$_Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src=''; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })();
Upon further investigation, it was discovered that the problem stemmed from hash prefixing in the address bar. Each time the "Start Chat" button was clicked, another # symbol was added causing the chat widget to close due to the conversion of %23.
Despite searching high and low for a solution, the bug still persists. Can anyone offer assistance in resolving this issue?