Commit Graph

86 Commits

Author SHA1 Message Date
Andreas Linde
375d82ffbf Add Extension target and specific crash only build 2015-08-11 15:27:32 +02:00
Andreas Linde
422235caec Fix iOS 7.1 unit test and make upload more robust 2015-06-23 10:59:22 +02:00
Andreas Linde
0bbf72a033 Fix compiler warning in test case 2015-06-22 09:42:43 +02:00
Andreas Linde
4d38c17979 Also send CFBundleShortVersion value for crashes 2015-06-19 13:52:04 +02:00
Andreas Linde
6962f21473 Disable tracking the installation on a device
The new property will cause the app to generate a new `installString` value every time the app is cold started.

The property is only considered in App Store Environment, since it would otherwise affect the `BITUpdateManager` and `BITAuthenticator` functionalities!

Default is NO.
2015-06-08 14:03:54 +02:00
Andreas Linde
8703e42ba8 Fix compiler warning in BITFeedbackManagerTests 2015-05-20 12:04:39 +02:00
Andreas Linde
0c24be45d3 Fix test crashes when fixtures are not available 2015-05-20 12:03:52 +02:00
Andreas Linde
bea1b3603a Add delegate to FeedbackManagerDelegate
Added `allowAutomaticFetchingForNewFeedbackForManager:` which allows the developer to influence if the SDK should fetch for new messages on app startup and when the app is coming into foreground.

By default the SDK always checks in those cases if there are already messages existing.
2015-05-19 14:08:49 +02:00
Andreas Linde
a316687f47 Fixed another typo
*sigh*
2015-05-19 11:19:28 +02:00
Andreas Linde
021f0fd2b5 Fix typo 2015-05-19 11:13:40 +02:00
Andreas Linde
e9ce39ce20 Fix compiler warning in tests 2015-05-19 10:58:19 +02:00
Andreas Linde
a27340d6bf Fix header includes 2015-05-19 10:56:19 +02:00
Andreas Linde
423af40aa2 Remove calls to __gcov_flush() in tests 2015-05-12 11:07:35 +02:00
Andreas Linde
db62cc99e0 Access and save keychain data with always access
This helps if an app is running in the background and the device is still locked
2015-03-26 18:08:55 +01:00
Andreas Linde
6e87975b41 Further improved image type detection
Fixes a few more issues with detecting the image type in crash reports
2014-11-27 17:12:05 +01:00
Stefan Haubold
ef892581d6 Create Licenses.txt 2014-11-19 11:53:31 +01:00
Andreas Linde
74e4bb7f1a Migrate unit tests to XCTest 2014-07-17 12:46:37 +02:00
Andreas Linde
53edf21c5d Fix some best app icon finding issues
In some cases the algorithm didn't find any icon, even if they are there
2014-07-08 21:03:26 +02:00
Andreas Linde
cae1226b38 Allow customizable attachments to feedback
- New `BITHockeyAttachment` class, which `BITCrashAttachment` is now a subclass of
- Can also be used in `prepareWithItems:` for BITFeedbackComposeViewController
- Allows to set a custom filename and content-type for attachments that can be used with crash reports and with feedback
2014-06-21 16:23:55 +02:00
Andreas Linde
760a8d07b8 Improve fetching the optimal icon of an app for the update view 2014-06-12 14:39:16 +02:00
Andreas Linde
7963fdf5a7 Merge branch 'refs/heads/feature/instancetype' into develop 2014-06-12 00:26:27 +02:00
Lukas Spieß
42738397a6 Replace initialiser return types of id with new instancetype 2014-06-11 15:35:45 +02:00
Andreas Linde
de211b2d6e Fix unit tests 2014-06-10 15:53:21 +02:00
Andreas Linde
7c0495c401 Fix unit tests that broke in last commit 2014-05-20 13:32:38 +02:00
Andreas Linde
89a7398971 Allow the developer to set more than just the description when handling user alert for crashes
- Also fixes a bug where crash caches dir could get deleted
- Some refactoring
2014-05-20 13:28:05 +02:00
Andreas Linde
0f117b27c5 Send each crash report individually one after another and only if the previous succeeds
This reduces unnecessary network traffic and performance issues if there are lots of crashes pending for sending on the device
2014-05-04 17:56:45 +02:00
Andreas Linde
8d8289d970 Merge branch 'refs/heads/feature/CustomAlert' into feature/CrashReporting 2014-04-27 19:45:43 +02:00
Andreas Linde
01eef668d1 Remove +x from some more files 2014-04-27 19:42:42 +02:00
Lukas Spieß
82b217f19d Much better test for attachment persisting 2014-04-25 16:23:39 +02:00
Lukas Spieß
535537aa73 add additional tests 2014-04-25 14:23:33 +02:00
Lukas Spieß
654620ee3f add test for persistUserProvidedCrashDescription 2014-04-24 18:18:09 +02:00
Lukas Spieß
1311846241 update method signature 2014-04-24 16:10:12 +02:00
Lukas Spieß
a05e15463b Update tests for new method syntax 2014-04-24 15:37:34 +02:00
Lukas Spieß
954e5c9ac2 add tests for handleUserInput method 2014-04-16 15:31:31 +02:00
Andreas Linde
b5087a61c4 Improve fetching of current binaries UUID
- This now also works with unit tests
- Fixed BITStoreUpdateManager for now failed unit tests
- Fixed a typo

