-
Notifications
You must be signed in to change notification settings - Fork 2
Description
event from widget {"_dispatchInstances": {"_debugHookTypes": null, "_debugNeedsRemount": false, "_debugOwner": {"_debugHookTypes": [Array], "_debugNeedsRemount": false, "_debugOwner": [FiberNode], "_debugSource": undefined, "actualDuration": 10.614373996853828, "actualStartTime": 88413023.375458, "alternate": null, "child": [FiberNode], "childLanes": 0, "deletions": null, "dependencies": null, "elementType": [Object], "flags": 5, "index": 0, "key": null, "lanes": 0, "memoizedProps": [Object], "memoizedState": [Object], "mode": 2, "pendingProps": [Object], "ref": [Object], "return": [FiberNode], "selfBaseDuration": 6.101082995533943, "sibling": null, "stateNode": null, "subtreeFlags": 1049089, "tag": 11, "treeBaseDuration": 6.280249983072281, "type": [Object], "updateQueue": [Object]}, "_debugSource": undefined, "actualDuration": 4.171000003814697, "actualStartTime": 88413029.652958, "alternate": null, "child": null, "childLanes": 0, "deletions": null, "dependencies": null, "elementType": "RNCWebView", "flags": 1049088, "index": 0, "key": "webViewKey", "lanes": 0, "memoizedProps": {"allowsAirPlayForMediaPlayback": undefined, "allowsInlineMediaPlayback": undefined, "cacheEnabled": true, "dataDetectorTypes": undefined, "decelerationRate": undefined, "fraudulentWebsiteWarningEnabled": true, "hasOnFileDownload": false, "incognito": undefined, "injectedJavaScript": "
window.botpressWebChat.onEvent(
(event) => {
window.ReactNativeWebView.postMessage(JSON.stringify(event));
},
['*']
);
true; // note: this is required, or you'll sometimes get silent failures
", "injectedJavaScriptBeforeContentLoaded": undefined, "injectedJavaScriptBeforeContentLoadedForMainFrameOnly": true, "injectedJavaScriptForMainFrameOnly": true, "javaScriptEnabled": true, "mediaPlaybackRequiresUserAction": undefined, "messagingEnabled": true, "messagingModuleName": "", "newSource": [Object], "onContentProcessDidTerminate": [Function anonymous], "onFileDownload": undefined, "onHttpError": [Function anonymous], "onLoadingError": [Function anonymous], "onLoadingFinish": [Function anonymous], "onLoadingProgress": [Function anonymous], "onLoadingStart": [Function anonymous], "onMessage": [Function anonymous], "onShouldStartLoadWithRequest": [Function anonymous], "source": [Object], "style": [Array], "textInteractionEnabled": true, "useSharedProcessPool": true}, "memoizedState": null, "mode": 2, "pendingProps": {"allowsAirPlayForMediaPlayback": undefined, "allowsInlineMediaPlayback": undefined, "cacheEnabled": true, "dataDetectorTypes": undefined, "decelerationRate": undefined, "fraudulentWebsiteWarningEnabled": true, "hasOnFileDownload": false, "incognito": undefined, "injectedJavaScript": "
window.botpressWebChat.onEvent(
(event) => {
window.ReactNativeWebView.postMessage(JSON.stringify(event));
},
['*']
);