Push Notifications Releases
4.0.0 - March 26, 2026
Section titled “4.0.0 - March 26, 2026” Enhancement iOS
You can now IFDEF IOS to get an AppleNotification that contains the raw NSDictionary
Enhancement
Azure Notification Hubs now allow template registrations
3.3.3 - April 8, 2024
Section titled “3.3.3 - April 8, 2024”-
Fix AndroidOnEntry intent action was not being defaulted if not set
-
Enhancement AndroidOnReceived now sends an AndroidPushNotification which gives you access to the native message as well as helper methods to send the notification if in the foreground
public class MyPushDelegate : IPushDelegate{ public void OnReceived(PushNotification notification) {#if ANDROID var android = (AndroidPushNotification)notification; // android.NativeMessage; var builder = android.CreateNotificationBuilder(); android.SendNotification(1, builder);#endif }}3.3.2 - March 29, 2024
Section titled “3.3.2 - March 29, 2024”-
Enhancement AndroidAbility to set a custom push intent instead of the Shiny static string
-
EnhancementEnsure OnRegistered is always called
3.3.1 - March 26, 2024
Section titled “3.3.1 - March 26, 2024”-
Fix AndroidIPushDelegate.OnRegistered was being called twice during IPushManager.RequestAccess calls
-
Fix AndroidIPushDelegate.OnRegistered was not passing provider token
3.3.0 - March 18, 2024
Section titled “3.3.0 - March 18, 2024”-
BREAKING EnhancementPushDelegate now contains an OnUnRegistered event
-
BREAKING EnhancementPushDelegate.OnTokenRefreshed has been renamed to OnNewToken to be more concise as to its purpose
-
Enhancement AndroidFirebase will not attempt to initialize if it done by other libraries like Firebase Crashlytics
-
EnhancementMicrosoft.Azure.NotificationHubs updated to 4.2.0 for FCMv1 parameter which is set as default now
-
EnhancementIPushManager now access NativeRegistrationToken which is useful for debugging purposes
3.2.4 - February 3, 2024
Section titled “3.2.4 - February 3, 2024”-
Enhancement iOSIPushManager.RequestAccess now return AccessState.Unsupported on the simulator instead of letting an exception be thrown
-
EnhancementOld extensions for tags added back to IPushManager
3.2.3 - January 18, 2024
Section titled “3.2.3 - January 18, 2024”-
Enhancement AndroidAbility to configure intent action during registration
3.2.2 - January 3, 2024
Section titled “3.2.2 - January 3, 2024”3.1.0 - October 26, 2023
Section titled “3.1.0 - October 26, 2023” Enhancement iOS
IPushDelegate can now add IApplePushDelegate on Apple platforms to manage certain specific return values (UIBackgroundFetchResult & UIPresentationOptions) - Example below
Fix Android
OnEntry now responds to OnCreate for new activities
#if IOSusing UIKit;using UserNotifications;#endif
public partial class MyPushDelegate : Shiny.Push.IPushDelegate{ // .. left empty for brevity}
#if IOSpublic partial class MyPushDelegate : Shiny.Push.IApplePushDelegate{ // this is executed only in the foreground public UNNotificationPresentationOptions? GetPresentationOptions(PushNotification notification) { return UNNotificationPresentationOptions.Alert; }
// executed for all content-available notifications public UIBackgroundFetchResult? GetFetchResult(PushNotification notification) { return UIBackgroundFetchResult.NewData; }}#endif3.0.1 - September 19, 2023
Section titled “3.0.1 - September 19, 2023” Fix iOS
Provider push token is now returned by PushManager.RequestAccess instead of native token
3.0.0 - September 5, 2023
Section titled “3.0.0 - September 5, 2023” Enhancement Android
Android 13 Support for new POST_NOTIFICATION permissions
Enhancement
Now works on new xplat lifecycle management from Core
Enhancement
Internally rewritten to make architecture easier going forward - firebase, azure, etc all become plugins on top of native instead of full implementations