6.0.1 • Published 7 months ago

capacitor-intent-sender v6.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

capacitor-intent-sender

Plugin to send Android intents from Capacitor apps

Supported versions

Plugin VersionCapacitor VersionMaintained
6.0.06.*.*
1.1.05.*.*
1.0.*4.*.*

Install

npm install capacitor-intent-sender
npx cap sync

API

startActivity(...)

startActivity(intent: Intent) => Promise<void>

Launch a new activity

ParamTypeDescription
intentIntentThe description of the activity to start

Interfaces

Intent

PropTypeDescription
actionstringThe action to be performed
datastringThe data to operate on, expressed as a URI
categoriesstring[]Additional information about the given action
typestringThe explicit type of the given data
component{ package: string; class: string; }The explicit name of the target component class
extras{ key: string: unknown; }Any additional information to be passed to the target component
flagsnumberSpecial flags controlling how the intent is handled