Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Don't working push notification in browser (don't fire "push" event in SW) #1399

@MrMeison

Description

@MrMeison

Expected Behaviour

Push notification is working, "notification" event is fired

Actual Behaviour

Don't working push notification in browser.
I use Firebase for push notification, server worker load, but push event don't fire when message received.
pushServiceURL is default.

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Version 54.0.2840.99 m (64-bit)

Cordova CLI version and cordova platform version

"cordova": "6.4.0",
"browser" : "4.1.0"

Plugin version

"phonegap-plugin-push": "1.8.4"

Sample Code that illustrates the problem

this.push = PushNotification.init({
            android: {
                senderID: "XXXXXXXXXXX"
            },
            ios: {
                alert: "true",
                badge: "true",
                sound: "true"
            },
            browser: {},
            windows: {}
        })

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions