mFilterIt iOS SDK
This guide details the steps to integrate the MFilterIt SDK into an iOS App. The MFilterit SDK is distributed as an iOS dynamic framework.
Last updated
This guide details the steps to integrate the MFilterIt SDK into an iOS App. The MFilterit SDK is distributed as an iOS dynamic framework.
Last updated
Integrating the mFilterIt Solution into an app includes Developer Registration and SDK integration.
Developers wishing to use mFilterIt should first register themselves. Upon registration a unique vendor ID and SDK credentials are allocated.
The vendor ID remains the same for all platforms supported (Android , iOS, Cordova , Unity etc.)
If you do not have a vendor ID, please contact us at contact@mfilterit.com
The SDK integration includes the followings : Step 1 : The SDK is made available as a zip archive. This archive needs to be extracted and included into "Embedded Binaries" of your App project as shown in the screenshot given below.
Step 2 : The SDK is initialized by adding an API call in appDelegate. This should be done in the "didFinishLaunchingWithOptions". SDK is invoked as shown below.
The below import statement should be added to the appDelegate.
Step 1 : **Add source to Podfile:
Step 2 : Add following pod to app target block in the Podfile:
Note : Current SDK version number is '4.0.1'
Step 3 : Run the below command by going to project directory
If prompted, please enter the crdentials as username and password, provided by us.
Step 4 : The SDK is initialized by adding an API call in appDelegate. This should be done in the "didFinishLaunchingWithOptions". SDK is invoked as shown below.
The below import statement should be added to the appDelegate.
When you submit to the app store, be aware that the SDK collects the IDFA information . Even if you’re not currently doing mobile install attribution, if you get asked, “Does this app use the Advertising Identifier (IDFA)?” on this page, you’ll want to check the following three boxes:
“Attribute this app installation to a previously served advertisement”
“Attribute an action taken within this app to a previously served advertisement”
“I, YOUR_NAME, confirm that this app, and any third party…”
Note, you should not check the box labeled “Serve advertisements within the app” unless you are actually going to display ads.
A Run Script needs to be added to the Build Phases for the same, as shown below (please make sure that in build phases, order of run script should be at last):
Please use the below code as the run script