OpenExternalUrl

Here you’ll find OpenExternalURL description and its attribute.

What is it?

Open the navigator by selecting the user with the informed URL.

Your structure is represented by the attribute below:

AttributeTypeRequiredDefinition
urlStringURL sent to navigator.

How to use it?

On the example below, you can see a screen that comes from BFF with a button that, when is clicked, opens the browser with a specific URL. If you want to test, it is necessary to use an endpoint of your BFF returning the code below and call it in the frontend:

Screen(
    child = Button(
        text = "Click me!",
        onPress = listOf(
            Navigate.OpenExternalURL(
                url = "https://docs.usebeagle.io/api/api-acoes/navigate/openexternalurl"
            )
        )
    )
)