Skip to content

Releases: FastPix/android-core-data-sdk

v1.3.1

Choose a tag to compare

@sid-fastpix sid-fastpix released this 02 Jun 06:13
2205fd6

[1.3.1]

Changed

  • Refactored BaseEvent from an abstract class to an interface; all event models updated accordingly.
  • Centralized event serialization and deserialization in EventJsonCodec using a binding-based lookup table, replacing verbose when blocks in EventPersistenceManager and EventStore.
  • Refactored FastPixDataSDK.dispatchEvent to use a data-driven eventDispatchTable for event building and side-effect management.
  • Streamlined session recreation logic in FastPixDataSDK.
  • DependencyContainer now uses lazy initialization and safer null handling for service instances.
  • Improved FastPixDataSDK lifecycle management and event dispatching flow.
  • DeviceInfoUtility.getDeviceName() now returns Build.DEVICE instead of a manufacturer and model string.

Improved

  • Enhanced null safety in EventDataCalculator during view metric calculations.
  • Structured logging with standardized TAG constants in EventPersistenceManager, EventStore, and related modules.
  • Replaced hardcoded strings with private constants for logging levels and shared preference keys.
  • Cleaned up internal state management in NetworkTracker and SessionService.
  • Simplified DeviceInfoUtility with property-based OS and device type constants.
  • Reduced code size and complexity across persistence, storage, and upload pipeline components.

v1.3.0

Choose a tag to compare

@sid-fastpix sid-fastpix released this 21 Apr 09:56
  • Added unit test coverage for session lifecycle and SDK state transitions (SessionServiceTest and SDKStateServiceTest).
  • Added regression tests for duplicate viewBegin dispatch prevention and session recovery behavior in FastPixDataSDKTest.
  • Added test dependencies for MockK, AndroidX core-testing, and coroutine test utilities.

v1.2.9

Choose a tag to compare

@sid-fastpix sid-fastpix released this 14 Apr 15:45
  • Periodic in-process event upload in EventDispatcher that pushes pending events to the server every 10 seconds, reducing reliance on WorkManager for timely delivery.
  • getAllSessions query in SessionDao and EventStore to retrieve all sessions regardless of status.
  • Debug logging for dispatched events in FastPixDataSDK.

v1.2.7

Choose a tag to compare

@sid-fastpix sid-fastpix released this 26 Mar 07:28
  • Replaced the manual event cleanup logic with a Room-based persistence layer and WorkManager-driven upload pipeline.
  • Added AnalyticsDatabase, EventStore, and associated DAOs/Entities to handle persistent event storage.
  • Introduced EventQueue for thread-safe in-memory event buffering.
  • Implemented EventUploadWorker and EventUploadScheduler to manage reliable background data synchronization.
  • Updated FastPixAnalytics and FastPixDataSDK to use a new lifecycle-aware state machine (SdkLifecycleState).
  • Refactored EventDispatcher to orchestrate the flow from the in-memory queue to the persistent store and network.
  • Updated the default beacon domain from metrix.ws to anlytix.io.
  • Enhanced the Logger utility with structured formatting, session/trace tracking, and standardized event labels.
  • Updated dependencies for Room, KSP, and Kotlin serialization.

v1.2.6

Choose a tag to compare

@sid-fastpix sid-fastpix released this 23 Mar 07:29