Merge lp:~rockstar/ubuntuone-ios-music/upgrade-testflight into lp:ubuntuone-ios-music
- upgrade-testflight
- Merge into trunk
Proposed by
Paul Hummer
Status: | Merged |
---|---|
Approved by: | Paul Hummer |
Approved revision: | 229 |
Merged at revision: | 229 |
Proposed branch: | lp:~rockstar/ubuntuone-ios-music/upgrade-testflight |
Merge into: | lp:ubuntuone-ios-music |
Diff against target: |
523 lines (+328/-62) 3 files modified
TestFlight SDK/README.txt (+141/-53) TestFlight SDK/TestFlight.h (+69/-8) TestFlight SDK/release_notes.txt (+118/-1) |
To merge this branch: | bzr merge lp:~rockstar/ubuntuone-ios-music/upgrade-testflight |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zachery Bir | Approve | ||
Review via email: mp+121939@code.launchpad.net |
Commit message
Upgrade TestFlight
Description of the change
Upgrade the TestFlight lib to 1.0 - Seems there was some weirdness in how it sends crash reports in earlier versions (including the version we were using from back in August 2011).
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'TestFlight SDK/README.txt' |
2 | --- TestFlight SDK/README.txt 2011-10-18 19:18:05 +0000 |
3 | +++ TestFlight SDK/README.txt 2012-08-29 20:24:18 +0000 |
4 | @@ -1,16 +1,19 @@ |
5 | -Thanks for downloading the TestFlight SDK! |
6 | +Thanks for downloading the TestFlight SDK 1.0! |
7 | |
8 | -This document is also availale on the web at https://www.testflightapp.com/sdk/doc |
9 | +This document is also available on the web at https://www.testflightapp.com/sdk/doc |
10 | |
11 | 1. Why use the TestFlight SDK? |
12 | 2. Considerations |
13 | 3. How do I integrate the SDK into my project? |
14 | -4. Using the Checkpoint API |
15 | -5. Using the Feedback API |
16 | -6. Upload your build |
17 | -7. Questions API |
18 | -8. View your results |
19 | -9. Advanced Exception Handling |
20 | +4. Beta Testing and Release Differentiation |
21 | +5. Using the Checkpoint API |
22 | +6. Using the Feedback API |
23 | +7. Upload your build |
24 | +8. Questions API |
25 | +9. View your results |
26 | +10. Advanced Exception Handling |
27 | +11. Remote Logging |
28 | +12. iOS 3 |
29 | |
30 | START |
31 | |
32 | @@ -21,27 +24,30 @@ |
33 | |
34 | To get the most out of the SDK we have provided the Checkpoint API. |
35 | |
36 | -The Checkpoint API is used to help you track exactly how your testers are using your application. Curious about which users passed level 5 in your game, or posted their high score to Twitter, or found that obscure feature? With a single line of code you can find gather all this information. Wondering how many times your app has crashed? Wondering who your power testers are? We've got you covered. See more information on the Checkpoint API in section 4. |
37 | +The Checkpoint API is used to help you track exactly how your testers are using your application. Curious about which users passed level 5 in your game, or posted their high score to Twitter, or found that obscure feature? With a single line of code you can finally gather all this information. Wondering how many times your app has crashed? Wondering who your power testers are? We've got you covered. See more information on the Checkpoint API in section 4. |
38 | |
39 | Alongside the Checkpoint API is the Questions interface. The Questions interface is managed on a per build basis on the TestFlight website. Find out more about the Questions Interface in section 6. |
40 | |
41 | +For more detailed debugging we have a remote logging solution. Find out more about our logging system with TFLog in the Remote Logging section. |
42 | + |
43 | 2. Considerations |
44 | |
45 | |
46 | Information gathered by the SDK is sent to the website in real time. When an application is put into the background (iOS 4.x) or terminated (iOS 3.x) we try to send the finalizing information for the session during the time allowed for finalizing the application. Should all of the data not get sent the remaining data will be sent the next time the application is launched. As such, to get the most out of the SDK we recommend your application support iOS 4.0 and higher. |
47 | |
48 | -This SDK can be run from both the iPhone Simulator and Device and has been tested using XCode 4.0. |
49 | +This SDK can be run from both the iPhone Simulator and Device and has been tested using Xcode 4.0. |
50 | |
51 | 3. How do I integrate the SDK into my project? |
52 | |
53 | |
54 | -1. Add the files to your project: Project -> Add to Project -> TestFlightSDK |
55 | - |
56 | - 1. Copy items into destination folder (if needed): Checked |
57 | - 2. Reference Type: Default |
58 | - 3. Recursively create groups for added folders |
59 | - |
60 | -2. Verify that libTestFlight.a has been added to the Link Binary With Libraries Build Phase for the targets you want to use the SDK with |
61 | +1. Add the files to your project: File -> Add Files to "<your project name>" |
62 | + |
63 | + 1. Find and select the folder that contains the SDK |
64 | + 2. Make sure that "Copy items into destination folder (if needed)" is checked |
65 | + 3. Set Folders to "Create groups for any added folders" |
66 | + 4. Select all targets that you want to add the SDK to |
67 | + |
68 | +2. Verify that libTestFlight.a and has been added to the Link Binary With Libraries Build Phase for the targets you want to use the SDK with |
69 | |
70 | 1. Select your Project in the Project Navigator |
71 | 2. Select the target you want to enable the SDK for |
72 | @@ -50,72 +56,111 @@ |
73 | 5. If libTestFlight.a is not listed, drag and drop the library from your Project Navigator to the Link Binary With Libraries area |
74 | 6. Repeat Steps 2 - 5 until all targets you want to use the SDK with have the SDK linked |
75 | |
76 | -3. In your Application Delegate: |
77 | - |
78 | - 1. Import TestFlight -> #import "TestFlight.h" |
79 | - NOTE: If you do not want to import TestFlight.h in every file you may add the above line into you precompiled header (<projectname>_Prefix.pch) file inside of the |
80 | - |
81 | - #ifdef __OBJC__ section. |
82 | +3. Add libz to your Link Binary With Libraries Build Phase |
83 | + |
84 | + 1. Select your Project in the Project Navigator |
85 | + 2. Select the target you want to enable the SDK for |
86 | + 3. Select the Build Phases tab |
87 | + 4. Open the Link Binary With Libraries Phase |
88 | + 5. Click the + to add a new library |
89 | + 6. Find libz.dylib in the list and add it |
90 | + 7. Repeat Steps 2 - 6 until all targets you want to use the SDK with have libz.dylib |
91 | + |
92 | +4. In your Application Delegate: |
93 | + |
94 | + 1. Import TestFlight: `#import "TestFlight.h"` |
95 | + NOTE: If you do not want to import TestFlight.h in every file you may add the above line into you pre-compiled header (`<projectname>_Prefix.pch`) file inside of the |
96 | + |
97 | + #ifdef __OBJC__ |
98 | + section. |
99 | This will give you access to the SDK across all files. |
100 | - 2. Get your Team Token which you can find at [http://testflightapp.com/dashboard/team/](http://testflightapp.com/dashboard/team/) select the team you are using then choose edit. |
101 | - 3. Launch TestFlight with your Team Token, if you do not currently use an unhandled exception handler you can skip to step 4 |
102 | + |
103 | + 2. Get your Team Token which you can find at [http://testflightapp.com/dashboard/team/](http://testflightapp.com/dashboard/team/) select the team you are using from the team selection drop down list on the top of the page and then select Team Info. |
104 | + |
105 | + |
106 | + 3. Launch TestFlight with your Team Token |
107 | |
108 | -(BOOL)application:(UIApplication *)application |
109 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { |
110 | + // start of your application:didFinishLaunchingWithOptions |
111 | + // ... |
112 | [TestFlight takeOff:@"Insert your Team Token here"]; |
113 | + // The rest of your application:didFinishLaunchingWithOptions method |
114 | + // ... |
115 | } |
116 | |
117 | - 4. To report crashes to you we install our own unhandled exception handler. If you are not currently using an exception handler of your own then all you need ot do is go to the next step. If you currently use an Exception Handler, or you use another framework that does please go to the section on advanced exception handling. |
118 | - |
119 | -4. To enable the best crash reporting possible we recommend setting the following project build settings in XCode to NO for all targets that you want to have live crash reporting for You can find build settings by opening the Project Navigator (default command+1 or command+shift_j) then clicking on the project you are configuring (usually the first selection in the list) from there you can choose to either change the global project settings or settings on an individual project basis. All settings below are in the Deployment Section. |
120 | - |
121 | - 1. Deployment Postprocessing |
122 | + 4. To report crashes to you we install our own uncaught exception handler. If you are not currently using an exception handler of your own then all you need to do is go to the next step. If you currently use an Exception Handler, or you use another framework that does please go to the section on advanced exception handling. |
123 | + |
124 | +5. To enable the best crash reporting possible we recommend setting the following project build settings in Xcode to NO for all targets that you want to have live crash reporting for. You can find build settings by opening the Project Navigator (default command+1 or command+shift+j) then clicking on the project you are configuring (usually the first selection in the list). From there you can choose to either change the global project settings or settings on an individual project basis. All settings below are in the Deployment Section. |
125 | + |
126 | + 1. Deployment Postrocessing |
127 | 2. Strip Debug Symbols During Copy |
128 | 3. Strip Linked Product |
129 | |
130 | -4. Use the Checkpoint API to create important checkpoints throughout your application. |
131 | - |
132 | -When a tester passes a level, or adds a new todo item, you can pass a checkpoint. The checkpoint progress is used to provide insight into how your testers are testing your apps. The passed checkpoints are also attached to crashes which can help when creating steps to replicate. |
133 | - |
134 | -[TestFlight passCheckpoint:@"CHECKPOINT_NAME"]; |
135 | -Use passCheckpoint: to track when a user performs certain tasks in your application. This can be useful for making sure testers are hitting all parts of your application, as well as tracking which testers are being thorough. |
136 | - |
137 | -5. Using the Feedback API |
138 | - |
139 | -To launch unguided feedback call the openFeedbackView method. We recommend that you call this from a GUI element. |
140 | + |
141 | +4. Beta Testing and Release Differentiation |
142 | + |
143 | +In order to provide more information about your testers while beta testing you will need to provide the device's unique identifier. This identifier is not something that the SDK will collect from the device and we do not recommend using this in production. Here is the recommended code for providing the device unique identifier. |
144 | + |
145 | + #define TESTING 1 |
146 | + #ifdef TESTING |
147 | + [TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]]; |
148 | + #endif |
149 | + |
150 | +This will allow you to have the best possible information during testing, but disable getting and sending of the device unique identifier when you release your application. When it is time to release simply comment out #define TESTING 1. If you decide to not include the device's unique identifier during your testing phase TestFlight will still collect all of the information that you send but it may be anonymized. |
151 | + |
152 | +5. Use the Checkpoint API to create important checkpoints throughout your application. |
153 | + |
154 | +When a tester does something you care about in your app you can pass a checkpoint. For example completing a level, adding a todo item, etc. The checkpoint progress is used to provide insight into how your testers are testing your apps. The passed checkpoints are also attached to crashes, which can help when creating steps to replicate. |
155 | + |
156 | +`[TestFlight passCheckpoint:@"CHECKPOINT_NAME"];` |
157 | +Use `+passCheckpoint:` to track when a user performs certain tasks in your application. This can be useful for making sure testers are hitting all parts of your application, as well as tracking which testers are being thorough. |
158 | + |
159 | +6. Using the Feedback API |
160 | + |
161 | +To launch unguided feedback call the `openFeedbackView` method. We recommend that you call this from a GUI element. |
162 | |
163 | -(IBAction)launchFeedback { |
164 | [TestFlight openFeedbackView]; |
165 | } |
166 | |
167 | +If you want to create your own feedback form you can use the `submitCustomFeedback` method to submit the feedback that the user has entered. |
168 | + |
169 | + -(IBAction)submitFeedbackPressed:(id)sender { |
170 | + NSString *feedback = [self getUserFeedback]; |
171 | + [TestFlight submitCustomFeedback:feedback]; |
172 | + } |
173 | + |
174 | +The above sample assumes that [self getUserFeedback] is implemented such that it obtains the users feedback from the GUI element you have created and that submitFeedbackPressed is the action for your submit button. |
175 | + |
176 | Once users have submitted feedback from inside of the application you can view it in the feedback area of your build page. |
177 | |
178 | -6. Upload your build. |
179 | - |
180 | -After you have integrated the SDK into your application you need to upload your build to TestFlight. You can upload from your dashboard or or using the Upload API, full documentation here https://testflightapp.com/api/doc/ |
181 | - |
182 | -7. Add Questions to Checkpoints |
183 | +7. Upload your build. |
184 | + |
185 | +After you have integrated the SDK into your application you need to upload your build to TestFlight. You can upload from your dashboard or or using the Upload API, full documentation at <https://testflightapp.com/api/doc/> |
186 | + |
187 | +8. Add Questions to Checkpoints |
188 | |
189 | In order to ask a question, you'll need to associate it with a checkpoint. Make sure your checkpoints are initialized by running your app and hitting them all yourself before you start adding questions. |
190 | |
191 | There are three question types available: Yes/No, Multiple Choice, and Long Answer. |
192 | |
193 | -To create questions, visit your build's Questions page, and click on 'Add Question'. If you choose Multiple Choice, you'll need to enter a list of possible answers for your testers to choose from — otherwise, you'll only need to enter your question's, well, question. If your build has no questions, you can also choose to migrate questions from another build (because seriously — who wants to do all that typing again)? |
194 | +To create questions, visit your builds Questions page and click on 'Add Question'. If you choose Multiple Choice, you'll need to enter a list of possible answers for your testers to choose from — otherwise, you'll only need to enter your question's, well, question. If your build has no questions, you can also choose to migrate questions from another build (because seriously — who wants to do all that typing again)? |
195 | |
196 | -After restarting your application on an approved device when you pass the checkpoint associated with your questions a Test Flight modal question form will appear on the screen asking the beta tester to answer your question. |
197 | +After restarting your application on an approved device, when you pass the checkpoint associated with your questions a TestFlight modal question form will appear on the screen asking the beta tester to answer your question. |
198 | |
199 | After you upload a new build to TestFlight you will need to associate questions once again. However if your checkpoints and questions have remained the same you can choose "copy questions from an older build" and choose which build to copy the questions from. |
200 | |
201 | -8. View your results. |
202 | +9. View your results. |
203 | |
204 | As testers install your build and start to test it you will see their session data on the web on the build report page for the build you've uploaded. |
205 | |
206 | -9. Advanced Exception Handling |
207 | +10. Advanced Exception Handling |
208 | |
209 | -An unhandled exception means that your application is in an unknown state and there is not much that you can do but try and exit gracefully. Our SDK does its best to get the data we collect in this situation to you while it is crashing but it is designed in such a way that the important act of saving the data occurs in as safe way a way as possible before trying to send anything. If you do use unhandled exception or signal handlers install your handlers before calling takeOff our SDK will then call your handler while ours is running. For example: |
210 | +An uncaught exception means that your application is in an unknown state and there is not much that you can do but try and exit gracefully. Our SDK does its best to get the data we collect in this situation to you while it is crashing, but it is designed in such a way that the important act of saving the data occurs in as safe way a way as possible before trying to send anything. If you do use uncaught exception or signal handlers install your handlers before calling `takeOff`. Our SDK will then call your handler while ours is running. For example: |
211 | |
212 | /* |
213 | - My Apps Custom unhandled exception catcher, we do special stuff here, and TestFlight takes care of the rest |
214 | + My Apps Custom uncaught exception catcher, we do special stuff here, and TestFlight takes care of the rest |
215 | **/ |
216 | void HandleExceptions(NSException *exception) { |
217 | NSLog(@"This is where we save the application data during a exception"); |
218 | @@ -135,7 +180,7 @@ |
219 | NSSetUncaughtExceptionHandler(&HandleExceptions); |
220 | // create the signal action structure |
221 | struct sigaction newSignalAction; |
222 | - // intialize the signal action structure |
223 | + // initialize the signal action structure |
224 | memset(&newSignalAction, 0, sizeof(newSignalAction)); |
225 | // set SignalHandler as the handler in the signal action structure |
226 | newSignalAction.sa_handler = &SignalHandler; |
227 | @@ -145,11 +190,54 @@ |
228 | sigaction(SIGBUS, &newSignalAction, NULL); |
229 | // Call takeOff after install your own unhandled exception and signal handlers |
230 | [TestFlight takeOff:@"Insert your Team Token here"]; |
231 | - // continue with your application intialization |
232 | + // continue with your application initialization |
233 | } |
234 | |
235 | You do not need to add the above code if your application does not use exception handling already. |
236 | |
237 | +11. Remote Logging |
238 | + |
239 | +To perform remote logging you can use the TFLog method which logs in a few different methods described below. In order to make the transition from NSLog to TFLog easy we have used the same method signature for TFLog as NSLog. You can easily switch over to TFLog by adding the following macro to your header |
240 | + |
241 | + #define NSLog TFLog |
242 | + |
243 | +That will do a switch from NSLog to TFLog, if you want more information, such as file name and line number you can use a macro like |
244 | + |
245 | + #define NSLog(__FORMAT__, ...) TFLog((@"%s [Line %d] " __FORMAT__), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) |
246 | + |
247 | +Which will produce output that looks like |
248 | + |
249 | + -[HTFCheckpointsController showYesNoQuestion:] [Line 45] Pressed YES/NO |
250 | + |
251 | +We have implemented three different loggers. |
252 | + |
253 | + 1. TestFlight logger |
254 | + 2. Apple System Log logger |
255 | + 3. STDERR logger |
256 | + |
257 | +Each of the loggers log asynchronously and all TFLog calls are non blocking. The TestFlight logger writes its data to a file which is then sent to our servers on Session End events. The Apple System Logger sends its messages to the Apple System Log and are viewable using the Organizer in Xcode when the device is attached to your computer. The ASL logger can be disabled by turning it off in your TestFlight options |
258 | + |
259 | + [TestFlight setOptions:[NSDictionary dictionaryWithObject:[NSNumber numberWithBool:NO] forKey:@"logToConsole"]]; |
260 | + |
261 | +The default option is YES. |
262 | + |
263 | +The STDERR logger sends log messages to STDERR so that you can see your log statements while debugging. The STDERR logger is only active when a debugger is attached to your application. If you do not wish to use the STDERR logger you can disable it by turning it off in your TestFlight options |
264 | + |
265 | + [TestFlight setOptions:[NSDictionary dictionaryWithObject:[NSNumber numberWithBool:NO] forKey:@"logToSTDERR"]]; |
266 | + |
267 | +The default option is YES. |
268 | + |
269 | +12. iOS3 |
270 | + |
271 | +We now require that anyone who is writing an application that supports iOS3 add the System.framework as an optional link. In order to provide a better shutdown experience we send any large log files to our servers in the background. To add System.framework as an optional link: |
272 | + 1. Select your Project in the Project Navigator |
273 | + 2. Select the target you want to enable the SDK for |
274 | + 3. Select the Build Phases tab |
275 | + 4. Open the Link Binary With Libraries Phase |
276 | + 5. Click the + to add a new library |
277 | + 6. Find libSystem.dylib in the list and add it |
278 | + 7. To the right of libSystem.dylib in the Link Binary With Libraries pane change "Required" to "Optional" |
279 | + |
280 | END |
281 | |
282 | Please contact us if you have any questions. |
283 | |
284 | === modified file 'TestFlight SDK/TestFlight.h' |
285 | --- TestFlight SDK/TestFlight.h 2011-10-18 19:18:05 +0000 |
286 | +++ TestFlight SDK/TestFlight.h 2012-08-29 20:24:18 +0000 |
287 | @@ -2,34 +2,95 @@ |
288 | // TestFlight.h |
289 | // libTestFlight |
290 | // |
291 | -// Created by Colin Humber on 8/25/10. |
292 | -// Copyright 2010 23 Divide Apps. All rights reserved. |
293 | +// Created by Jonathan Janzen on 06/11/11. |
294 | +// Copyright 2011 TestFlight. All rights reserved. |
295 | |
296 | #import <Foundation/Foundation.h> |
297 | - |
298 | +#define TESTFLIGHT_SDK_VERSION @"1.0" |
299 | +#undef TFLog |
300 | + |
301 | +#if __cplusplus |
302 | +extern "C" { |
303 | +#endif |
304 | + void TFLog(NSString *format, ...); |
305 | +#if __cplusplus |
306 | +} |
307 | +#endif |
308 | + |
309 | +/** |
310 | + * TestFlight object |
311 | + * All methods are class level |
312 | + */ |
313 | @interface TestFlight : NSObject { |
314 | |
315 | } |
316 | |
317 | /** |
318 | - Add custom environment information |
319 | - If you want to track a user name from your application you can add it here |
320 | + * Add custom environment information |
321 | + * If you want to track custom information such as a user name from your application you can add it here |
322 | + * |
323 | + * @param information A string containing the environment you are storing |
324 | + * @param key The key to store the information with |
325 | */ |
326 | + (void)addCustomEnvironmentInformation:(NSString *)information forKey:(NSString*)key; |
327 | |
328 | /** |
329 | - Starts a TestFlight session |
330 | + * Starts a TestFlight session |
331 | + * |
332 | + * @param teamToken Will be your team token obtained from https://testflightapp.com/dashboard/team/edit/ |
333 | */ |
334 | + (void)takeOff:(NSString *)teamToken; |
335 | |
336 | /** |
337 | - Track when a user has passed a checkpoint after the flight has taken off. Eg. passed level 1, posted high score |
338 | + * Sets custom options |
339 | + * |
340 | + * @param options NSDictionary containing the options you want to set available options are described below |
341 | + * |
342 | + * Option Accepted Values Description |
343 | + * reinstallCrashHandlers [ NSNumber numberWithBool:YES ] Reinstalls crash handlers, to be used if a third party |
344 | + * library installs crash handlers overtop of the TestFlight Crash Handlers |
345 | + * logToConsole [ NSNumber numberWithBool:YES ] YES - default, sends log statements to Apple System Log and TestFlight log |
346 | + * NO - sends log statements to TestFlight log only |
347 | + * logToSTDERR [ NSNumber numberWithBool:YES ] YES - default, sends log statements to STDERR when debugger is attached |
348 | + * NO - sends log statements to TestFlight log only |
349 | + * sendLogOnlyOnCrash [ NSNumber numberWithBool:YES ] NO - default, sends logs to TestFlight at the end of every session |
350 | + * YES - sends logs statements to TestFlight only if there was a crash |
351 | + */ |
352 | ++ (void)setOptions:(NSDictionary*)options; |
353 | + |
354 | +/** |
355 | + * Track when a user has passed a checkpoint after the flight has taken off. Eg. passed level 1, posted high score |
356 | + * |
357 | + * @param checkpointName The name of the checkpoint, this should be a static string |
358 | */ |
359 | + (void)passCheckpoint:(NSString *)checkpointName; |
360 | |
361 | /** |
362 | - Opens a feeback window that is not attached to a checkpoint |
363 | + * Opens a feedback window that is not attached to a checkpoint |
364 | */ |
365 | + (void)openFeedbackView; |
366 | |
367 | +/** |
368 | + * Submits custom feedback to the site. Sends the data in feedback to the site. This is to be used as the method to submit |
369 | + * feedback from custom feedback forms. |
370 | + * |
371 | + * @param feedback Your users feedback, method does nothing if feedback is nil |
372 | + */ |
373 | ++ (void)submitFeedback:(NSString*)feedback; |
374 | + |
375 | +/** |
376 | + * Sets the Device Identifier. |
377 | + * The SDK no longer obtains the device unique identifier. This method should only be used during testing so that you can |
378 | + * identify a testers test data with them. If you do not provide the identifier you will still see all session data, with checkpoints |
379 | + * and logs, but the data will be anonymized. |
380 | + * It is recommended that you only use this method during testing. We also recommended that you wrap this method with a pre-processor |
381 | + * directive that is only active for non-app store builds. |
382 | + * #ifndef RELEASE |
383 | + * [TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]]; |
384 | + * #endif |
385 | + * |
386 | + * @param deviceIdentifier The current devices device identifier |
387 | + */ |
388 | ++ (void)setDeviceIdentifier:(NSString*)deviceIdentifer; |
389 | + |
390 | @end |
391 | |
392 | === modified file 'TestFlight SDK/libTestFlight.a' |
393 | Binary files TestFlight SDK/libTestFlight.a 2011-10-20 17:36:00 +0000 and TestFlight SDK/libTestFlight.a 2012-08-29 20:24:18 +0000 differ |
394 | === modified file 'TestFlight SDK/release_notes.txt' |
395 | --- TestFlight SDK/release_notes.txt 2011-10-18 19:18:05 +0000 |
396 | +++ TestFlight SDK/release_notes.txt 2012-08-29 20:24:18 +0000 |
397 | @@ -1,8 +1,125 @@ |
398 | +1.0 - March 29, 2012 |
399 | +Resolved occurrences of exceptions with the message "No background task exists with identifier 0" |
400 | + |
401 | +1.0 BETA 1 - March 23, 2012 |
402 | +Privacy Updates |
403 | + UDID is no longer collected by the SDK. During testing please use [TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]]; to send the UDID so you can identify your testers. For release do not set +setDeviceIdentifier. See Beta Testing and Release Differentiation in the README or online at https://testflightapp.com/sdk/doc/1.0beta1/ |
404 | + |
405 | +0.8.3 - February 14, 2012 |
406 | +Rolled previous beta code into release builds |
407 | +No longer allow in application updates to occur in applications that were obtained from the app store. |
408 | + |
409 | +Tested compiled library with: |
410 | +Xcode 4.3 |
411 | +Xcode 4.2 |
412 | +Xcode 4.1 |
413 | +Xcode 3.2.6 |
414 | + |
415 | +0.8.3 BETA 5 - February 10, 2012 |
416 | +Changed logging from asynchronous to synchronous. |
417 | +Resolved crash when looking for a log path failed. |
418 | +Added submitFeedback to the TestFlight class to allow for custom feedback forms. |
419 | + |
420 | +0.8.3 BETA 4 - January 20, 2012 |
421 | +Resolved an issue that occured when an application was upgraded from 0.8.3 BETA 1 to 0.8.3 BETA 3+ with unsent data from 0.8.3 BETA 1 |
422 | + |
423 | +0.8.3 BETA 3 - January 19, 2012 |
424 | +On crash log files over 64k will not be sent until next launch. |
425 | + |
426 | +Known Issues: |
427 | +Logging massive amounts of data at the end of a session may prevent the application from launching in time on next launch |
428 | + |
429 | +0.8.3 BETA 2 - January 13, 2012 |
430 | +libz.dylib is now required to be added to your "Link Binary with Libraries" build phase |
431 | +Log file compression, The compression is done on an as needed basis rather than before sending |
432 | +Changed all outgoing data from JSON to MessagePack |
433 | +Added option logToSTDERR to disable the STDERR logger |
434 | + |
435 | +0.8.3 BETA 1 - December 29, 2011 |
436 | +In rare occurrences old session data that had not been sent to our server may have been discarded or attached to the wrong build. It is now no longer discarded |
437 | +Made sending of Session End events more robust |
438 | +Network queuing system does better bursting of unsent data |
439 | +Log files that are larger than 64K are now sent sometime after the next launch |
440 | +Log files that are larger than 16MB are no longer supported and will be replaced with a message indicating the log file was too large |
441 | +Fixed crashes while resuming from background |
442 | + |
443 | +0.8.2 - December 20, 2011 |
444 | +Promoted 0.8.2 BETA 4 to stable |
445 | + |
446 | +Known Issues: |
447 | +Under some circumstances Session End events may not be sent until the next launch. |
448 | +With large log files Session End events may take a long time to show up. |
449 | + |
450 | +Tested compiled library with: |
451 | +Xcode 4.3 |
452 | +Xcode 4.2 |
453 | +Xcode 4.1 |
454 | +Xcode 3.2.6 |
455 | + |
456 | +0.8.2 BETA 4 - December 12, 2011 |
457 | +Prevented "The string argument is NULL" from occuring during finishedHandshake in rare cases |
458 | +Resolved issue where data recorded while offline may not be sent |
459 | + |
460 | +0.8.2 BETA 3 - December 8, 2011 |
461 | +Added auto-release pools to background setup and tear down |
462 | + |
463 | +0.8.2 BETA 2 - December 5, 2011 |
464 | +Fixed the "pointer being freed was not allocated" bug |
465 | + |
466 | +0.8.1 - November 18, 2011 |
467 | +Implemented TFLog logging system, see README for more information |
468 | +Fixed an issue where Session End events may not be sent until next launch |
469 | +Fixed an issue where duplicate events could be sent |
470 | +Fixed an issue with Session End events not being sent from some iPod touch models |
471 | + |
472 | +Tested compiled library with: |
473 | +Xcode 4.2 |
474 | +Xcode 4.1 |
475 | +Xcode 3.2.6 |
476 | + |
477 | +0.8 - November 8, 2011 |
478 | +Added SIGTRAP as a signal type that we catch |
479 | +Removed all Objective-c from crash reporting |
480 | +Removed the use of non signal safe functions from signal handling |
481 | +Created a signal safe way to get symbols from a stack trace |
482 | +Changed the keyboardType for Long Answer Questions and Feedback to allow for international character input |
483 | +Changed TESTFLIGHT_SDK_VERSION string to be an NSString |
484 | +Changed cache folder from Library/Caches/TestFlight to Library/Caches/com.testflight.testflightsdk |
485 | +Fixed issue with saving data when device is offline |
486 | +Fixed compability issues with iOS 3 |
487 | +Added calling into the rootViewController shouldAutorotateToInterfaceOrientation if a rootViewController is set |
488 | +Made the comments in TestFlight.h compatible with Appledoc |
489 | + |
490 | +Tested compiled library with: |
491 | +Xcode 4.2 |
492 | +Xcode 4.1 |
493 | +Xcode 3.2 |
494 | + |
495 | +0.7.2 - September 29, 2011 |
496 | +Changed TESTFLIGHT_SDK_VERSION string to be an NSString |
497 | +Fixed an issue where exiting an application while the SDK is active caused modal views to be dismissed |
498 | +0.7.1 - September 22, 2011 |
499 | +Internal release |
500 | +Refactoring |
501 | +0.7 - September 21, 2011 |
502 | +Moved TestFlight images and data to the Library/Caches folder |
503 | +Resolved an issue where sometimes the rootViewController could not be found and feedback, questions and upgrade views would not be displayed |
504 | +In application upgrade changed to allow skipping until the next version is installed and allows upgrades to be forced |
505 | +Fixed a memory leak when launching questions |
506 | +0.6 - September 2, 2011 |
507 | +Renamed base64_encode to testflight_base64_encode to remove a conflict with other third party libraries |
508 | +Added ability to reinstall crash handlers when they are overwritten using the setOptions API |
509 | +Fixed an issue where crash reports might not get sent under certain circumstances |
510 | +Fixed a deadlock when the application is put in the background and then resumed before all information can be sent |
511 | +Fixed an issue when attempting to un-install all signal handlers during a signal |
512 | +Added support for landscape mode on the iPad to the Questions and Feedback views |
513 | +Crash reporting now works in versions of Xcode earlier than 4.2 |
514 | +Fixed a memory leak during handshake |
515 | 0.5 - August 19, 2011 |
516 | Feedback that is not attached to a checkpoint [TestFlight openFeedbackView] |
517 | Usability changes to question views |
518 | Removed pause and resume sessions, replaced with sessions being stopped and started |
519 | -Added text autocorrection to the Long Answer question type |
520 | +Added text auto correction to the Long Answer question type |
521 | Crash reports now send on crash instead of next launch |
522 | 0.4 - August 15, 2011 |
523 | In Application Feedback with Questions |
Do it.