1.1.0 • Published 10 months ago

@dolosplus/pushsns v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@dolosplus/pushsns

Push notification plugin for AWS SNS with Capacitor 3.x. Migration from my old pushsns

Install

npm install @dolosplus/pushsns
npx cap sync

API

initSns(...)

initSns(options: { token: string; identityPoolId: string; region: string; }) => Promise<any>
ParamType
options{ token: string; identityPoolId: string; region: string; }

Returns: Promise<any>


subscribeTopic(...)

subscribeTopic(options: { platformArn: string; topic: string; endpoint: string; }) => Promise<any>
ParamType
options{ platformArn: string; topic: string; endpoint: string; }

Returns: Promise<any>


unsubscribeTopic(...)

unsubscribeTopic(options: { subscriptions: any[]; }) => Promise<any>
ParamType
options{ subscriptions: any[]; }

Returns: Promise<any>


1.1.0

10 months ago

1.0.2

3 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago