@dolosplus/pushsns
v1.1.0
Published
Push notification plugin for AWS SNS
Readme
@dolosplus/pushsns
Push notification plugin for AWS SNS with Capacitor 3.x. Migration from my old pushsns
Install
npm install @dolosplus/pushsns
npx cap syncAPI
initSns(...)
initSns(options: { token: string; identityPoolId: string; region: string; }) => Promise<any>| Param | Type |
| ------------- | ----------------------------------------------------------------------- |
| options | { token: string; identityPoolId: string; region: string; } |
Returns: Promise<any>
subscribeTopic(...)
subscribeTopic(options: { platformArn: string; topic: string; endpoint: string; }) => Promise<any>| Param | Type |
| ------------- | ---------------------------------------------------------------------- |
| options | { platformArn: string; topic: string; endpoint: string; } |
Returns: Promise<any>
unsubscribeTopic(...)
unsubscribeTopic(options: { subscriptions: any[]; }) => Promise<any>| Param | Type |
| ------------- | -------------------------------------- |
| options | { subscriptions: any[]; } |
Returns: Promise<any>
