Answer the question
In order to leave comments, you need to log in
React Native WebView and 302 Redirect on Android?
There is a WebView, inside I click on a link that leads to a 302 redirect. However, in onNavigationStateChange, I cannot catch the link itself with a 302 redirect, but I immediately catch the link to which this redirect leads.
At the same time on iOS it catches normally.
In my case, useful information is stored in the link with a 302 redirect in the form of GET parameters. I need to take them out.
For convenience, I dashed off a small example: https://snack.expo.io/@vudav/webview-302-redirect
Logs from different devices:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question