1.0.16 • Published 3 days ago

@pod-notification/web-push v1.0.16

Weekly downloads
-
License
ISC
Repository
github
Last release
3 days ago

POD Notification / Web Push

Web Push Notification Package

Installation

Install via npm :

npm i @pod-notification/web-push

Then , import this file and send config:

<script src="node_modules/@pod-notification/web-push/index.js" type="text/javascript"></script>
<script type="text/javascript">
    init( config = {
        appId: 'your app id',
        ssoId: ssoId,
        apiToken: string,
        data: [],
        isSubscriptionRequest: boolean,
        isProduction: boolean,
        disableBrowserNotification: boolean,
        onGetData: (data) => {
            console.log("get notification message data :", data)
        }
    })
</script>

Important Please move firebase-messaging-sw.js to your root of project

1.0.16

3 days ago

1.0.15

3 days ago

1.0.14

3 days ago

1.0.13

1 month ago

1.0.12

2 months ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.11

2 months ago

1.0.10

2 months ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

7 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago