Skip to content

WebView wont update website on resume #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Code-PLeX opened this issue Aug 2, 2018 · 2 comments
Open

WebView wont update website on resume #145

Code-PLeX opened this issue Aug 2, 2018 · 2 comments
Labels

Comments

@Code-PLeX
Copy link

when ever the app resumes to foreground it wont update the website, when its closed without setting clear cache it wont update either.

if im displaying news website site and there are new stories, i wont be able to see them until i close the app, thats the case if i set clearCache: true, if its false i will never see the new articles.

so far i couldn't find any workaround, for when user resumes the app to foreground.

@lejard-h
Copy link
Collaborator

lejard-h commented Aug 5, 2018

Hi
do you have the issue on Android, iOS or both ?

@lejard-h lejard-h added the bug label Aug 5, 2018
@Code-PLeX
Copy link
Author

its actually because of cache, i forked your library and rewrote it in kotlin / swift instead of java / objective c

when im am done i will publish it and you can merge it or just continue with yours

to solve this problem you need to disable cache and refresh on resume (use with WidgetsBindingObserver) on android thats what solved the issue for me, testing on ios now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants