Skip to content

[Bug] Android: Updating notification channels result in ArgumentExceptionΒ #140

@Bludator

Description

@Bludator

Description

The documented behavior is: If one creating a notification channel with existing ID the channels gets updated.

Now it results in

**System.ArgumentException:** 'CreateNotificationChannels failed: notificationChannelRequests contains NotificationChannelRequest with duplicate ChannelId: ["verification", "chat"] (Parameter 'notificationChannelRequests')'

The culprit is here. It merges new and existing channels next statement EnsureNotificationChannelRequests(...) checks for duplicates.

Basic Information

  • Version with issue: latest one (it is in the develop branch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions