handleURL event behaviour on Android

Hi all, happy Friday!

I’m having an issue with a nativeWebview on Android devices, the handleURL events are being fired very late. Using the latest build of S2D - 2022.3665 (2022.2.23)

If I touch a link on the webview (in Android), the handleURL event does not fire until the page is loaded at which point I get the ‘link’ event and the ‘loaded’ event at exactly the same time.

Using the same code on iOS I get the ‘link’ event the moment I touch the link and the ‘loaded’ event when the page has finished loading.

Surely this cannot be right?

I’m implementing a webview in-app and want to simulate a loading spinner / cancel button - trouble is it’s only onscreen for a millisecond on so on Android. Works perfectly on iOS (and the simulator)

I’ve tested this on two pieces of Android hardware FWIW.

Many thanks in advance for any wisdom!