Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 947 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 947 Bytes

TestFlightTiJS

Common JS module to use with the paid for Titanium Marketplace module

Found at https://marketplace.appcelerator.com/apps/4114

The idea behind this module is to allow all the TestFlight calls to be left in place for an android app too. In essence this module does the test for iOS before calling the relevant TestFlight function. Once TestFlight release the Android SDK we will make an Android module too and you probably won't need this.

Example use:

Copy the testflightjs.js file into the Resource directory

var TF = require('testflightjs');
TF.takeOff("__REPLACE WITH YOUR TEAM TOKEN __");

Note you no longer need the var TF = require('com.clinsoftsolutions.testflight'); line

Then use elsewhere in your app:

var TF = require('testflightjs');
TF.passCheckpoint("A checkpoint was passed");

There is no need to call takeOff() again.