Ionic Webview


Access Web View utilities.

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

Stuck on a Cordova issue?


Community Enterprise
ionic cordova plugin add cordova-plugin-ionic-webview npm 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=YOURPRODUCTKEY npm install @ionic-enterprise/ionic-webview

Supported Platforms

  • Android
  • iOS


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

constructor(private webview: WebView) { }


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