Some native apps provide a hierarchical or multi-level navigation experience to users. See the video below for an example.
You may specify levels for each URL in your app using regular expressions. Whenever a user navigates to a URL with a higher level specified, the page will load in a new Android Activity or iOS ViewController.
Regex matches are prioritized top to bottom. If no match is found for a link, the link will open in the current level.
Note: Navigation hierarchy will load the new page in a new webview, and requires a full page load. If your site is a single-page-app driven by AJAX, then you may need to force a full page load using something like:
window.location.href = 'https://my-ajax-site/path";