Socket
Book a DemoInstallSign in
Socket

capacitor-android-intents

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-android-intents

Simple intent tools for Capacitor on Android

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
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

capacitor

FAQs

Package last updated on 17 May 2023

Did you know?

Socket

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