SDK FAQ

Prev

Frequently Asked Questions (FAQs) about SDK Integration

If people are having issues importing the Tenjin SDK into Swift. We cannot import TenjinSDK in AppDelegate.swift.

Show more
  • iOS development is done by Objective-C or Swift. If you use Swift, you need to implement this special setting. In order to make this work, under “Build Settings” -> “Swift Compiler - General”, add the bridge header.
  • Here is Apple's documentation.
  • We also uploaded the sample project so you can reference it.

Can we remove the reference to older version of Google play service in Manifest file?

Show more

Yes, you can remove the following line from Android Manifest file.

<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />

How can I resolve this error when trying to build an Android app with Tenjin SDK?

Show more
Execution failed for task ':transformClassesWithDexForRelease'.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/actions/ItemListIntents;

This error happens when you have a different version of Google Play Service library on our older Tenjin SDKs. Please update to the latest one or remove the following library to resolve:

/Assets/Plugins/Android/play-services-basement-11.0.4.aar

I see Android minSdkVersion is 21, why?

Show more

We started supporting two SDKs for Android other app stores, MSA OAID SDK (minSdkVersion is 21 for version 1.0.25), Huawei referrer SDK (minSdkVersion is 19). Both these SDKs required us to update the minSdkVersion from 16 to 19 and 19 to 21 repectively. This is the reason for tenjin to have minSdkVersion as 21.

If you need to have the latest SDK but don't intend to integrate Huawei referrer SDK and MSA OAID SDK, then try to use this branch.


I can't make your Tenjin AdobeAir integration work, do you have a plugin I can use?

Show more

Some of our customers have used this plug-in in the past. Please note that this plugin has not been built officially by Tenjin.


I see a Unity import error message 'Unity infinite import loop has been detected. The following Assests were imported multiple times.' How do I fix this?

Show more

This can be fixed by removing the line 74 in TenjninEditorPrefs.cs. If it's still not solved, please write to us at support@tenjin.com with details.
Please note, this should be followed only when you're not using Applovin MAX ILRD via Tenjin


I am seeing a Warning error in Google Play about Sending Device Identifiers. How do I remove this error?

Show more

Remove the permission:

<uses-permission android:name=“android.permission.READ_PHONE_STATE” />

If the issue persists, please email us at support@tenjin.com.


How do I fill out the Data Safety compliance form on Google Play?

Show more You can refer to these instructions for it [here](https://docs.google.com/document/d/1_NwYDoC2lTxAUYk66p9jD6FDFtNYSnaIw5UiXQxoI8c/edit){target=`_blank`}

How does Tenjin handle CMP?

Show more

If you're using Consent Management Platform (CMP), then you can disable or enable the Tenjin SDK based on the user's consent via CMP for Purpose 1 of IAB TCF v2.0.To do this, you can refer to our SDK methods here -


Upon compilation, I see an Invalid Device ID identifier 202 error on App Gallery (Huawei) on Android even after ACCESS_NETWORK_STATE and READ_PHONE_STATE permissions are added in. What to do?

Show more

Since Huawei phones are now not technically considered to be Android devices, to resolve this error, you will need to implement the Huawei OAD library from here so that the Tenjin SDK can fetch the OAID from the device.


Can I use Unity Codeless IAP to send receipt to Tenjin for IAP reporting?

Show more

We currently do not support Unity Codeless IAP. We request you to instead use the traditional Unity IAP method until we start supporting the Unity codelss IAP.