13. InAppBrowser

The InAppBrowser is a more recent addition to the Cordova API. It allows a web application to load content into a separate window. Originally created as independent Cordova plugins called ChildBrowser for Android and iOS, it was added to the Cordova project as InAppBrowser, then expanded to support other mobile device platforms.

Say, for example, that you want to show your application users additional web content. You could easily load additional content within your application’s main page and manage transitions to and from the content within your application, but sometimes you want a different experience for your users. You can also load the content in the system browser, but on iOS, for example, the user would have to perform ...

Get Apache Cordova API Cookbook 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.