capacitor-android-intents
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

capacitor-android-intents

Simple intent tools for Capacitor on Android platform.

Install

npm install capacitor-android-intents
npx cap sync

Usage

API

registerBroadcastReceiver(...)

registerBroadcastReceiver(options: { filters: string[]; }, callback: (data: { [key: string]: any; }) => void) => any
Param Type
options { filters: {}; }
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; value: { [key: string]: any; }; }) => any
Param Type
options { action: string; value: { [key: string]: any; }; }

Returns: any


Dependencies (0)

    Dev Dependencies (18)

    Package Sidebar

    Install

    npm i capacitor-android-intents

    Weekly Downloads

    27

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    25.8 kB

    Total Files

    20

    Last publish

    Collaborators

    • it_mike_s