Support Forum
WebChromeClient: can't find Taboola native SDK. have you registered the webview?
Hi there,
I via Taboola native to fetch content then I encounter a problem that fellowing below:
WebChromeClient: can't find Taboola native SDK. have you registered the webview?
I try to upgrade sdk to the latest version but the problem not solve.
=================== Full log =======================================
2019-10-24 10:28:11.476 27777-27777/? D/TaboolaWidget: updateMaxGPUSize :: called
2019-10-24 10:28:11.476 27777-27777/? D/TaboolaWidget: mScreenMaxHeight 1794
2019-10-24 10:28:11.476 27777-27777/? D/TaboolaWidget: setDefValues :: initialize fields with default values
2019-10-24 10:28:11.478 27777-27777/? D/TaboolaWidget: getWebViewClient :: initialized
2019-10-24 10:28:11.478 27777-27777/? D/TaboolaWidget: initWebView :: initialized WebView
2019-10-24 10:28:11.479 27777-27777/? D/TaboolaWidget: updateScrollBehaviour :: scroll enabled false
2019-10-24 10:28:11.480 27777-27777/? D/TaboolaWidget: updateScrollBehaviour :: scroll enabled true
2019-10-24 10:28:11.480 27777-27777/? D/TaboolaJs: setOnClickListener
2019-10-24 10:28:11.480 27777-27777/? D/TaboolaWidget: publisher[sdk-tester] mode[alternating-widget-without-video-1-on-1] placement[Mid Article] pageType[article] pageUrl[https://blog.taboola.com] viewID[1571884091480]
2019-10-24 10:28:11.492 27777-27777/? D/OptionalPageCommands: commandToLocalString {isUsedInTaboolaWidget:'true'}
2019-10-24 10:28:11.492 27777-27777/? D/OptionalPageCommands: getCommandsString _taboola.push({isUsedInTaboolaWidget:'true'});
2019-10-24 10:28:11.492 27777-27777/? D/TaboolaWidget: loadWebView html:
<head>
<meta name='viewport' content='width=device-width, user-scalable=no'/>
<script type="text/javascript">
!function (e, f, u, i) {
if (!document.getElementById(i)) {
e.async = 1;
e.src = u;
e.id = i;
f.parentNode.insertBefore(e, f);
}
}(document.createElement('script'),
document.getElementsByTagName('script')[0],
'https://cdn.taboola.com/libtrc/sdk-tester/mobile-loader.js',
'tb-mobile-loader-script');
</script>
<link rel="shortcut icon" href="#"/>
</head>
<body style='margin:0;padding:2px;border:0px blue solid;overflow:visible;'>
<div id='taboola1'>
</div>
<script type='text/javascript'>
window._taboola = window._taboola || [];
_taboola.push({isUsedInTaboolaWidget:'true'}); <!--commandsString-->
_taboola.push({
article: 'auto', <!--mPageType, mPageId-->
url: 'https://blog.taboola.com' <!--mPageUrl-->
});
_taboola.push({
mode: 'alternating-widget-without-video-1-on-1',
container: 'taboola1',
placement: 'Mid Article',
framework: 'mobile-sdk',
target_type: 'mix'
});
_taboola["mobile"] = [];
_taboola["mobile"].push({
publisher:"sdk-tester",
// set view id in order to prevent duplicated between different placements (optional)
taboola_view_id:1571884091480
});
_taboola.push({
flush: true
});
</script>
</body>
</html>
2019-10-24 10:28:11.704 27777-27777/? D/WebChromeClient: can't find Taboola native SDK. have you registered the webview?, source: https://cdn.taboola.com/libtrc/sdk-tester/mobile-loader.js From line 1
2019-10-24 10:28:11.910 27777-27777/? D/WebChromeClient: can't find Taboola native SDK. have you registered the webview?, source: https://cdn.taboola.com/libtrc/sdk-tester/mobile-loader.js From line 1