Skip to content

3.3.0

Compare
Choose a tag to compare
@x401om x401om released this 31 Dec 18:41
· 24 commits to master since this release

⚠️ 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 a key and value.
  • Updated updateAttribution Method:

    • The source parameter is now a String instead of an enum.
    • The networkUserId parameter has been removed. Use setIntegrationIdentifier to set the networkUserId instead.

Observer Mode. Read More.

  • ‼️ Transactions must now be explicitly reported when using Observer Mode:
    • Replace calls to setVariationId() with reportTransaction(transactionId:,variationId:) after every transaction.finish().
    • The variationId parameter in reportTransaction is now optional.

Full Changelog: 3.2.5...3.3.0