Please note that you need to download the TestFlight SDK seperately. This is intentional and this way you (the developer) can control and upgrade the TestFlight SDK library that is used.
See the Appcelerator Wiki for instructions on installing modules.
In order to use the module you also need to download the TestFlight SDK from the TestFlight website.
Then follow these steps:
This module is now compiled with Xcode 4.5 and DOES NOT support armv6 builds anymore. There just aren't the devices out there to make worth while and Appcelerator is dropping support soon too.
Insert this just above the
<iphone> section to make sure titanium doesn't compile for armv6.
<ios> <min-ios-ver>4.3</min-ios-ver> </ios>
var testflightti = require("com.clinsoftsolutions.testflight");
The testflightti variable is a reference to the Module object.
You also need to visit the Testflight site and goto Apps. Then select SDK on the left menu. Step two - Integrate Token contains your application token that you can then use in the takeOff member function
var testflightti.takeOff('<< YOUR APP TOKEN >>');
Note: from this point on you can use
var testflightti = require("com.clinsoftsolutions.testflight"); to access the module. There is no need to pass references around.
We also maintain a CommonJS module to make working the TestFlight module easier. In essence it wraps the functions so that you don't need to specifically define out the calls on Android. See https://github.com/ClinicalSoftwareSolutions/TestFlightTiJS
Clinical Software Solutions Ltd
All Copyright retained by Clinical Software Solutions Ltd The module can be installed and distributed with applications. No other re-distribution allowed