This is the Identifier Plugin for the WiseTrack Unity SDK.
This plugin provides native Android libraries to help the core SDK retrieve important identifiers such as Google App Set ID and Advertising ID.
Note: This plugin does nothing by itself. It must be used together with the WiseTrack Unity SDK.
- Unity 2019.4 or later
- Kotlin version 1.9.0 or later
- Android API 21 (Lollipop) or later
- External Dependency Manager for Unity (EDM4U) installed
This plugin only includes precompiled native .aar libraries:
- play-services-ads-identifier:
18.2.0 - play-services-appset:
16.1.0 - Plus related transitive dependencies required by these Google Play Services libraries
To integrate the WiseTrack Identifier Unity Package into your Unity project, follow these steps:
-
Install External Dependency Manager for Unity (EDM4U): The WiseTrack Unity Package requires EDM4U to manage Android and iOS dependencies. Follow the installation instructions provided in the EDM4U GitHub repository.
-
Add the WiseTrack Identifier Package: You can add the package via Unity Package Manager (UPM) or directly from a Git URL.
- Open Unity and navigate to
Window > Package Manager. - Click the
+button in the top-left corner and selectAdd package from git URL. - Enter the following URL (replace with the actual GitHub URL for your package):
https://github.com/wisetrack-io/unity-identifier.git - Click
Add. Unity will download and install the package. - If prompted, resolve dependencies using EDM4U by navigating to
Assets > External Dependency Manager > Android Resolver > Force Resolve.
- Clone or download the WiseTrack Identifier package repository from GitHub.
- Extract the contents to your project’s
Assets/Plugins/WiseTrackIdentifierfolder. - Open Unity, and EDM4U will automatically detect and resolve dependencies. If not, manually trigger resolution via
Assets > External Dependency Manager > Android Resolver > Resolve.
- Go to the Releases section of the repository.
- Download the latest
.unitypackagefile. - In Unity, navigate to
Assets > Import Package > Custom Package…. - Select the downloaded
.unitypackageand clickImport. - Once imported, make sure EDM4U is installed in your project.
- Trigger dependency resolution via
Assets > External Dependency Manager > Android Resolver > Resolveif needed.
- Open Unity and navigate to
-
Configure Android: Ensure your
minSdkVersionis set to 21 or later -
Rebuild the Project: Build your project to ensure all dependencies are correctly integrated:
- In Unity, go to
File > Build Settingsand select your target platform. - Click
BuildorBuild and Run.
- In Unity, go to
The WiseTrack Unity Package is licensed under the WiseTrack SDK License Agreement. See the LICENSE file for details.