I am working on an android app which have local HTML pages to show in WebView
and an option to share some content on Facebook
using ShareDialog
.
- When
ShareDialog
is shown after aWebView
loading started, It keeps loading and nothing happens. Even if I closeWebView
and showShareDialog
it keeps loading. - When
ShareDialog
is shown beforeWebView
loading started, It works right.
I have try clearing WebView
cache before showing ShareDialog
.
I was calling
webView.pauseTimers()
fromonPause()
of my Fragment, which is stopping allWebView
process, resulting in above error.Fixed it by
webView.resumeTimer()
before showing dialog.