TwinrDocs
Theme and screens / External URL Handling

External URL Handling

Decide which links open inside your app and which hand over to a browser.

Your app is a web view, so every link your customers tap has to go somewhere. This decides where.

Open General Settings from the gear above your screen list, then the External URL handling tab.

Set a default for each screen

The External URL handling tab listing every screen with its own Application or Mobile Browser setting

Every screen gets its own default. The three choices:

OptionWhat happens
ApplicationOpens in the current screen. Customers stay in your app and a back button appears in the navigation bar.
App BrowserOpens a browser on top of your app. The screen underneath keeps its place, and closing returns the customer exactly where they were.
Mobile BrowserLeaves your app and opens the phone's browser.

Which to choose. Keep your own pages in Application so customers never feel they have left. Use App Browser for links you want people to come back from — a help article, a terms page. Use Mobile Browser for anything that genuinely belongs outside, such as a social profile or a third-party checkout.

Override with custom rules

A default covers most links, but some need different treatment. Add custom rule creates an exception.

A custom rule with URL expression, match type, where to open, and the screens it applies to
FieldWhat it does
URL ExpressionThe text to match against the link, such as instagram.com.
Match asHow to compare it — for example Substring, which matches any URL containing that text.
Open inWhere matching links should open.
ScreensWhich screens the rule applies to.

The Screens picker is how you set something per screen. Pick one screen and the rule applies only there; pick several and it applies to each. There is no longer a separate per-screen settings page — everything is set here and scoped with this field.

A typical rule: open anything containing instagram.com in the Mobile Browser, on every screen — so a social link hands over to the Instagram app rather than loading a login wall inside yours.

Click Save as draft when you are done.

Common Questions

01A link opens a blank screen in my app.

Usually a site that refuses to load inside a web view — many payment and social pages do. Add a custom rule sending it to the Mobile Browser.

02Customers tap a link and never come back.

It is set to Mobile Browser, which leaves your app entirely. Use App Browser instead; closing it returns them to where they were.

03Do rules apply in order?

A custom rule takes precedence over the screen's default. Keep expressions specific enough not to overlap.