Hello, I have a problem. I have a Wordpress site with learndash and I am creating a native app that will display learndash courses and lessons via an Android webview. The problem is that when I click on the "Finish" button of a lesson, on chrome I get a 302 followed by a redirection, but on the webview I get a 200. The webview reopens the page I'm on and doesn't redirect to the next page. I have no idea how to force the webview to redirect. The url when I press the button is not detected in the shouldOverrideUrlLoading, but I can catcher it in the shouldInterceptRequest. However, I can't find out the redirect URL by doing this. I've also enabled CORS in the site headers. Has anyone had a similar problem?
not kotlin but kotlin colored 3
c
Chrimaeon
04/19/2024, 2:38 PM
Please be aware, that this is a workspace for the Kotlin programming language and your general Android question is off-topic here. You might find helpful resources in the channel description.
Chrimaeon
04/19/2024, 2:39 PM
K android new Using Kotlin to build Android apps. Avoidnot kotlin but kotlin colored.