summary refs log tree commit diff stats
path: root/TestFlight.h
blob: d2efd60ed0c743ab69a721587b266e6c21a409c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
//  TestFlight.h
//  libTestFlight
//
//  Created by Colin Humber on 8/25/10.
//  Copyright 2010 23 Divide Apps. All rights reserved.

#import <Foundation/Foundation.h>

@interface TestFlight : NSObject {
    
}

/**
 Add custom environment information
 If you want to track a user name from your application you can add it here
 */
+ (void)addCustomEnvironmentInformation:(NSString *)information forKey:(NSString*)key;

/**
 Starts a TestFlight session
 */
+ (void)takeOff:(NSString *)teamToken;

/**
 Sets custom options
 Option                      Accepted Values                 Description
 reinstallCrashHandlers      [NSNumber numberWithBool:YES]   Reinstalls crash handlers, to be used if a third party 
 library installs crash handlers overtop of the TestFlight Crash Handlers
 */
+ (void)setOptions:(NSDictionary*)options;

/**
 Track when a user has passed a checkpoint after the flight has taken off. Eg. passed level 1, posted high score
 */
+ (void)passCheckpoint:(NSString *)checkpointName;

/**
 Opens a feeback window that is not attached to a checkpoint
 */
+ (void)openFeedbackView;

@end