-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
WebView stopLoading no longer working in onNavigationStateChange on Android #15679
Comments
same problem,how to fix it |
I had this issue on iOS, when trying to get an external link to stop loading in the webview and launch SafariView (via |
How to fix it for both iOS & Android? |
Since |
Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version? I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer. |
Still an issue in v0.53.0! |
Still same issue in Android in v0.53.3 |
Reopening as have seen various reports of this happening in 0.54 |
I've updated the original post with additional information from #18047 |
This comment has been minimized.
This comment has been minimized.
Can confirm that this is still not working in 0.55.4 |
still not work in 0.56 for some URL |
Migrated to react-native-webview/react-native-webview#8 and this issue can be closed. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 6.11.2
Yarn: 0.15.1
npm: 3.10.10
Watchman: 4.9.0
Xcode: Xcode 8.2 Build version 8C38
Android Studio: 2.2 AI-145.3537739
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.53.3 => 0.53.3 (reproduced in react-native: 0.54.2, 0.55.4)
Steps to Reproduce
Expected Behavior
Newly clicked url stops loading
Actual Behavior
Url keeps loading
Reproducible Demo
I'm quite stumped by this, since it was working a week or so ago on the same Android device, on react-native 0.44. However, I reverted the react-native version back to 0.44 and it's still not working. Might a Chrome update be responsible? iOS version appears to work.
The text was updated successfully, but these errors were encountered: