TestFlight SDK in Unity?

chuckchuck Posts: 47Member
TestFlight just released their SDK v1.0 (on Aug 13, 2013) and I'm trying to integrate it into my app for private beta testing. However, when I upload the build, TestFlight says that the SDK is not integrated into the build.

According to the TestFlight Android SDK documentation, the first step installing it is "Add 'TestFlightLib.jar' as a dependency to your Android application." I've tried putting the TestFlightLib.jar file in Assets/Plugins/Android/ as well as Assets/Plugins/Android/libs and then clicking Compile Plugins and then Compile Java in the OUYA panel. Of course, I'm also adding the import statement and takeoff statements into the code in step 2 and the uses-permission tags in step 3. This results in the following error:

/Users/chuck/Ouya/projects/App Name/Assets/Plugins/Android/src/OuyaUnityApplication.java:48: package com.testflightapp.lib does not exist
import com.testflightapp.lib.TestFlight;
                            ^
/Users/chuck/Ouya/projects/App Name/Assets/Plugins/Android/src/OuyaUnityApplication.java:69: cannot find symbol
symbol  : variable TestFlight
location: class de.chucksmith.AppName.OuyaUnityApplication
TestFlight.takeOff(this, "e32d1e16-8c9b-44a7-9fbf-65e4cab8c7bb");
^
2 errors

UnityEngine.Debug:LogError(Object)
OuyaPanel:CompileApplicationClasses() (at Assets/Ouya/SDK/Editor/OuyaPanel.cs:1169)
OuyaPanel:CompileApplicationJava() (at Assets/Ouya/SDK/Editor/OuyaPanel.cs:1270)
OuyaPanel:Update() (at Assets/Ouya/SDK/Editor/OuyaPanel.cs:862)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Any idea how I can get this jar compiling and running in my app?

Comments

Sign In or Register to comment.