Build Mobile Apps with Ionic 2 and Firebase by Fu Cheng

Build Mobile Apps with Ionic 2 and Firebase by Fu Cheng

Author:Fu Cheng
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


Installation

Cordova plugins can be installed using either the command ionic plugin add or cordova plugin add. The plugins files are installed into the directory plugins.

$ ionic plugin add cordova-plugin-inappbrowser --save

After the inappbrowser plugin is installed in the app, we can access its API using the InAppBrowser module.

Open a URL

To open the story’s web page, we can create a new instance of InAppBrowser or use the static method InAppBrowser.open(url, target, options). The constructor of InAppBrowser has the same parameters as the method open(). url is the URL to open. target is the target to load the URL with following possible values: _self – If the URL is in the white list, opens it in the WebView; otherwise it opens in the InAppBrowser.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.