@droponio/capacitor-intent-fragment
v2.0.0
Published
Capacitor Js plugin for receveing and sending intents
Readme
capacitor-intent
Capacitor Js plugin for receveing and sending intents
Install
npm install capacitor-intent
npx cap syncAPI
registerBroadcastReceiver(...)
registerBroadcastReceiver(options: { filters: string[]; }, callback: (data: { [key: string]: any; }) => void) => Promise<string>| Param | Type |
| -------------- | ------------------------------------------------------- |
| options | { filters: string[]; } |
| callback | (data: { [key: string]: any; }) => void |
Returns: Promise<string>
unregisterBroadcastReceiver(...)
unregisterBroadcastReceiver(options: { id: string; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------- |
| options | { id: string; } |
sendBroadcastIntent(...)
sendBroadcastIntent(options: { action: string; value: { [key: string]: any; }; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------------------------------------------- |
| options | { action: string; value: { [key: string]: any; }; } |
