Skip to content

Notifications not being delivered due to url-args missing #35

Description

@DouglasLapsley

Issue: APNS request sends and returns a 200 status, but fails to deliver because "url-args" not present in the json_data sent in the request.

Resolution: Enable kwargs url-args argument that injects into json_data before request is made. Example of working request structure:

{"aps": {"alert": {"title": "My Title", "body": "This is my body text"}, "url-args": ["a", "b", "c"]}}

This assumes that the Push Notifications package website.json file has a urlFormatString with three %@ swapouts corresponding to a, b and c.

If I've just missed this then my apologies, but I can't see support for these anywhere. It makes it fail quite silently, relying on the webServiceUrl error reporting to get the feedback about the missing url-args.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions