Bumping libraries and project configuration updates.
[UPDATED] TestFlight SDK -> 2.0.0 [UPDATED] USM to deal with exceptions better. [UPDATED] Project configuration.
This commit is contained in:
31
External/TestFlight/TestFlight.h
vendored
31
External/TestFlight/TestFlight.h
vendored
@@ -6,14 +6,19 @@
|
||||
// Copyright 2011 TestFlight. All rights reserved.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#define TESTFLIGHT_SDK_VERSION @"1.2.4"
|
||||
#define TESTFLIGHT_SDK_VERSION @"2.0.0"
|
||||
#undef TFLog
|
||||
|
||||
#if __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void TFLog(NSString *format, ...);
|
||||
/*
|
||||
* Remote Logging
|
||||
* Note: All Logging is synchronous, see the README for more information.
|
||||
*/
|
||||
void TFLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
|
||||
void TFLogv(NSString *format, va_list arg_list);
|
||||
void TFLogPreFormatted(NSString *message);
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -22,13 +27,12 @@ extern "C" {
|
||||
* TestFlight object
|
||||
* All methods are class level
|
||||
*/
|
||||
@interface TestFlight : NSObject {
|
||||
|
||||
}
|
||||
@interface TestFlight : NSObject
|
||||
|
||||
/**
|
||||
* Add custom environment information
|
||||
* If you want to track custom information such as a user name from your application you can add it here
|
||||
* If you want to track custom information such as a user name from your application you can add it here.
|
||||
* NB: This information must be added before the session starts, it is recorded only on session start.
|
||||
*
|
||||
* @param information A string containing the environment you are storing
|
||||
* @param key The key to store the information with
|
||||
@@ -43,7 +47,6 @@ extern "C" {
|
||||
* The token for this application can be retrieved by going to https://testflightapp.com/dashboard/applications/
|
||||
* selecting this application from the list then selecting SDK.
|
||||
*/
|
||||
|
||||
+ (void)takeOff:(NSString *)applicationToken;
|
||||
|
||||
/**
|
||||
@@ -55,17 +58,14 @@ extern "C" {
|
||||
+ (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
|
||||
* Track when a user has passed a checkpoint after the flight has taken off. Eg. passed level 1, posted high score.
|
||||
* Checkpoints are sent in the background.
|
||||
* Note: The checkpoint is logged synchronously (See TFLog and TFOptionLogOnCheckpoint for more information).
|
||||
*
|
||||
* @param checkpointName The name of the checkpoint, this should be a static string
|
||||
*/
|
||||
+ (void)passCheckpoint:(NSString *)checkpointName;
|
||||
|
||||
/**
|
||||
* Opens a feedback window that is not attached to a checkpoint
|
||||
*/
|
||||
+ (void)openFeedbackView;
|
||||
|
||||
/**
|
||||
* Submits custom feedback to the site. Sends the data in feedback to the site. This is to be used as the method to submit
|
||||
* feedback from custom feedback forms.
|
||||
@@ -105,10 +105,13 @@ extern "C" {
|
||||
* Pass these as keys to the dictionary you pass to +`[TestFlight setOptions:]`.
|
||||
* The values should be NSNumber BOOLs (`[NSNumber numberWithBool:YES]` or `@YES`)
|
||||
*/
|
||||
extern NSString *const TFOptionAttachBacktraceToFeedback; // Defaults to @NO. Setting to @YES attaches the current backtrace, with symbols, to the feedback.
|
||||
extern NSString *const TFOptionDisableInAppUpdates; // Defaults to @NO. Setting to @YES, disables the in app update screen shown in BETA apps when there is a new version available on TestFlight.
|
||||
extern NSString *const TFOptionFlushSecondsInterval; // Defaults to @60. Set to a number. @0 turns off the flush timer. 30 seconds is the minimum flush interval.
|
||||
extern NSString *const TFOptionLogOnCheckpoint; // Defaults to @YES. Because logging is synchronous, if you have a high preformance app, you might want to turn this off.
|
||||
extern NSString *const TFOptionLogToConsole; // Defaults to @YES. Prints remote logs to Apple System Log.
|
||||
extern NSString *const TFOptionLogToSTDERR; // Defaults to @YES. Sends remote logs to STDERR when debugger is attached.
|
||||
extern NSString *const TFOptionReinstallCrashHandlers; // If set to @YES: Reinstalls crash handlers, to be used if a third party library installs crash handlers overtop of the TestFlight Crash Handlers.
|
||||
extern NSString *const TFOptionReportCrashes; // Defaults to @YES. If set to @NO, crash handlers are never installed. Must be set **before** calling `takeOff:`.
|
||||
extern NSString *const TFOptionSendLogOnlyOnCrash; // Defaults to @NO. Setting to @YES stops remote logs from being sent when sessions end. They would only be sent in the event of a crash.
|
||||
extern NSString *const TFOptionSessionKeepAliveTimeout; // Defaults to @30. This is the amount of time a user can leave the app for and still continue the same session when they come back. If they are away from the app for longer, a new session is created when they come back. Must be a number. Change to @0 to turn off.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user