
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
pushwoosh-capacitor-plugin
Advanced tools
Pushwoosh plugin for Capacitor
npm install pushwoosh-capacitor-plugin
npx cap sync
onDeviceReady(...)
registerDevice()
unregisterDevice()
additionalAuthorizationOptions(...)
setTags(...)
getTags()
getPushToken()
getPushwooshHWID()
getRemoteNotificationStatus()
setApplicationIconBadgeNumber(...)
getApplicationIconBadgeNumber()
addToApplicationIconBadgeNumber(...)
getLaunchNotification()
clearLaunchNotification()
setUserId(...)
setLanguage(...)
postEvent(...)
setMultiNotificationMode()
setSingleNotificationMode()
pushReceivedCallback(...)
pushOpenedCallback(...)
presentInboxUI(...)
showGDPRConsentUI()
showGDPRDeletionUI()
setCommunicationEnabled(...)
removeAllDeviceData()
isCommunicationEnabled(...)
isDeviceDataRemoved(...)
isAvailableGDPR(...)
onDeviceReady(config: PushwooshConfig) => void
Param | Type |
---|---|
config | PushwooshConfig |
registerDevice() => Promise<{ pushToken: string; }>
Returns: Promise<{ pushToken: string; }>
unregisterDevice() => Promise<void>
additionalAuthorizationOptions(options: AuthOptions) => void
Param | Type |
---|---|
options | AuthOptions |
setTags(config: PushwooshTags) => Promise<void>
Param | Type |
---|---|
config | PushwooshTags |
getTags() => Promise<{ tags: PushwooshTags; }>
Returns: Promise<{ tags: PushwooshTags; }>
getPushToken() => { value: string | null; }
Returns: { value: string | null; }
getPushwooshHWID() => { value: string | null; }
Returns: { value: string | null; }
getRemoteNotificationStatus() => Promise<{ status: RemoteNotificationStatus; }>
Returns: Promise<{ status: RemoteNotificationStatus; }>
setApplicationIconBadgeNumber(badge: number) => void
Param | Type |
---|---|
badge | number |
getApplicationIconBadgeNumber() => Promise<{ badge: number; }>
Returns: Promise<{ badge: number; }>
addToApplicationIconBadgeNumber(badge: number) => void
Param | Type |
---|---|
badge | number |
getLaunchNotification() => { notification: string; }
Returns: { notification: string; }
clearLaunchNotification() => void
setUserId(userId: string) => void
Param | Type |
---|---|
userId | string |
setLanguage(language: string) => void
Param | Type |
---|---|
language | string |
postEvent(event: string, attributes?: Record<string, string> | undefined) => void
Param | Type |
---|---|
event | string |
attributes | Record<string, string> |
setMultiNotificationMode() => Promise<void>
setSingleNotificationMode() => Promise<void>
pushReceivedCallback(callback: PushwooshNotificationCallback) => Promise<CallbackID>
Param | Type |
---|---|
callback | PushwooshNotificationCallback |
Returns: Promise<string>
pushOpenedCallback(callback: PushwooshNotificationCallback) => Promise<CallbackID>
Param | Type |
---|---|
callback | PushwooshNotificationCallback |
Returns: Promise<string>
presentInboxUI(params?: Record<string, any> | undefined) => void
Param | Type |
---|---|
params | Record<string, any> |
showGDPRConsentUI() => void
showGDPRDeletionUI() => void
setCommunicationEnabled(enabled: boolean) => Promise<{ result: void | string; }>
Param | Type |
---|---|
enabled | boolean |
Returns: Promise<{ result: string | void; }>
removeAllDeviceData() => Promise<{ result: void | string; }>
Returns: Promise<{ result: string | void; }>
isCommunicationEnabled(success: (enabled: boolean) => void) => void
Param | Type |
---|---|
success | (enabled: boolean) => void |
isDeviceDataRemoved(success: (removed: boolean) => void) => void
Param | Type |
---|---|
success | (removed: boolean) => void |
isAvailableGDPR(success: (isAvailable: boolean) => void) => void
Param | Type |
---|---|
success | (isAvailable: boolean) => void |
Prop | Type |
---|---|
projectid | string |
appid | string |
serviceName | string |
Record<string, number|string>
Construct a type with a set of properties K of type T
{
[P in K]: T;
}
Record<string,string|number|boolean>
(message: string | null, err?: any): void
string
FAQs
Pushwoosh plugin for Capacitor
We found that pushwoosh-capacitor-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.