Unity SDK

Instructions for installing Deepwall Unity SDK

Unity SDK provides wrapper methods for Deepwall iOS and Android SDKs.

Requirements

  • iOS 10.0+

  • Android API Level 21+

  • Unity 2017.x or higher

Installation

Deepwall for Unity is available on GitHub.

Download & Import deepwall-unity_x_x.unitypackage to your project.

If you do not want to use the prepared sample scene, you can uncheck the Sample folder when importing the plugin.

The name of the GameObject that contains the Deepwall script should be "DeepWall" (Which is set by default).

Additional Setup for iOS

1. Set Target minimum iOS Version to 10.x+ in PlayerSettings

2. Set minimum ios version to 10.0 in ios/Podfileand add use_frameworks! into ios/Podfile.

3. Add pod 'DeepWall' into ios/Podfile and remove flipper from ios/Podfile if it exists.

platform :ios, '10.0'
use_frameworks!
pod 'DeepWall'

4. Run pod install

cd ios && pod install

Additional Setup for Android

1. Set minSdkVersion to 21 in PlayerSettings

Import and Use

Now you can use DeepWall by importing Deepwall to your project. Learn how to configure and use the Deepwall SDK using the following guide.

If you are using Unity Jar Resolver or something similar you can remove all the files under DeepWall/Plugins/Android/ directory except the deepwall-unity_x_x.aar. Then add the following lines to implement dependencies (versions may differ).

    <repositories>
        <repository>https://repo.maven.apache.org/maven2</repository>
        <repository>https://raw.githubusercontent.com/Teknasyon-Teknoloji/deepwall-android-sdk/master/</repository>
    </repositories>
        
    <androidPackage spec="org.jetbrains.kotlin:kotlin-stdlib:1.4.20"/>
    <androidPackage spec="io.reactivex.rxjava2:rxjava:2.1.8"/>
    <androidPackage spec="android.arch.lifecycle:extensions:1.1.0"/>
    <androidPackage spec="androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"/>
    <androidPackage spec="androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"/>
    <androidPackage spec="deepwall:deepwall-core:2.2.1"/>

Last updated