March 2025
We are excited to share the March SDK changelog for our product!
Note
Click each SDK header to view the corresponding GitHub repository for release details.
March 06
What's New
- Introduces priority support for Web Native Display campaigns, allowing better control over message selection and delivery.
Bug Fixes
- Combines multiple Web Native Display events into a single event with different
campaignSource
values.
Important API Changes
- Changes in the structure of
CustomEvents
payloads andlistener keys
, requiring modifications in user implementations.
March 05
What's New
- VAPID Migration and APNS Support
- Supports Apple Push Notification Service (APNS) in the new soft prompt.
- Sends prompt configurations on every page refresh.
Bug Fixes
- Fixes race conditions when
notifications.push
is called before web push configuration is available. - Improves error handling for notification subscriptions.
- Ensures proper prompt closure when users grant permissions via the bell icon.
- Enhances prompt rendering logic to handle missing configurations or initialization delays.
- Improved Web Push Handling
- Enhances web push notification handling with improved configuration management.
- Introduces structured methods for setting up and processing soft prompts.
Important API Changes
This update improves stability, simplifies API usage, and enhances push notification reliability.
- Deprecated
notifications.enable
APInotifications.push
API now handles both old and new soft prompts, including the bell icon rendering.
- Updated
notifications.push
API- Manages the entire web push prompt flow.
- Ensures correct rendering based on the received web push configuration.
- Handles race conditions when the SDK is not yet initialized, or the application server key is unavailable.
- Refactored Notification Handler Methods
- Adds
setupWebPush
,processSoftPrompt
,parseDisplayArgs
, andsetNotificationHandlerValues
for better modularity. - Updates
processWebPushConfig
,enable
, andpush
methods to improve prompt logic. - Improves notification subscription flow and error handling.
- Adds
Updated about 15 hours ago