Skip to content

Support content outside of aps namespace #96

@toddgower-hiatus

Description

@toddgower-hiatus

I run parse server 2.6.3 with push adapter 2.0.0.

Just upgraded from Parse Server 2.2.12 to 2.6.3 and now push-adapter doesn't seem to support the json format that I used before. Before the update, I sent my pushes with the following json:

{
    "aps":
    {
        "alert":
         {
            "title":"💸 Push notification title",
            "body":"content of my push notification."
         },
        "badge":1
    },
    "notificationId":"vS4tASH6nq"
}

Now, those notification are not received and I can only send content within the aps namespace:

{
    "alert":
    {
        "title":"💸 Push notification title",
        "body":"content of my push notification."
    },
    "badge":1
}

Is there a possibility to send content outside the aps namespace? I was using this to support my own push notification tracking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions