DFINERY SDK Self Checklist(FAQs)
Follow
Introduction
This article will let you know the checklist for DFINERY SDK integration.
Common Checklist
1. Check SDK Download
- You can download Android SDK through Gradle.
- You can download iOS SDK through Cocoapds.
After SDK downloading, you can see the following libraries or frameworks depending on the OS platform.
(1) Android
Open Android Studio, and move to External Libraries. Search "Gradle:io.dfinery:android-sdk:version@arr" libraries.
(2) iOS
Find the AdBrixRmKit framework on the Xcode navigation bar under your project.
2. Deep Link / Deferred Deep Link
DFINERY provides the advertisers with the deep link and deferred deep link through tracking link. (see the detail)
Please see the guide according to your development environment, and should follow the deep link and deferred deep link events analysis part.
: Android Guide / iOS Guide / other plugins
_ If you want to analyze deep link open, you should finish the deep link / deferred deep link event integration.
_ If you run the Facebook Campaign, you should finish the deep link / deferred deep link event integration.
3. If you cannot download via Gradle / Cocoapods
By DFINERY security policy, you can download SDK through Gradle or Cocoapods.
If you cannot download SDK through Gradle or Cocoapds, please contact us by email below.
_ support-tracker@adbrixsupport.zendesk.com
4. Check the data format of attrModel
* Dictionary data type in Unity
attrModel containing the data with key and value format is uploaded to the DFINERY server.
DFINERY server has the regulation of data format, only data according to this can be uploaded.
If you cannot see the data uploaded in attrModel on the DFINERY report, please check the regulations of the data format.
_ Only Lowercase English alphabet, number, _ (underbar), and -(dash) are available.
_ Uppercase English alphabet and other characters(Korean, Chinese, Japanese, and etc.), and other special symbols are unavailable.
Example
void userCustomEvent() {
// Set event property
AdBrixRm.AttrModel eventAttr = new AdBrixRm.AttrModel()
.setAttrs("address","경기도 안양시 동안구") // available
.setAttrs("Age", 27) // unavailable (uppercase alphabet)
.setAttrs("전화번호","010-1234-56789") // unavailable (only english available)
.setAttrs("10years?",true); // unavailable ("?" is unavailable)
}
Android SDK
5. Check InstallReferrer implementation
If you add the following code to the dependency in build.gradle, you can implement Google InstallReferrer to your project.
dependencies {
implementation 'com.android.installreferrer:installreferrer:1.0'
}
You can also check if the implementation of Google InstallReferrer is successful or not, after seeing the AndroidManifest.xml file.
1. Build your project in apk in AndroidStudio.
2. Decompile the apk file and open the AndroidManifest.xml.
3. Find the permission in the red box in AndroidManifest.xml.
iOS SDK
6. Apple Review - Survey of IDFA
In the Apple review after DFINERY SDK integration, you should choose the 3 checkboxes about the IDFA.
7. Swift compile error after Xcode update
DFINERY updates SDK according to the Xcode or Swift version update.
If you see the build error after updating the Xcode, please update DFINERY SDK through Cocoapods.
How to update SDK
a. Open terminal in your project folder.
b. Execute 'pod update' command to update SDK.
※ If you need to work in the previous version of Swift or Xcode
DFINERY SDK is written by Swift. If you updated the Swift and Xcode version, you should also update DFINERY SDK.
If you have no choice but to work on the previous version of Xcode or Swift, please contact the support engineering team by this email.