Thanks to @0xced !
2014-03-27 00:13:27 +01:00
Andreas Linde
6db478b452 Add some tests for BITFeedbackManager and user meta data properties 2014-03-24 15:47:22 +01:00
Andreas Linde
fc9fa2e61c Fix test code coverage not working any longer since Xcode 5.1 2014-03-20 15:56:26 +01:00
Andreas Linde
1068bb119c Add support for binary attachments to crash reports 2014-02-27 18:21:17 +01:00
Andreas Linde
a0bfdfbaec Issue #85: Replace kNilOptions with 0
Thanks to Jonathan!
2014-01-10 02:27:51 +01:00
Andreas Linde
252e7e9ded Fix unit tests not running any longer due to removed private header file 2013-12-29 02:01:27 +01:00
Andreas Linde
785f654060 Fixed static analyzer warnings for unit tests when running against 64 bit target 2013-12-04 02:19:37 +01:00
Philippe Casgrain
ed1b546384 Removed obsolete test
The user is now required to call `authenticateInstallation` manually, which obviates the need for this test.

Required call was implemented in 7052f0cd.
2013-12-03 16:25:43 +01:00
Philippe Casgrain
308ea14b6e Removed automaticMode from tests
automaticMode was removed in commit 498bd62cbb.
2013-11-29 15:46:31 +01:00
Cédric Luthi
41867dc57d Delete base64 tests 2013-11-02 00:31:38 +01:00
Stephan Diederich
28b08fa804 add "webAuth" identificationType 2013-10-11 17:18:04 +02:00
Stephan Diederich
00ad57b245 rename ivar
adjust name so that it's not that easy to confuse
it with the identificationType. This is only the type of
the identifier.
2013-10-11 17:18:01 +02:00
Stephan Diederich
79d6c41c5b remove isValid flag reset tests
it's currently not testable as the UIApplication
singleton is directly accessed
2013-09-26 16:01:09 +02:00
Andreas Linde
3e29c863f7 Only use UUID for appAnonID
There is no need to use other methods, if this fallback always works with the new system
2013-09-25 16:41:36 +02:00
Andreas Linde
7e9618f773 Add more tests for BITHockeyHelper 2013-09-25 16:40:52 +02:00
Andreas Linde
241b5f1a4b Add support for iOS 7 native Base64 encoding
Also add some tests for base 64 encoding
2013-09-25 16:14:06 +02:00