Plugin.FirebasePushNotifications
Plugin.FirebasePushNotifications copied to clipboard
[Bug] Android: Updating notification channels result in `ArgumentException`
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
developbranch)