69 Commits

Author SHA1 Message Date
Matthias Wenz
4eebed913c Support pre iOS8 devices 2015-10-20 11:33:56 +02:00
Matthias Wenz
1a37cfca41 Show/hide keyboard if necessary on all iOS 9 devices 2015-10-20 11:11:12 +02:00
Lukas Spieß
96cfb169b6 Switch back to using UIAlertView
We won't use UIAlertController for now until we have a more robust solution for displaying it without knowing the currently presented view controller.
2015-09-29 16:38:11 +02:00
Andreas Linde
f4c9a3bae5 Merge pull request #197 from bitstadium/feature/iOS9-Updates
Make SDK ready for iOS 9
2015-09-09 18:49:58 +02:00
Andreas Linde
a770652d2f Fix feedback compose view rotation issue
This fixes https://github.com/bitstadium/HockeySDK-iOS/issues/196
2015-09-09 14:53:19 +02:00
Andreas Linde
f8d2dd0178 make sure the Add Image button is always centered
This is for BITFeedbackComposeViewController
2015-09-09 14:02:38 +02:00
Cédric Luthi
ba533464f3 Remove unnecessary nil checking before calling respondsToSelector: 2015-09-04 23:10:05 +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
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
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
Steven Fisher
3c6f7cd68f Fixed spelling of associated. 2015-03-18 16:12:23 -07:00
Andreas Linde
bc475061f2 Fix issues in feedback compose UI
- "Add image" button not reappearing when deleting the 3rd attachment
- Attachment scrollview not being always scrollable when it should be
- Support for rotating and correctly adjusting the attachment scrollview
2015-02-12 21:27:46 +01:00
Andreas Linde
62482b1721 Fix a crash when deleting a feedback attachment 2015-02-12 21:10:48 +01:00
Andreas Linde
7219105b90 Fix a compile error 2014-11-25 16:24:44 +01:00
Andreas Linde
1f6cc3f84a Fix a few compiler warnings
This fixes a few compiler warnings when compiling using iOS 8 as deployment target. Default is still iOS 6!
2014-11-24 15:14:08 +01:00
Andreas Linde
606344c730 Fixed feedback compose issue with predefined text
If there was predefined text to appear in a feedback compose view and the user added some more text and then added an attachment, the user added text was removed and only the predefined text appeared.
2014-10-08 06:07:08 -07:00
Andreas Linde
34f78ebbef Fix feedback compose view in landscape and iOS 8
In landscape the text couldn't be seen, since the text view was moved up due to iOS 8 returning the keyboard height now as `height` in landscape, while it did return it as `width` in previous iOS versions.
2014-09-26 17:31:28 +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
c1d75806c7 Minor code cleanup in Feedback component 2014-06-20 16:43:58 +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
Matthias Wenz
d18183f3ae cleanup/normalize method naming and braces 2014-06-02 10:39:45 +02:00
Andreas Linde
3cf56aa9d6 Various fixes and documentation improvements 2014-05-27 23:43:37 +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
moritz haarmann
3338486c53 + Reintegrated categorized methods into BITFeedbackMessageAttachment. 2014-05-12 12:36:52 +02:00
moritz haarmann
d736b35f04 + Append new Attachments on top. Solves some problems. 2014-05-12 12:28:00 +02:00
Moritz Haarmann
7f0a04044c Some fixes, but too much movement. ATM. 2014-05-12 01:25:30 +02:00
moritz haarmann
b230c964a6 + WIP 2014-04-11 17:43:34 +02:00
moritz haarmann
6151ed6ac7 + Adapted Add Photo Layout to iOS6 style. 2014-04-11 15:01:24 +02:00
moritz haarmann
14947a577c + Re-Enabled the ability to well, submit, reviews. 2014-03-19 13:39:56 +01:00
moritz haarmann
e0057f650e + Removed some Deprecation warnings. 2014-03-19 13:14:38 +01:00
moritz haarmann
672e38a7e2 + Fixes a Bug where attachments in the compose view are hidden on an iPad. 2014-03-06 10:57:32 +01:00
moritz haarmann
74f9e5d5ca + Prevent Messages without any text from ever being sent. 2014-02-27 11:16:22 +01:00
moritz haarmann
35dc6c58d5 + Fixes ActionSheet madness 2014-02-26 10:10:56 +01:00
moritz haarmann
28eee0eb3d + Some basic image editing functionality. 2014-02-25 15:07:59 +01:00
moritz haarmann
21e5ca3b9d + prepareWithItems accepts UIImages now. 2014-02-24 11:37:18 +01:00
moritz haarmann
47594faf5f + Improved Persistence handling. 2014-02-18 11:56:07 +01:00
moritz haarmann
2146788f7b Added Delete/Edit ActionSheet
Fixed a Bug where the Feedback cannot be sent if no text is entered.
2014-02-18 10:56:40 +01:00
Moritz Haarmann
6b09e75cd6 + Original Filename of picked image is used as attachment name. 2014-02-17 23:49:49 +01:00
moritz haarmann
38af43bdb5 + Changing machines.. 2014-02-17 21:04:03 +01:00
moritz haarmann
4b359e7771 + Fixes a warning 2014-02-13 11:32:54 +01:00
moritz haarmann
36371dcd30 + Finalized preliminary feedback support. Now comes the polish. 2014-02-13 11:04:32 +01:00
moritz haarmann
9b57875a47 Added Photo Picker functionality to Feedback Composer (#3) 2014-02-12 18:15:24 +01:00