1.0.1 • Published 4 months ago

@droponio/capacitor-intent-fragment v1.0.1

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

capacitor-intent

Capacitor Js plugin for receveing and sending intents

Install

npm install capacitor-intent
npx cap sync

API

registerBroadcastReceiver(...)

registerBroadcastReceiver(options: { filters: string[]; }, callback: (data: { [key: string]: any; }) => void) => Promise<string>
ParamType
options{ filters: string[]; }
callback(data: { key: string: any; }) => void

Returns: Promise<string>


unregisterBroadcastReceiver(...)

unregisterBroadcastReceiver(options: { id: string; }) => Promise<void>
ParamType
options{ id: string; }

sendBroadcastIntent(...)

sendBroadcastIntent(options: { action: string; value: { [key: string]: any; }; }) => Promise<void>
ParamType
options{ action: string; value: { key: string: any; }; }

1.0.1

4 months ago

1.0.0

6 months ago

0.0.1

6 months ago