Skip to main content
We are now working on the brand-new Swift SDK for iOS. While it’s still in the early stages and has limited features, we are actively developing it to provide users with a truly exceptional experience.

Supported and developing features

Install SDK

Qonversion supports Cocoapods and Swift Package Manager to package your dependencies as a framework.

Install via Cocoapods

Add dependency to Podfile.
Podfile
Run pod install in the project directory to download the dependency.
Terminal

Install via Apple Swift Package Manager

Open Xcode, go to File → App packages… and enter the package URL https://github.com/qonversion/qonversion-ios-sdk to the search bar to import the package.

Initialize SDK

For now, Qonversion Swift SDK supports only analytics launch mode.
Once initialized Qonversion SDK can be accessed via the Qonversion.shared property. You can also use the instance returned by the Qonversion.initialize method.

Apple Search Ads Attribution

Qonversion Swift SDK allows collecting Apple Search Ads attribution data. To enable it simply call the following SDK method. Also don’t forget to complete the rest steps from this page.

User Properties

Set User Properties

Via Qonversion Swift SDK you can set both Qonversion-defined and custom user properties as follows.

Get User Properties

You can also request all the user properties set for the current user using the following method.
The object returned by the userProperties method contains several utility fields and methods:
Java
Flutter
React Native
Unity
Cordova

(Optional) Set IDFA (Identifier for Advertisers, iOS 14.5+ only)

Qonversion can also collect Advertising identifier if you receive the app tracking permission using ATT.