Socket
Socket
Sign inDemoInstall

capacitor-android-intents

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    capacitor-android-intents

Simple intent tools for Capacitor on Android


Version published
Weekly downloads
8
decreased by-70.37%
Maintainers
1
Install size
25.2 kB
Created
Weekly downloads
 

Readme

Source

capacitor-android-intents

Simple intent tools for Capacitor on Android platform.

Install

npm install capacitor-android-intents
npx cap sync

Usage

API

  • registerBroadcastReceiver(...)
  • unregisterBroadcastReceiver(...)
  • sendBroadcastIntent(...)

registerBroadcastReceiver(...)

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

Returns: any


unregisterBroadcastReceiver(...)

unregisterBroadcastReceiver(options: { id: string; }) => any
ParamType
options{ id: string; }

Returns: any


sendBroadcastIntent(...)

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

Returns: any


Keywords

FAQs

Last updated on 17 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc