Plugin to send Android intents from Capacitor apps
Plugin Version | Capacitor Version | Maintained |
---|---|---|
6.0.* | 6.*.* | ✅ |
1.1.0 | 5.*.* | ❌ |
1.0.* | 4.*.* | ❌ |
npm install capacitor-intent-sender
npx cap sync
startActivity(intent: Intent) => Promise<void>
Launch a new activity
Param | Type | Description |
---|---|---|
intent |
Intent |
The description of the activity to start |
Prop | Type | Description |
---|---|---|
action |
string |
The action to be performed |
data |
string |
The data to operate on, expressed as a URI |
categories |
string[] |
Additional information about the given action |
type |
string |
The 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 |
flags |
number |
Special flags controlling how the intent is handled |