🚀 Big News: Socket Acquires Coana.Learn more
Socket
Sign inDemoInstall
Socket

notification-plugin-android

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notification-plugin-android

In app notification popup message & notification Permission

0.0.29
latest
Source
npm
Version published
Maintainers
1
Created
Source

notification-plugin-android

in app notification popup message

Install

npm install notification-plugin-android
npx cap sync

API

  • checkNotificationPermission()
  • addListener('inAppNotificationTriggered', ...)
  • Interfaces
  • Type Aliases

checkNotificationPermission()

checkNotificationPermission() => Promise<{ status: "granted" | "denied" | "not_applicable"; }>

Returns: Promise<{ status: 'granted' | 'denied' | 'not_applicable'; }>

addListener('inAppNotificationTriggered', ...)

addListener(eventName: notificationEvents, listener: (event: notificationMessage) => void) => Promise<PluginListenerHandle>
ParamType
eventName'inAppNotificationTriggered'
listener(event: notificationMessage) => void

Returns: Promise<PluginListenerHandle>

Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>

Type Aliases

notificationEvents

'inAppNotificationTriggered'

notificationMessage

{ message: string; }

Keywords

capacitor

FAQs

Package last updated on 26 Mar 2025

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