- 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
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.
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`
- 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
- 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
- Attachments are no longer displayed in a cell if the system indicates that they cannot be displayed.
- Fixed a bug that prevented devices running iOS6 from displaying attachments in the Overview List.