Navigation whitelisting

This controls all the URLs the web view itself can be navigated to. Applies to top-level navigations only. In case we don't specify any specific URL, the default file:/// is used for navigating web views:

    <!-- Allow links to google.com →<allow-navigation href="http://google.com/*" /><!-- Wildcards are allowed for the protocol, as a      prefix to the host, or as a suffix to the path        example maps.google.com, mail.inbox.com --><allow-navigation href="*://*.google.com/*" />

Get Hybrid Mobile Development with Ionic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.