Skip to content

Push Notification data payload may contain JSON, stringify before inserting into _PushStatus collection? #1458

Closed
@alanphoon

Description

@alanphoon

Data payloads for push notifications may contain JSON. In this scenario, it can break the _PushStatus object for that push notification when being inserted into DB.

Before inserting into _PushStatus collection, can we stringify the data payload? i.e. payload: JSON.stringify(body.data) Thanks.

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