Skip to content

Conversation

@vladislav-yermakov
Copy link
Collaborator

This PR addresses the following issues:

Breaking changes:

  • OptableSDK.init(host:, app:, insecure:, useragent:) was replaced with OptableSDK.init(config:)
  • SDK now requires tenant and originSlug parameters to initialise, instead of host and app
  • OptableConfig was introduced to contain all configuration parameters for the SDK
  • OptableConfig supports dynamic changes of all parameters, such as host, path, apiKey, custopUserAgent and others.

Other changes:

  • Introduced IABConsent for automatically retrieving user consent according to the IAB Transparency & Consent Framework
  • Introduced AppTrackingTransparency to handle App Tracking Identifiers
  • Introduced OptableIdentifierType, OptableIdentifiers, and OptableIdentifierEncoder to support optable identifiers and normalisation
  • Introduced async/await SDK API for modern swift
  • Updated SDK Unit and Integration tests
  • Updated demo-ios-swift and demo-ios-objc to match new SDK APIs
  • Updated docs to reflect new APIs

Copy link

@eugenedorfman-optable eugenedorfman-optable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - reviewed as part of #51 (when it was submitted from a postindustria-tech fork, now resubmitted from an Optable branch)

@eugenedorfman-optable eugenedorfman-optable changed the title feature/sdk-updates [iOS]Rework Optable API configuration and request forming Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants