Ionic Webview

Contents

Access Web View utilities.

Requires the Cordova plugin: cordova-plugin-ionic-webview > 2.0. For more info, please see the Ionic Web View repository.

Installation

ionic cordova plugin add cordova-plugin-ionic-webviewnpm install @ionic-native/ionic-webview
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/ionic-webview

Supported Platforms

  • Android
  • iOS

Usage

import { WebView } from '@ionic-native/ionic-webview/ngx';


constructor(private webview: WebView) { }

...

img = this.webview.convertFileSrc('file:///Users/dan/camera-image-12345.png')