Renamed all occurrences of the Firebase instance ID to Firebase app instance ID. For example, publishFirebaseInstanceId is now called publishFirebaseAppInstanceId.
The implementation for standard events changed significantly. Each standard event now has an associated class
and should be created via an instance of this class. Events can still be published from a single string, though.
Standard events now carry built-in dimensions next to the three custom dimensions.
publishEvent was simplified and now accepts any user event instance instead of creating it with multiple methods
for the different cases.
The justtrack SDK is now licensed under the MIT license.
There is now a short delay before sending user events to batch them.
Added the current version name (if available) to the app version send to the backend.
Added JustTrackError class on JavaScript side to better represent errors. All promises returned by the SDK
should throw that error in case of an error.
Added UserEvent class to collect all details of a user event.
Added the EventDetails class to group event name, category, element, and action. Only the event name is mandatory.
Added support for a preliminary retargeting result. This allows you to already display some welcome
screen while the SDK is still waiting for the retargeting attribution to be confirmed by the justtrack
backend (as this can take a few seconds). Added therefore getPreliminaryRetargetingParameters and
registerPreliminaryRetargetingParametersListener as well as the corresponding result types.
The SDK now waits for some time before retrying requests.
Allow the advertiser ID to be missing if we have a tracking ID.
Renamed various parts of the attribution response:
uuid -> userId
subId -> sourceId
subAppId -> sourceBundleId
adSetId -> adsetId (small S)
Added recruiter.userId, recruiter.platform, installId, userType, sourcePlacement to the attribution response
Updated okhttp dependency to 3.14.9 and play-services-ads dependency to 19.7.0
Starting with this version, you have to implement Activity#onNewIntent(Intent) to allow the SDK
to detect receiving intents while the app is already running. There is an IntentHandlingReactActivity which
implements this and extends ReactActivity available to use.
The JustTrackSdkModule has been rewritten from Kotlin to Java.
Initializing the SDK now can take an options object instead of the tracking ID.
There you can set (besides the tracking ID) the inactivityTimeFrame and reAttributionTimeFrame.
Added getRetargetingParameters to the JustTrackSdk interface. It provides the retargeting parameters
the app was started with (if any, otherwise null).
Added registerAttributionListener and registerRetargetingParametersListener to the SDK.