iOS
These are the instructions for setting up the Hive SDK iOS marketing attribution.
Adding marketing attribution¶
Add the framework you want to use to the Podfile in your project directory. Only add the attribution you want to use.
pod 'HiveAnalyticsConsentMode', $HIVE_SDK_VERSION # Framework for displaying the consent banner
pod 'HiveAnalyticsProviderAdjust', $HIVE_SDK_VERSION # Adjust marketing tracking framework
pod 'HiveAnalyticsProviderAppsFlyer', $HIVE_SDK_VERSION # Appsflyer marketing tracking framework
pod 'HiveAnalyticsProviderFirebase', $HIVE_SDK_VERSION # Firebase marketing tracking framework
pod 'HiveAnalyticsProviderSingular', $HIVE_SDK_VERSION # Singular marketing tracking framework
pod 'HiveAnalyticsProviderAirbridge', $HIVE_SDK_VERSION # Airbridge marketing tracking framework
After saving the Podfile with the framework you want to use, run the command below to install the framework in your project.
Add Firebase required file¶
After registering your app in the Firebase console, download the GoogleService-Info.plist file here. Firebase Analytics is initialized according to the file contents. Download the file and include it in your Xcode project.