Skip to content

Requirements

| Item | Value | Source | |---|---|---| | Minimum Unity version | 2020.3 | package.json:6 | | License | MIT | package.json:8 | | Dependencies | none | package.json:11 |

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

| Platform | Minimum | Source | |---|---|---| | Android | API level 24 | — | | iOS | 12.0 | — | | Xcode | 14.2 | — |

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

| Item | Value | |---|---| | compileSdkVersion | 30 | | buildToolsVersion | 30.0.2 | | targetSdkVersion | 30 | | sourceCompatibility | JavaVersion.VERSION_1_8 | | targetCompatibility | JavaVersion.VERSION_1_8 | | Install referrer dep | com.android.installreferrer:installreferrer:2.2 | | Affise native dep | com.affise:internal:1.7.7 |

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:219,231, Runtime/Affise.cs:265).
  • IsOfflineModeEnabled() returns null on desktop (Runtime/Affise.cs:122).

See Configuration for install and build setup.