Skip to main content

Web Intent

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

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.


$ npm install com-darryncampbell-cordova-plugin-intent $ npm install @ionic-native/web-intent $ ionic cap sync

Supported Platforms#

  • Android



Learn more about using Ionic Native components in React


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/'}
this.webIntent.startActivity(options).then(onSuccess, onError);