react-native-webview-android icon indicating copy to clipboard operation
react-native-webview-android copied to clipboard

Android onResume will turn webview into blank page

Open Blue-Lan opened this issue 8 years ago • 3 comments

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?

Blue-Lan avatar Oct 27 '16 14:10 Blue-Lan

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?

lucasferreira avatar Oct 28 '16 11:10 lucasferreira

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!

Blue-Lan avatar Oct 28 '16 20:10 Blue-Lan

+1

gongchao avatar Apr 22 '17 13:04 gongchao