Skip to content
Str4tos edited this page Apr 11, 2024 · 42 revisions
Prerequisites
Unity Editor 2018.4+
Android Minimum API 21+
Android Target API 33+
iOS Minimum version 13+
iOS XCode 15.1+

Add the CAS package to Your Project

Add CAS Unity plugin to your Unity project using the Unity Package Manager, or you can import the package manually.

Option 1 Unity Package Manager window

In your open Unity project, navigate to Window -> Package Manager -> + -> Add package from Git URL and add url:

image

Enter the CAS Git URL in the text box and click Add:

https://github.com/cleveradssolutions/CAS-Unity.git#3.6.1

Note

Option 2 Modify manifest.json

Open YourProject/Packages/manifest.json file in any text editor and add line in dependencies scope:

{ 
"dependencies": {
"com.cleversolutions.ads.unity": "https://github.com/cleveradssolutions/CAS-Unity.git#3.6.1",
} 
}

Option 3 Manual import unity package

  1. Download latest CleverAdsSolutions.unitypackage
  2. In your open Unity project, navigate to Assets > Import Package > Custom Package.
  3. In the Import Unity Package window, make sure all of the files are selected and click Import.

Add the External Dependency Manager for Unity

The CAS Unity plugin is distributed with the External Dependency Manager for Unity library. This library is intended for use by any Unity plugin that requires access to Android specific libraries (e.g., AARs) or iOS CocoaPods. It provides Unity plugins the ability to declare dependencies, which are then automatically resolved and copied into your Unity project.

  1. Download latest external-dependency-manager.unitypackage.
  2. In your open Unity project, navigate to Assets > Import Package > Custom Package.
  3. In the Import Unity Package window, make sure all of the files are selected and click Import.

🔗 Done! What’s Next?