Skip to content

Latest commit

 

History

History
95 lines (58 loc) · 3.17 KB

File metadata and controls

95 lines (58 loc) · 3.17 KB

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.6.0] - 2026-03-26

Added

  • ClixNotification.trackPushNotificationTapped(data) public API for manually tracking push notification taps
    • Enables push tap tracking for apps using third-party notification libraries (e.g., expo-notifications) where getInitialNotification() returns null

[1.5.0] - 2026-02-19

Added

  • reset() method to clear all local SDK state including device ID

Deprecated

  • removeUserId() — use reset() instead

[1.4.1] - 2026-02-13

Added

  • Added sourceType field to event tracking for SDK-internal events (SESSION_START, PUSH_NOTIFICATION_RECEIVED, PUSH_NOTIFICATION_TAPPED)

[1.4.0] - 2026-02-12

Added

  • Session tracking with automatic SESSION_START lifecycle events

[1.3.0] - 2026-01-15

Added

  • iOS Live Activity support with push-to-start token management
    • Native ClixLiveActivity.setup() API for registering ActivityAttributes types
    • Automatic push-to-start token capture and server synchronization

[1.2.0] - 2026-01-12

  • Added Clix.Notification.onBackgroundEvent API to handle background notification events, allowing users to register custom handlers alongside the SDK's internal handler.

[1.1.1] - 2025-12-23

  • Reordered Android background event logging and push display to ensure notifications appear in affected environments.

[1.1.0] - 2025-12-08

  • Aligned the React Native SDK structure with other platforms.
  • Updated the userAgent format.
  • Fixed notification payload parsing, now attach userJourney context.
  • Removed unused Android push notification actions.

[1.0.0] - 2025-12-03

  • Added the trackEvent method
  • Added the Clix.Notification facade that exposes permission requests, token retrieval, foreground/background handlers, and notification-open callbacks.
  • Improved Notification Service Extension compatibility.

[0.0.1] - 2025-09-18

Added

  • Core SDK

    • ClixConfig-based initialization with projectId, apiKey, endpoint configuration
    • Async/await API support
    • Thread-safe operations with automatic initialization handling
  • User Management

    • User identification: setUserId(), removeUserId()
    • User properties: setUserProperty(), setUserProperties(), removeUserProperty()
  • Push Notifications

    • Firebase Cloud Messaging integration
    • Notifee-based notification handling for foreground/background/cold-start and actions
    • Rich notifications with images on supported platforms
    • Automatic device token management
  • Device & Logging

    • Device information access: getDeviceId(), getPushToken()
    • Configurable logging system with 5 levels (none to debug)
  • Installation

    • npm/Yarn installation with peer dependencies (@react-native-firebase/messaging, @notifee/react-native, react-native-mmkv, react-native-device-info, react-native-get-random-values, uuid)
    • React Native 0.60+, iOS 14.0+ and Android 5.0+ (API 21)
    • Sample app with complete integration example