flutter_tawk
flutter_tawk copied to clipboard
Javascript exception on loading Tawk
Unhandled error PlatformException: PlatformException(runJavascript_failed, Failed running JavaScript, JavaScript string was: ' Tawk_API = Tawk_API || {}; Tawk_API.setAttributes({"name":"User name","email":"[email protected]","hash":"1872"}); ' Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=TypeError: undefined is not an object (evaluating 'e.Tawk_Window.app.$socket'), WKJavaScriptExceptionColumnNumber=15124, WKJavaScriptExceptionSourceURL=https://embed.tawk.to/_s/v4/app/62835fee0eb/js/twk-chunk-common.js, NSLocalizedDescription=A JavaScript exception occurred}, null)
Location package:flutter/src/services/message_codecs.dart:607 - StandardMethodCodec.decodeEnvelope