999 Commits

Author SHA1 Message Date
Christoph Wendt
dd101d0e59 Add NSURLSession support (BITAuthenticator) 2015-09-02 13:35:59 -07:00
Christoph Wendt
37727b46f4 Add NSURLSession support (BITHockeyManager) 2015-09-02 13:34:57 -07:00
Christoph Wendt
08c8b8242f Add NSURLSession support (BITStoreFeedbackManager) 2015-09-02 11:26:13 -07:00
Christoph Wendt
f06cf2a636 Add NSURLSession support (BITAuthenticator) 2015-09-02 11:25:43 -07:00
Christoph Wendt
8935364018 Add NSURLSession support (BITFeedbackListViewController) 2015-09-01 18:30:12 -07:00
Christoph Wendt
9cca26f789 Add NSURLSession support (BITStoreUpdateManager) 2015-09-01 17:55:13 -07:00
Christoph Wendt
862771437c Implement NSURLSessionTaskDelegate methods (BITUpdateManager) 2015-09-01 17:54:21 -07:00
Christoph Wendt
582bd3019b Refactor NSURLConnection delegate methods (BITUpdateManager) 2015-09-01 17:53:35 -07:00
Christoph Wendt
327ac60283 Support NSURLSession request (BITUpdateManager) 2015-09-01 17:50:30 -07:00
Andreas Linde
9f9c7d28ea Merge branch 'develop' into feature/iOS9-Updates 2015-08-27 10:18:42 +02:00
Andreas Linde
64aaf2aa8c Fix app update triggering exit not safely report
When the app updates and the crash manager has `enableAppNotTerminatingCleanlyDetection` enabled, starting the update shouldn't trigger a crash report for that scenario.
2015-08-27 10:18:13 +02:00
Andreas Linde
f7fc72c11d Comment new encoding methods for now
This needs to be fixed before release.
2015-08-27 10:13:46 +02:00
Andreas Linde
05de1686fa Fix alert presentation with UIAlertController 2015-08-24 17:01:58 +02:00
Andreas Linde
e721bcfa19 Merge branch 'develop' into feature/iOS9-Updates 2015-08-24 10:30:59 +02:00
Andreas Linde
1c221668de Improve documentation
Make usage of `BITHockeyNetworkDidBecomeReachableNotification` more clear
2015-08-24 09:54:43 +02:00
Andreas Linde
68f2a66f11 Merge branch 'develop' into feature/iOS9-Updates 2015-08-18 10:40:11 +02:00
Andreas Linde
b791b7640b PLCR update
Update to commit 356901d7f3ca3d46fbc8640f469304e2b755e461 which fixes an issue in iOS 9 Beta on iPad Air 2
2015-08-18 10:39:29 +02:00
Andreas Linde
c19e83f6b0 Merge branch 'develop' into feature/iOS9-Updates 2015-08-13 13:52:24 +02:00
Andreas Linde
375d82ffbf Add Extension target and specific crash only build 2015-08-11 15:27:32 +02:00
Andreas Linde
065f9e7b89 Assign more files to features
Make sure the implementation is only processed in all files, when the feature is actually set to build
2015-08-10 17:38:09 +02:00
Tony Arnold
f7bb142f86 Remove @param documentation command used with a property, not a method/function 2015-08-07 13:38:23 +10:00
Andreas Linde
6018e13739 Include UI from crash manager only on iOS
This excludes the UI code from WatchOS builds since `TARGET_OS_IOS` excludes WatchOS (`TARGET_OS_WATCH`)
2015-07-22 16:11:13 +02:00
Andreas Linde
cb00038222 Use UIAlertController when available 2015-07-22 15:37:51 +02:00
Andreas Linde
29acf3ef05 Fix iOS 9 warnings
- Require iOS 7 as base SDK  (for compiling)
- Hide deprecation message for NSURLConnection calls, these will be refactored soon
- Remove statusbar adjustment code (which isn't needed any longer)
- Remove kBITTextLabel... defines and use NSText.. instead
- Remove a few `#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_6_1` since we require iOS 7 as base now (for real)
2015-07-22 15:33:53 +02:00
Andreas Linde
1bc04a66b1 Fix feedback UI rotation issue
This should fix https://github.com/bitstadium/HockeySDK-iOS/issues/181

It's the best I could come up with so far. We make sure the number of sections and messages doesn't change while the UI is redrawn on rotation and updating it afterwards again.
2015-07-09 13:34:41 +02:00
Andreas Linde
35cb41bb0e Small fix for last commit 2015-07-08 12:11:46 +02:00
Andreas Linde
78645f5dee Update PLCrashReporter
- Commit 73f4ad5aa1796978f22b63aed3f8490b215b2c07 in release/1.3 branch
- Fixes iOS 9 bug not returning all binary images
2015-07-08 11:57:24 +02:00
Andreas Linde
3c17cda93f Remove username in simulator build only
Removing username from paths only makes sense in the simulator
2015-07-03 15:44:15 +02:00
Andreas Linde
46f0560c1f Ignore deprecation warning with Xcode 7
This is in our own delegate, so it is safe to turn this on without fear ;)
2015-06-23 15:09:12 +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
3094c0524c Send crash reports via NSURLSession when available 2015-06-23 10:12:13 +02:00
Gwynne Raskind
4bc9d45c45 Remove meaningless namespace qualifier from throw override. Look up the Objective-C exception vtable dynamically (since weak import doesn't do what you think, even when it does). Remove useless debugging statements that were just causing trouble. 2015-06-22 19:15:16 +02:00
Andreas Linde
f6cb595f6e Silence compiler warning since this is intended 2015-06-22 09:42:56 +02:00
Andreas Linde
b62984073f Update documentation
And add crash only build specific modulemap to Xcode project
2015-06-21 12:36:06 +02:00
Gwynne Raskind
2a5e4a7523 Statically overload __cxa_throw() to capture backtraces from C++ exceptions at throw time. Makes reasonable best efforts at speed. 2015-06-20 17:02:05 +02:00
Andreas Linde
4d38c17979 Also send CFBundleShortVersion value for crashes 2015-06-19 13:52:04 +02:00
Diego Torres
82439a600a - Revert feature config to all enabled.
- Added a feature config only for podspec.
- podspec will replace feature config file upon installation
2015-06-18 15:47:32 +02:00
Andreas Linde
f621373e6a Fixes for crash only build
Make sure `BITFeedbackMessage` and `BITFeedbackMessageAttachment` classes are not included in crash only build
2015-06-18 15:44:32 +02:00
Andreas Linde
3ae00f08f8 Rename HockeyNullability.h
to HockeySDKNullability.h
2015-06-18 15:42:57 +02:00
Andreas Linde
74c0a55f08 Move nullability support into separate header 2015-06-12 16:18:16 +02:00
Andreas Linde
747000e7e0 Add missing header include 2015-06-12 15:37:14 +02:00
Andreas Linde
9e1674f223 Add support for __nullable on older Xcode versions 2015-06-12 15:02:17 +02:00
Andreas Linde
fdb7057403 Document C++ exception drawbacks 2015-06-12 14:56:09 +02:00
Andreas Linde
0bb78d7201 Update documentation
- Remove Advanced setup guide
- Added `libc++` dependency
- Updated modulemap files to automatically link all required libraries and frameworks
- Updated setup doc to use module import style
- Update CrashOnly build modulemap file
- Code style fixes
2015-06-12 14:41:58 +02:00
Gwynne Raskind
7ccfe6aac7 Port C++ exception handling support over from PLCrashReporter's non-merged implementation. Includes changes to auto-link C++ with client apps where possible. Correctly handles cases where client apps use libstdc++. 2015-06-10 11:32:03 -05:00
Andreas Linde
19968651e9 Another fix for screenshot feature in feedback
Older devices (iPhone 4S and iPad 3 running iOS 8) would still show a previously captured screenshot instead of the current one, because it takes too long to get the image from the Asset Library than the assumed 0.5s. Increasing to 1.5s fixes the issue also for these.
2015-06-09 16:44:15 +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
94537a4132 Support for CFBundleName
Use the (localized) value of CFBundleName for the app name in dialogs (e.g. crash alert) if CFBundleDisplayName is not set
2015-06-08 13:10:46 +02:00
Andreas Linde
0a34c5d2a4 Fix a documentation warning 2015-06-02 11:24:04 +02:00
Andreas Linde
7f6ef93b0f Fixed offline issue with unsend crash reports
This fixes an issue of the following scenario:

- Autosending crash reports is disabled, so alerts appear
- The app crashes
- The app restarts, shows the UI and sending is approved
- The device is offline can't send the report
- The app crashes again
- The app restarts, shows the UI and sending is approved
- The device is offline can't send the report
- The app goes background or exits
- The app starts again and shows the UI again and again and again, even though it is already approved.

Only the device coming back online fixed this issue so far.

This commit fixes this issue for all scenarios.
2015-05-20 14:57:25 +02:00