Mobile SDK API improved
Q1-2025 Release
To modernize and streamline SDK functionality and provide a superior experience for developers, several mobile SDK API improvements were made for Android (through a deeper adoption of Kotlin), iOS (through a deeper adoption of Swift), and React Native (by aligning it to the changes made in the native SDKs):
Improved initialization through a new initialization API:
An SDK initialization call was introduced that automatically handles common SDK setup requirements. This removes the need to manually initialize the SDK using a non-intuitive page view call, which often resulted in this step being skipped or forgotten and the SDK initialized incorrectly.
Enhanced callbacks added:
A robust callback system was added to provide clearer, more actionable feedback on operations, enabling you to now use this in richer app personalization use cases, as well as facilitate more refined testing during the integration lifecycle.
Dedicated methods added for creating and publishing events:
Dedicated functions are now available for creating events sent to the BlueConic server for "PageView," "Click," "View," and "Conversion." These functions can be called from the SDK instance.
Dedicated functions are also available for publishing events for "ClickEvent," "AdvancedEvent," "FormSubmitEvent," "UpdateContentEvent," and "UpdateValuesEvent." These functions can be called from the BlueConicEventManager class.
In addition, you can now pass necessary parameters–such as server_url, debug options, and Simulator information–directly within the initialization call, enabling you to dynamically configure the SDK as needed during runtime.
Lastly, API logic was refactored on all three platforms.