Hi @Harri_Sarsa, it will be great you can add more properties and functions to the Webview.
Particularly I’m interested in the
This is a very powerful property because it allows you full control over the content of a page when viewed in a webview. I’ve used this before on another platform to remove the elements from a page when viewing the page in a webview.
Here is an example. When using Stripe Checkout, there is a back button that a user can press to return to the payment page. If you’re using a webview you wouldn’t want this element to appear. With the
Also one of the main issues with webviews is that on android where there is a back button, users normally think clicking the back button will navigate them back on the webview. But this will rather go back in the app and therefore close the webview page. This restricts what can be achieved with webview.
A solution is will be to
goBack function of the webview. Then also add action that allows us to detect when the back button on the device is pressed so that modify the behavior of the default back button.