Web Intent


This Plugin provides a general purpose shim layer for the Android intent mechanism, exposing various ways to handle sending and receiving intents.


ionic cordova plugin add com-darryncampbell-cordova-plugin-intentnpm install @ionic-native/web-intent
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/web-intent

Supported Platforms

  • Android


For usage information please refer to the plugin's Github repo.

import { WebIntent } from '@ionic-native/web-intent/ngx';

constructor(private webIntent: WebIntent) { }


const options = {
  action: this.webIntent.ACTION_VIEW,
  url: 'path/to/file',
  type: 'application/vnd.android.package-archive'

this.webIntent.startActivity(options).then(onSuccess, onError);