840 Commits

Author SHA1 Message Date
Andreas Linde
aa5e68536d Fix formatting of appname in crash reports
Fixes highlights on HockeyApp backend of apps with special chars in their name
2014-09-03 14:14:34 +02:00
Andreas Linde
ccd04e1bcd Fix a small typo in an alert of BITAuthenticator 2014-09-03 14:13:59 +02:00
Andreas Linde
7b61bfa2a6 Make keychain data better accessible
Use `kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly` instead of `kSecAttrAccessibleWhenUnlockedThisDeviceOnly` when storing data into the keychain to allow the data to be also fetched when the app is launched in the background
2014-08-26 20:12:50 +02:00
Andreas Linde
b2a40717c0 Add warnings to the console for the last commit
Notify the developer about the issues by logging a warning to the console when the SDK is initialized more than once or startManager is invoked multiple times
2014-08-26 17:37:24 +02:00
Andreas Linde
d7e17d2f1c Make sure multiple setup runs are ignored
If the `configure` initializers or `startManager` are invoked multiple times, this can cause undefined behaviour and crashes. Hence we simply ignore if they are invoked multiple times.
2014-08-26 17:31:57 +02:00
Andreas Linde
20a777ccf8 Fix update view for resizable iPhone
Resizable iPhone causes modal presentations not to be full screen any longer, so we always should use the views width and never the device-width for the version update data presentation. This also works just fine when build with iOS <= 7.1.x
2014-08-23 20:52:41 +02:00
Andreas Linde
a441811a42 Fix broken auth
The commit 1678d7550a0cc667b14e1efa5608ce3d271bfa42 did break BITAuthenticator
2014-08-08 16:20:23 +02:00
Daniel Tull
cc34cfece8 Fix missing call to super analyzer warning
This is flagged up in Xcode 6's shallow analyzer check.
2014-08-04 19:37:45 +01:00
Andreas Linde
1678d7550a Send install uuid with BITAuthenticator requests 2014-07-25 12:24:41 +02:00
Andreas Linde
bb165bdcef Use library caches folder for BITUpdateManager 2014-07-24 18:20:14 +02:00
Andreas Linde
3917622aa5 Remove KVO observer on dealloc
This case should never happen, since the SDK is supposed to be used via the sharedInstance and never be deallocated.
2014-07-14 18:13:04 +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
c4486099f9 Remove code that is not needed any more 2014-06-24 21:22:46 +02:00
Andreas Linde
85d5480def Improve feedback screenshot feature
- Use iOS 7 functionality when available (Thanks to Lee for the hint)
- Always include status bar area
2014-06-24 21:21:08 +02:00
Andreas Linde
8874ce0f82 Minor improvements for feedback list view 2014-06-24 21:06:51 +02:00
Andreas Linde
b6af4e1d46 Removed JMC support 2014-06-21 17:37:59 +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
5fc0014385 Set data type specific attachment filenames 2014-06-21 01:24:33 +02:00
Andreas Linde
d6aef454ba Binary attachments and BITFeedbackActivity
Add binary attachment support to BITFeedbackActivity
2014-06-20 16:46:47 +02:00
Andreas Linde
c1d75806c7 Minor code cleanup in Feedback component 2014-06-20 16:43:58 +02:00
Andreas Linde
c5cee82954 Added more logging to BITAuthenticator
More logging to the console in case of authentication issues, if debugLogEnabled is set
2014-06-18 18:22:35 +02:00
Andreas Linde
83b32ffe37 Make individual components delegate private
The `delegate` property should only be set on `[BITHockeyManager sharedHockeyManager]` which will then propagade it to all components. Setting the delegate individually per component could cause undefined behaviour.
2014-06-18 15:52:56 +02:00
Andreas Linde
fbfd4ae0fb Include statusbar in screenshots by default 2014-06-16 13:45:02 +02:00
Andreas Linde
423915cb0c Add option to include satusbar in screenshots
All mehotds in BITFeedbackManager that are screenshot releated are changed to include an option that defines wether the screenshot should include the statusbar (if present) or not:

