1.2.0 • Published 8 months ago
capacitor-intents-android v1.2.0
capacitor-intents-android
Simple intent tools for Capacitor on Android platform.
Install
npm install capacitor-intents-android
npx cap sync
Usage
API
registerBroadcastReceiver(...)
registerBroadcastReceiver(options: { filters: string[]; categories?: string[]; }, callback: (data: { [key: string]: any; }) => void) => any
Param | Type |
---|---|
options | { filters: {}; categories?: {}; } |
callback | (data: { key: string: any; }) => void |
Returns: any
unregisterBroadcastReceiver(...)
unregisterBroadcastReceiver(options: { id: string; }) => any
Param | Type |
---|---|
options | { id: string; } |
Returns: any
sendBroadcastIntent(...)
sendBroadcastIntent(options: { action: string; extras: { [key: string]: any; }; }) => any
Param | Type |
---|---|
options | { action: string; extras: { key: string: any; }; } |
Returns: any
1.3.0-next.4
8 months ago
1.3.0-next.3
8 months ago
1.3.0-next.2
8 months ago
1.3.0-next.1
8 months ago
1.2.0
8 months ago
1.2.0-next.1
8 months ago
1.1.1
9 months ago
1.1.0
9 months ago
1.0.3
9 months ago
1.0.2
9 months ago
1.0.1
9 months ago
1.0.0
9 months ago