Getting current URL of Webview

Do you have a general question related to app development with Composer? Post it here!

NOTE: If you have a question about how to implement a feature in your app, please include screenshots of your implementation so far in the post. This will help others to understand your problem and you to get help faster!

Some resources to check before you post:

AppGyver Academy: SAP AppGyver Quick-Start

Troubleshooting FAQ: SAP AppGyver FAQ

I searched forum and doc to find way to get current URL of webview, but couldn’t find.
How I can get current URL of webview?

I’ve used two methods, depends on the use case:

Either I reconstruct the url while on the page by saving the url into an appVar which I can access anywhere I want, or I stay on that very page and load a modal or a component for continuing my business (like for login) which is closed when done, giving me back that same desired page which stayed in the background.

Can you help me to get a url of a website for example my webview accessing the page then i click on a page and the url changes to i want to get that url inside my app.

1 Like