Skip to content

Push Notifications cannot be triggered from the admin dashboard #1130

@JGreenlee

Description

@JGreenlee

Push Notifications on the admin dashboard are not working, regardless of what options are selected.
Was this ever working before? I know we have been able to trigger custom push notifications in the past; has that only been by directly invoking the scripts in e-mission-server?

On my first attempt, both iOS and Android failed due to “Provided data_payload is in the wrong format”
Image

data_payload appears to come from “Survey Specs” on the admin dash. It expects JSON but we are passing a string (the default value is "Notify")

If “Survey Specs” is deselected, data_payload is None and we get a new error:

This Firebase config file does exist in our internal repo, but it's tucked under 'analysis' (nrelopenpath/analysis/conf/net/ext_service), so I don’t think the admin dash can access it

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