All notable changes to this project will be documented in this file.
- Timers not being stopped in the tracker if
trackMedia
is called multiple times without callingclearCurrentItem
- Crash on stopHeartbeats when tracker is not keeping track of timers
- Added check on device ID to avoid overwriting it when advertisingID is retrieved
- Fix remote configuration expiration date computing
- Crash on clearCurrentItem when tracker is not yet initialised
- PlayerTracker heartbeat loop to avoid null pointers after clearing media
- Fixed remote configuration of heartbeat intervals in the PlayerTracker
- PlayerTracker to manage case of item's "trackMedia" called multiple times
- PlayerTracker to be more robust.
- Start and stop of tracking is dependant on provided item
- Gradle version and build tools
- Kotlin demo, to simplify build
- PeachPlayerTracker static class to track a media played in an ExoPlayer
- Possibility to add custom fields to the payload's client description. It can be done by configuring the
Publisher
userIsLoggedIn
is now private. Added setter that will make sure the value is updated in all publishers' client data.
- Remote configuration for Publisher initialisation
collectionItemDisplayed
event and updated collection context.
collectionLoaded
,collectionDisplayed
andcollectionHit
events with a specific collection context.
setDeviceID
function in thePeachCollector
. If deviceID is set before initialization, PeachCollector will not try to retrieve the advertising ID.
appID
can be defined in thePeachCollector
. The default value is the Package Name of your app.
userIsLoggedIn
flag inPeachCollector
to help when userIDs are generated automatically for anonymous users
- Exception when first custom field added is null (in EventProperties and EventContext)
- Fallbacks for when
PeachCollector
is not initialised
maximumStoredEvents
field inPeachCollector
to limit queue sizemaximumStorageDays
field inPeachCollector
to limit queue size
isPlaying
field inEventProperties
, for media_seek eventstype
field inEventContext
- possibility to add, retrieve and remove custom fields from
EventProperties
andEventContext
media_playlist_add
andmedia_playlist_remove
events helpersplaylistID
andinsertPosition
properties inEventProperties
, for media events related to a playlist addition or removal
content-type
value to request's header because it's not automatically set on old android versions