Web Intent
This Plugin provides a general purpose shim layer for the Android intent mechanism, exposing various ways to handle sending and receiving intents.
联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.
Ionic Web Intent插件的安装(Installation)
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
Ionic Web Intent插件支持的平台(Supported Platforms)
- Android
Ionic Web Intent插件的用法(Usage)
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);