SDK FAQ
  • 04 Jul 2024
  • 3 Minutes to read
  • Dark
    Light

SDK FAQ

  • Dark
    Light

Article summary

Frequently Asked Questions (FAQs) about SDK Integration

Our project has been developed with Swift 3.4. We cannot import TenjinSDK in AppDelegate.swift.

Show more
  1. 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.
  2. Here is Apple's documentation.
  3. 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
  1. 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;
  1. This error happens when you have a different version of Google Play Service library. Remove the following library to resolve:
    34. /Assets/Plugins/Android/play-services-basement-11.0.4.aar

I see the following bit code error when trying to archive build for iOS.

Show more
ld: warning: arm64 function not 4-byte aligned: ltmp0 from /Users/shayashi23/Workspace/UnityProjects/cultura02/Builds/ios2.1.0_tenjin_transfer_mediation/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/shayashi23/Workspace/UnityProjects/cultura02/Builds/ios2.1.0_tenjin_transfer_mediation/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1000.11.45.2_0' Reader: '902.0.39.2_0')', using libLTO version 'LLVM version 9.1.0, (clang-902.0.39.2)' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This happens when Xcode version is old. You need to upgrade Xcode to the latest version, as described here.


I see Android minSdkVersion is 21, why?

Show more
  1. 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.
  2. 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
  1. Some of our customers are using this plug-in. Please note that this plugin has not been built 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 persmission

<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 moreYou can refer to these instructions for it [here](https://docs.google.com/document/d/1_NwYDoC2lTxAUYk66p9jD6FDFtNYSnaIw5UiXQxoI8c/edit)

I am seeing the following 'Asset validation' error when uploading my build to Apple Store connect, what should I do?

Show more

image.png

For the above error, please remove the additional TenjinSDK as per the screenshot below and try to upload to apple store connect again. If the issue persists, please write to us at support@tenjin.com

image.png


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.



Was this article helpful?