Skip to content
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

Android onResume will turn webview into blank page #63

Open
Blue-Lan opened this issue Oct 27, 2016 · 3 comments
Open

Android onResume will turn webview into blank page #63

Blue-Lan opened this issue Oct 27, 2016 · 3 comments

Comments

@Blue-Lan
Copy link

Blue-Lan commented Oct 27, 2016

I try to use AppState API to determine the current state and call refs.webview.reload() when app becomes active (foreground), but it seems not working, and this problem only happens to Android, is there any direction for me to fix this?

@lucasferreira
Copy link
Owner

Hello @Blue-Lan ,

Just for research, have you tried the native implementation of WebView? https://facebook.github.io/react-native/docs/webview.html

The same problema are faced using the native webview or just with my react-native-webview-android package?

@Blue-Lan
Copy link
Author

Blue-Lan commented Oct 28, 2016

Hi, @lucasferreira

I have tried to use native WebView component,
it doesn't have this issue, but i need the file chooser features in yours!

@gongchao
Copy link

+1

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

No branches or pull requests

3 participants