3.3.0
⚠️ Breaking Changes
Activation
- You no longer need to activate AdaptyUI separately, as it is now handled automatically during the usual activation process. Use
.withMediaCacheConfiguration
in AdaptyConfiguration if you wish to override the default settings:
await Adapty().activate(
configuration: AdaptyConfiguration(apiKey: 'YOUR_API_KEY')
..withMediaCacheConfiguration(...),
);
Integrations and Attribution Configuration. Read More.
-
New Method for Setting Integration Identifiers:
- Introduced
setIntegrationIdentifier(key:value:)
:- Previously, integrations were configured using the
updateProfile
method, passing integration IDs to the builder. - Now, use
setIntegrationIdentifier
to set integration identifiers with akey
andvalue
.
- Previously, integrations were configured using the
- Introduced
-
Updated
updateAttribution
Method:- The
source
parameter is now aString
instead of an enum. - The
networkUserId
parameter has been removed. UsesetIntegrationIdentifier
to set thenetworkUserId
instead.
- The
Observer Mode. Read More.
‼️ Transactions must now be explicitly reported when using Observer Mode:- Replace calls to
setVariationId()
withreportTransaction(transactionId:,variationId:)
after everytransaction.finish()
. - The
variationId
parameter inreportTransaction
is now optional.
- Replace calls to
Full Changelog: 3.2.5...3.3.0