Preface :
- GooglePlayServices version must be at least 8.1.
- The Plugin contains Appoxee SDK version 2.6.1 .
Integration Instructions :
Phase 1
- Download the Appoxee Android Unity Plugin Zip file for the Download Page.
- Extract the zip file to path :
UnityProjectName/Assets
- This is the directory structure and content after extracting :
- UnityProjectName/Assets/Plugins/AppoxeeAndroidBridge.cs
- UnityProjectName/Assets/Plugins/IAppoxeeCallable.cs
- UnityProjectName/Assets/Plugins/Android/appoxee-sdk.jar
- UnityProjectName/Assets/Plugins/Android/appoxee-unity-plugin.jar
- UnityProjectName/Assets/Plugins/Android/AppoxeeSDK/AndroidManifest.xml
- UnityProjectName/Assets/Plugins/Android/AppoxeeSDK/project.properties
- UnityProjectName/Assets/Plugins/Android/AppoxeeSDK/libs
- UnityProjectName/Assets/Plugins/Android/AppoxeeSDK/res
- UnityProjectName/Assets/Plugins/Android/google-play-services_lib
- Make sure that you replace in AndroidManifest.xml the "YOUR_PACKAGE_NAME" placeholder to your reverse-domain package name as you set in the Unity IDE
- Open your Unity project.
Phase 2
- In your main Script, declare a variable from the type AppoxeeAndroidBridge
- In your main script , in your onEnable() method , init the AppoxeeAndroidBridge using :
AppoxeePlugin = AppoxeeAndroidBridge.CreateAppoxeeAndroidBridge(this, "YOUR_SDK_KEY", "YOUR_SECRET_KEY");
- API Samples can be seen in the following link