Firebase Admin .NET SDK v1.8.0
Cloud Messaging
- Added
SubscribeToTopicAsync()andUnsubscribeFromTopicAsync()methods to theFirebaseMessagingclass for managing topic subscriptions. Thanks Leo-Mepham for the contribution. - Added support for specifying the analytics label for notifications via
AndroidFcmOptions,ApnsFcmOptionsandFcmOptionsclasses. Thanks RannyRanny for the contribution. - Introduced a new
FirebaseMessagingExceptionclass and aMessagingErrorCodeenum type for improved error handling support. All FCM APIs now throw instances of theFirebaseMessagingExceptionclass. This is a subclass of the existingFirebaseExceptiontype.