Releases: FastPix/android-core-data-sdk
Releases · FastPix/android-core-data-sdk
Release list
v1.3.1
[1.3.1]
Changed
- Refactored
BaseEventfrom an abstract class to an interface; all event models updated accordingly. - Centralized event serialization and deserialization in
EventJsonCodecusing a binding-based lookup table, replacing verbosewhenblocks inEventPersistenceManagerandEventStore. - Refactored
FastPixDataSDK.dispatchEventto use a data-driveneventDispatchTablefor event building and side-effect management. - Streamlined session recreation logic in
FastPixDataSDK. DependencyContainernow uses lazy initialization and safer null handling for service instances.- Improved
FastPixDataSDKlifecycle management and event dispatching flow. DeviceInfoUtility.getDeviceName()now returnsBuild.DEVICEinstead of a manufacturer and model string.
Improved
- Enhanced null safety in
EventDataCalculatorduring view metric calculations. - Structured logging with standardized
TAGconstants inEventPersistenceManager,EventStore, and related modules. - Replaced hardcoded strings with private constants for logging levels and shared preference keys.
- Cleaned up internal state management in
NetworkTrackerandSessionService. - Simplified
DeviceInfoUtilitywith property-based OS and device type constants. - Reduced code size and complexity across persistence, storage, and upload pipeline components.
v1.3.0
- Added unit test coverage for session lifecycle and SDK state transitions (
SessionServiceTestandSDKStateServiceTest). - Added regression tests for duplicate
viewBegindispatch prevention and session recovery behavior inFastPixDataSDKTest. - Added test dependencies for MockK, AndroidX core-testing, and coroutine test utilities.
v1.2.9
- 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
- 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
EventQueuefor thread-safe in-memory event buffering. - Implemented
EventUploadWorkerandEventUploadSchedulerto manage reliable background data synchronization. - Updated
FastPixAnalyticsandFastPixDataSDKto use a new lifecycle-aware state machine (SdkLifecycleState). - Refactored
EventDispatcherto orchestrate the flow from the in-memory queue to the persistent store and network. - Updated the default beacon domain from
metrix.wstoanlytix.io. - Enhanced the
Loggerutility with structured formatting, session/trace tracking, and standardized event labels. - Updated dependencies for Room, KSP, and Kotlin serialization.
v1.2.6
Full Changelog: https://github.com/FastPix/android-core-data-sdk/commits/v1.2.6