984 Commits

Author SHA1 Message Date
Christoph Wendt
fda99a4777 Add private methods (session tracking) 2015-08-25 17:28:14 -07:00
Christoph Wendt
0520f716b5 Add contract files (session tracking) 2015-08-25 17:27:48 -07:00
Christoph Wendt
bd47a94e49 Initialize and start telemetry module 2015-08-25 15:28:41 -07:00
Christoph Wendt
d431340772 Inherit from BITHockeyBaseManager 2015-08-25 15:28:20 -07:00
Christoph Wendt
24942d058b Add telemetry module to BITHockeyManager 2015-08-25 14:13:24 -07:00
Christoph Wendt
73ec8d872d Add BITTelemetryManager 2015-08-25 14:05:11 -07:00
Andreas Linde
1c221668de Improve documentation
Make usage of `BITHockeyNetworkDidBecomeReachableNotification` more clear
2015-08-24 09:54:43 +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
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
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
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
a27340d6bf Fix header includes 2015-05-19 10:56:19 +02:00
Andreas Linde
4ac8779a61 Fix BITStoreUpdateManager not getting delegate 2015-05-12 21:59:00 +02:00
Andreas Linde
167358f25c Add option to hide "Add Image" attachment button 2015-05-12 12:25:03 +02:00
Andreas Linde
469ef20021 Draw attachments when hardware keyboard is used 2015-05-12 12:24:17 +02:00
Eloy Durán
63228fdc25 Add process ID to BITCrashDetails. 2015-05-07 17:29:13 +02:00
Andreas Linde
4ef37fa9f7 Add missing import statement 2015-04-24 16:23:05 +02:00
Andreas Linde
6ea387fcda Improve building with only a few features
Building e.g. only with crash reporting activated caused compiler warnings to appear even with the binary distribution when e.g. forward declaration checks are enabled.

This commit adds additional checks in all relevant header and code files to make sure the header files only consider the features that have been enabled
2015-04-21 17:48:52 +02:00
Andreas Linde
69d61e5189 Fix issue with AppNotTerminatingCleanlyDetection
The code wronly assumed that when crashManager startManager is invoked, it will always be in the foreground, which causes false reports in some scenarios. The fix checks if the app is really active when this code is running.
2015-03-31 13:14:46 +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
e74a495410 Minor changes to previous commit
- Change property name to be more explicit
- Reset proptery to nil, so we can are making sure the logic always works safely and is only triggered before the photo picker is invoked
2015-03-26 17:07:26 +01:00
Jens Daemgen
6c27be621d Add workaround for UIImagePickerController-bug which shows the statusBar
* the statusBar shows up when the UIImagePickerController opens
* the status bar does not disappear again when the UIImagePickerController is dismissed
2015-03-26 17:03:49 +01:00
anlinde
3568b4cc1a Merge pull request #135 from yberdnikov/feature/FeedbackComposerPreparedItems
Setting feedback composer initial items via BITFedbackManager
2015-03-26 16:48:22 +01:00
Andreas Linde
6eb17a281d Merge branch 'start_update_delegate_message' ...
... of https://github.com/jgarth/HockeySDK-iOS into jgarth-start_update_delegate_message
2015-03-26 16:06:46 +01:00
Andreas Linde
376b5b88d2 Merge pull request #141 from tewha/typos-2
Typos 2
2015-03-19 14:54:56 +01:00