Go back after auto redirect
See original GitHub issueBug description:
webView.goBack()
doesn`t return to previous page if there was auto redirect to the third page.
To Reproduce:
- Open link, say site A. (sorry, can not provide real examples, case happens with web resource in the private network)
- Click on weblink that redirects to site B that automatically redirects to site C.
- Invoke
webView.goBack()
Expected behavior: Go back to site A.
Actual behavior: Go to site B and automatically redirect to C - infinite loop.
Environment:
- OS: Android
- OS version: Android 9
- react-native version: 0.59.8
- react-native-webview version: 5.11.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:6
Top Results From Across the Web
Go back after auto redirect · Issue #733 · react-native-webview ...
goBack () doesn`t return to previous page if there was auto redirect to the third page. To Reproduce: Open link, say site A....
Read more >Auto redirect users to the previous page - Stack Overflow
I want to automate the process so whenever they visit that page (page123.php) they redirected back to the previous one.
Read more >How to redirect browser window back using JavaScript
There are two approaches used to redirect the browser window back. Approach 1: Using history. back() Method: The back() method of the window. ......
Read more >How to use JavaScript to redirect a webpage after 5 seconds?
To redirect a webpage after 5 seconds, use the setInterval() method ... Step 1 − In the first step, we will define a...
Read more >Redirect Users - Auth0
Redirect Users. You can return users to specific pages (URLs) within your application after validating their ID Tokens (authentication).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
got stuck for too long with this…it’s not a pure RN
WebView
issue. Did a workaround which looks simplified like this:same problem+1
How to fix?