Перейти к содержимому

Requirements

Это содержимое пока не доступно на вашем языке.

ItemValueSource
Minimum Unity version2020.3package.json:6
LicenseMITpackage.json:8
Dependenciesnonepackage.json:11

The SDK compiles native calls only when the following symbols resolve to true: (UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR (Runtime/Affise.cs:10, Runtime/Affise.cs:18, Runtime/AffiseInternal.cs:24).

PlatformMinimumSource
AndroidAPI level 24—
iOS12.0—
Xcode14.2—

Bundled Android library gradle values (Runtime/Plugins/unity.androidlib/build.gradle):

ItemValue
compileSdkVersion30
namespacecom.affise.attribution.unity
targetSdkVersion30
sourceCompatibilityJavaVersion.VERSION_1_8
targetCompatibilityJavaVersion.VERSION_1_8
Install referrer depcom.android.installreferrer:installreferrer:2.2
Affise native depcom.affise:internal:1.7.18

The packaged Runtime/Plugins/unity.androidlib/src/main/AndroidManifest.xml:1-3 declares no permissions.

When Play Mode runs inside the Unity Editor (desktop), native modules are not invoked. For example:

  • GetReferrerUrl / GetReferrerUrlValue invoke the callback with the constant "[Affise] platform not supported" (Runtime/Affise.cs:190,202, Runtime/Affise.cs:236).
  • IsOfflineModeEnabled() returns null on desktop (Runtime/Affise.cs:93).

See Configuration for install and build setup.