- `- (UIImage *)screenshot` has been changed to `- (UIImage *)screenshotWithStatusBar:(BOOL)includeStatusBar)`
- `- (void)showFeedbackComposeViewWithGeneratedScreenshot` has been changed to `- (void)showFeedbackComposeViewWithGeneratedScreenshotWithStatusBar:(BOOL)includeStatusBar`
2014-06-14 17:22:45 +02:00
Andreas Linde
4226ac0f20 Properly consider paragraphs in release notes 2014-06-14 01:32:53 +02:00
Andreas Linde
deee2db37e Expose public screenshot method
This is useful when trying to connect a compose view that is using a custom UIViewController via the delegate
2014-06-12 16:10:09 +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
Andreas Linde
67f63c118f Add missing super call 2014-06-11 22:08:18 +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
12682d9e3d Fix handling of some edge cases in relation to sending approved crash reports 2014-06-10 15:37:13 +02:00
Andreas Linde
05e0e7ccd6 Make sure checking for non approved crash reports also works when there is no crash in the last session 2014-06-10 12:36:41 +02:00
Andreas Linde
f51a0a8b86 Fix using the correct meta filename when sending crash reports 2014-06-10 01:00:53 +02:00
Andreas Linde
4465bb402f Add osVersion and osBuild to BITCrashDetails 2014-06-09 15:49:58 +02:00
Matthias Wenz
d18183f3ae cleanup/normalize method naming and braces 2014-06-02 10:39:45 +02:00
Matthias Wenz
315fee5f92 remove unused initializer 2014-06-02 10:38:53 +02:00
Matthias Wenz
0066815e20 fix some typos 2014-05-30 16:19:15 +02:00
Andreas Linde
88ed46be02 More documentation fixes 2014-05-28 00:50:56 +02:00
Andreas Linde
038b2b4991 Another small fix 2014-05-28 00:48:55 +02:00
Andreas Linde
3cf56aa9d6 Various fixes and documentation improvements 2014-05-27 23:43:37 +02:00
Andreas Linde
9ca84408d3 Merge branch 'refs/heads/feature/feedback_screenshot' into develop 2014-05-26 14:57:53 +02:00
Andreas Linde
c19a918782 Merge branch 'refs/heads/feature/CrashReporting' into develop 2014-05-26 14:54:20 +02:00
Andreas Linde
32bd3e93b1 Make it clear how the screenshot trigger gets the image 2014-05-26 00:11:59 +02:00
Andreas Linde
347c4dc743 Merge branch 'refs/heads/develop' into feature/feedback_screenshot 2014-05-25 23:04:21 +02:00
Andreas Linde
795b9e59e4 Improve feedback compose view on iPad further (for iOS 6.1) 2014-05-25 20:44:54 +02:00
Andreas Linde
0f142f0ec5 Improvements for feedback compose view on iPad
When the actionsheet is visible, disable the add image button and remove the first responder from the textview
2014-05-25 20:37:14 +02:00
Andreas Linde
429af075bc Improve handling of attachments in compose view
- Only UIImage attachments can be edited
- All others can only be deleted
- Remove scrollview when the last attachment is removed (and avoid a crash if the user clicks on an attachment that doesn't exist any longer)
- Add action sheet button texts to localization files (not localized!)
- Delete local attachment files if compose view is cancelled
- Only show image attachments in the compose view
2014-05-25 20:25:30 +02:00
Andreas Linde
4f18945133 Add support for attaching NSData objects to a feedback compose view 2014-05-25 19:18:34 +02:00
Andreas Linde
b48bb8fb12 Cleanup and bugfixes
- Remove not used code
- Fixed some code style
- use a subdirectory in the SDK caches folder, instead of creating another folder directly under caches
- Height of feedback cells only considers attachments that actually can be previewed.
- If an attachment has no source URL and no local URL, don't show it, not even a loading placeholder, don't consider to reserve space in the cell for it
- refresh attachment cache when new data is loaded or one or all message(s) with attachments have been deleted locally
- `feedbackObservationMode` is a property instead of a method
2014-05-25 18:55:24 +02:00