Closed mtuygun closed 8 years ago
Thanks for your report!
Please tell us the following:
. Android version 5.1 and next versions. . Url I tried to load is https://mobile.twitter.com/ Thanks in advance.
Thanks!
WebView
?Thanks,
Thanks in advance.
You can see the screenshot. I can't see the tweets.
Thanks!
So regarding JavaScript, you have something like
myWebView.getSettings().setJavaScriptEnabled(true);
in your code, or at least not
myWebView.getSettings().setJavaScriptEnabled(false);
to disable it? It should be enabled by default and working, unless you explicitly disabled it.
Regarding Android System WebView, that means if you open "Play Store" on the device where you're testing your app, the "System WebView" app will be up-to-date? Can you double-check this?
What happens when you view that Twitter page in the original WebView
instead of the extended version from this library?
Thanks,
I have used
webview.init(getApplicationContext());
code in init procedure there is already javascriptEnable(true), you can see below.
webSettings.setAllowFileAccess(false); setAllowAccessFromFileUrls(webSettings, false); webSettings.setBuiltInZoomControls(false); webSettings.setJavaScriptEnabled(true); webSettings.setDomStorageEnabled(true);
when I use the original webview. I can see yhe tweets but as older theme.
I also realized that linkedin page can't loading... only white blank page :(
That's strange. But let's debug it:
im.delight.android.webview.AdvancedWebView
view in the layout is there and the myWebView = (AdvancedWebView) findViewById(R.id.webview);
line and the mWebView.loadUrl(...)
call in the Java code.WebView
while changing as few lines as possible. That is, you should probably have to change the reference in the layout and the class cast in the Java code only.WebView
?After that, we'll know. Thank you!
Thanks for all.
It's all about not the webview. It's all about about webview's settings below:
android:layout_width="match_parent" android:layout_height="match_parent"
it was
android:layout_width="fill_parent" android:layout_height="fill_parent"
Thanks for all support.
No problem!
Are you really sure it was the android:layout_width
and android:layout_height
attributes?
Anyway, great to hear that it's working now.
Thanks for everything again. Yes it's really weird.
When i tried to load twitter page. The tweets does't seem in page. You can only see headers!