Skip to content

norfaizahain/notification-plugin-android

Repository files navigation

notification-plugin-android

in app notification popup message

Install

npm install notification-plugin-android
npx cap sync

API

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>
Param Type
eventName 'inAppNotificationTriggered'
listener (event: notificationMessage) => void

Returns: Promise<PluginListenerHandle>


Interfaces

PluginListenerHandle

Prop Type
remove () => Promise<void>

Type Aliases

notificationEvents

'inAppNotificationTriggered'

notificationMessage

{ message: string; }

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published