Skip to content

[BUG] Sending notification with channel #342

Description

@walnut-co

Describe the bug
I am using the following template to send the push notification to android devices with Channel

{
  "message": {
    "notification": {
      "body": "message body",
      "title": "Hello",
      "channel_id": "channel_name"
    }
  }
}

Should this work ? I am getting payload invalid from the azure portal.

Exception or Stack Trace
I am getting payload invalid from the azure portal and using c# getting payload errors

To Reproduce
Send test using azure portal with the above payload

Code Snippet

{
  "message": {
    "notification": {
      "body": "message body",
      "title": "Hello",
      "channel_id": "channel_name"
    }
  }
}

Expected behavior
It should send the notification to the channel in Android

Screenshots
If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

  • OS: [e.g. Windows 10]
  • IDE : [e.g. Visual Studio 2019]
  • Version of the Library used

Additional context
Add any other context about the problem here.

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

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