updateAttribution

To set attribution data for the profile, use this method.

Should not be called before activate

Parameters

attribution

A map containing attribution (conversion) data.

source

An AdaptyAttributionSource of the attribution.

callback

A result containing the optional AdaptyError.


fun updateAttribution(attributionJson: String, source: AdaptyAttributionSource, callback: ErrorCallback)

To set attribution data for the profile, use this method.

Should not be called before activate

Parameters

attributionJson

A JSON string containing attribution (conversion) data.

source

An AdaptyAttributionSource of the attribution.

callback

A result containing the optional AdaptyError.