The Planets WebView Example
The Planets WebView Example shows how Branch links can be used in apps with web views.
It demonstrates a few common tasks:
-
This page is a web view, and this link to
the planet Saturn
is a deep link that opens back into content in this app.
-
This Branch link, a link to
the planet Jupiter,
is a Branch deep link that opens into this same web view. You can use the buttons at the top right
to navigate between web pages in this same web view. This example shows forward and back navigation
between web page that contain a Branch link.
-
Each planet page has a 'Share' button that demonstrates how to share Branch links that point to app
content that is in a web view.
The planet info can be shared as a link by email, etc., and those links will open to the
content in the app if the user has the app. Otherwise those links open to content on the web.