Socket
Book a DemoInstallSign in
Socket

pushwoosh-capacitor-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pushwoosh-capacitor-plugin

Pushwoosh plugin for Capacitor

1.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

pushwoosh-capacitor-plugin

Pushwoosh plugin for Capacitor

Install

npm install pushwoosh-capacitor-plugin
npx cap sync

API

onDeviceReady(...)

onDeviceReady(config: PushwooshConfig) => void
ParamType
configPushwooshConfig

registerDevice()

registerDevice() => Promise<{ pushToken: string; }>

Returns: Promise<{ pushToken: string; }>

unregisterDevice()

unregisterDevice() => Promise<void>

additionalAuthorizationOptions(...)

additionalAuthorizationOptions(options: AuthOptions) => void
ParamType
optionsAuthOptions

setTags(...)

setTags(config: PushwooshTags) => Promise<void>
ParamType
configPushwooshTags

getTags()

getTags() => Promise<{ tags: PushwooshTags; }>

Returns: Promise<{ tags: PushwooshTags; }>

getPushToken()

getPushToken() => { value: string | null; }

Returns: { value: string | null; }

getPushwooshHWID()

getPushwooshHWID() => { value: string | null; }

Returns: { value: string | null; }

getRemoteNotificationStatus()

getRemoteNotificationStatus() => Promise<{ status: RemoteNotificationStatus; }>

Returns: Promise<{ status: RemoteNotificationStatus; }>

setApplicationIconBadgeNumber(...)

setApplicationIconBadgeNumber(badge: number) => void
ParamType
badgenumber

getApplicationIconBadgeNumber()

getApplicationIconBadgeNumber() => Promise<{ badge: number; }>

Returns: Promise<{ badge: number; }>

addToApplicationIconBadgeNumber(...)

addToApplicationIconBadgeNumber(badge: number) => void
ParamType
badgenumber

getLaunchNotification()

getLaunchNotification() => { notification: string; }

Returns: { notification: string; }

clearLaunchNotification()

clearLaunchNotification() => void

setUserId(...)

setUserId(userId: string) => void
ParamType
userIdstring

setLanguage(...)

setLanguage(language: string) => void
ParamType
languagestring

postEvent(...)

postEvent(event: string, attributes?: Record<string, string> | undefined) => void
ParamType
eventstring
attributesRecord<string, string>

setMultiNotificationMode()

setMultiNotificationMode() => Promise<void>

setSingleNotificationMode()

setSingleNotificationMode() => Promise<void>

pushReceivedCallback(...)

pushReceivedCallback(callback: PushwooshNotificationCallback) => Promise<CallbackID>
ParamType
callbackPushwooshNotificationCallback

Returns: Promise<string>

pushOpenedCallback(...)

pushOpenedCallback(callback: PushwooshNotificationCallback) => Promise<CallbackID>
ParamType
callbackPushwooshNotificationCallback

Returns: Promise<string>

presentInboxUI(...)

presentInboxUI(params?: Record<string, any> | undefined) => void
ParamType
paramsRecord<string, any>

showGDPRConsentUI()

showGDPRConsentUI() => void

showGDPRDeletionUI()

showGDPRDeletionUI() => void

setCommunicationEnabled(...)

setCommunicationEnabled(enabled: boolean) => Promise<{ result: void | string; }>
ParamType
enabledboolean

Returns: Promise<{ result: string | void; }>

removeAllDeviceData()

removeAllDeviceData() => Promise<{ result: void | string; }>

Returns: Promise<{ result: string | void; }>

isCommunicationEnabled(...)

isCommunicationEnabled(success: (enabled: boolean) => void) => void
ParamType
success(enabled: boolean) => void

isDeviceDataRemoved(...)

isDeviceDataRemoved(success: (removed: boolean) => void) => void
ParamType
success(removed: boolean) => void

isAvailableGDPR(...)

isAvailableGDPR(success: (isAvailable: boolean) => void) => void
ParamType
success(isAvailable: boolean) => void

Interfaces

PushwooshConfig

PropType
projectidstring
appidstring
serviceNamestring

PushwooshTags

Type Aliases

AuthOptions

Record<string, number|string>

Record

Construct a type with a set of properties K of type T

{ [P in K]: T; }

RemoteNotificationStatus

Record<string,string|number|boolean>

PushwooshNotificationCallback

(message: string | null, err?: any): void

CallbackID

string

Keywords

capacitor

FAQs

Package last updated on 27 May 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.