318 Commits

Author SHA1 Message Date
Stephan Diederich
3c25f25945 fix warning 'multiple methods length found'
* method accepts either NSStrings and NSAttributedString: assert on that
* explicitly cast to NSAttributedString to get rid of ambiguity warning
2013-06-20 14:20:32 +02:00
Stephan Diederich
d3696e5c4f fix mem leak 2013-06-20 14:18:28 +02:00
Andreas Linde
84e63761dc Adjust size of name and email textfields in feedback UI
Now resizes with device rotation on non iPad and uses max width on both device types.
2013-06-04 15:10:57 +02:00
Andreas Linde
d21b7b001c More changes to the behavior of first forced user data and compose UI presentation
This is a change to previous behavior! Now the SDK by default shows the user data UI and subsequent compose UI always modally to ensure proper functionality on all scenarios the feedback viewer can be presented.

The new property `showFirstRequiredPresentationModal` in `BITFeedbackManager` can be set to `NO` if the previous behavior of pushing the UI and Compose view onto the stack, when those are being forced to be shown on the first presentation of the feedback UI. Especially if you present the UI in a popover, you should NOT change this property!
2013-06-04 14:54:04 +02:00
Andreas Linde
6960618748 Bugfix for a push animation warning appearing when presenting feedback view in a popover and requiring userdata 2013-06-04 02:13:57 +02:00
Stefan Haubold
407c04b384 Suggest only CONFIGURATION_AppStore 2013-05-15 14:25:41 +03:00
Andreas Linde
93c2f05fac Use Keychain for some data
- Added SFHFKeyChainUtils with BIT prefix
- Save username, email or userid (if provided by the app or the user) in the keychain instead of user defaults or property files
2013-05-09 16:45:58 +02:00
Andreas Linde
89fa399787 Fix double definition of private method and add handling for unlikely malloc failure 2013-05-09 13:43:41 +02:00
Andreas Linde
f07efd3996 Remove unnecessary checks 2013-04-23 18:18:38 +02:00
Andreas Linde
4c7ab219d3 Merge branch 'develop' of github.com:bitstadium/HockeySDK-iOS into develop 2013-04-23 18:13:00 +02:00
Andreas Linde
feeb8ef4b1 Make sure the SDK doesn't crash comparing data when the server returns invalid data 2013-04-23 18:12:50 +02:00
Andreas Linde
f14153c388 Fix converting long executable names
The name should have a space at the end, so it is separated from the address field
2013-03-25 19:12:29 +01:00
Andreas Linde
ec458234ea Minor analyzer fixes 2013-02-23 15:19:36 +01:00
Stefan Haubold
eefa48846a fixed deprecation warning for NSString UIKit Constants with iOS6 deployment target 2013-02-20 14:03:42 +01:00
Stefan Haubold
bafd9a0fff fixed "dismissModalViewControllerAnimated is deprecated" warning when compiling the SDK with deployment target 6.0 2013-02-20 13:38:48 +01:00
Andreas Linde
abc639c18c Improve and fix adjusting status bar style
- Only adjust the status bar style, if the navigation bar style is the default one
- Fix a bug not resetting the status bar style correctly when presenting the update view in a navigation bar stack
2013-02-17 19:08:44 +01:00
Andreas Linde
f25d27aa73 More documentation improvements 2013-02-12 15:02:21 +01:00
Andreas Linde
b490ae6144 More documentation updates preparing 3.0 release 2013-02-10 18:15:34 +01:00
Andreas Linde
e0d17bdbed Use a better property name in update view for the title texts 2013-02-07 16:46:08 +01:00
Andreas Linde
7fd08e5ddc Fix animation glitch and blurred font in Update View 2013-02-07 16:45:28 +01:00
Andreas Linde
e5f58960ac Some more documentation improvements 2013-02-07 14:59:15 +01:00
Skylar Schipper
7642229951 Added __attribute__((unused)) to a few properties to suppress unused warning in external variable definitions in Xcode 4.6 2013-01-28 16:06:51 -08:00
Andreas Linde
1e053cf91e Mark deprecated delegates as deprecated
And not only mention it in the documentation
2013-01-28 18:37:26 +01:00
Andreas Linde
ddb8b69ada Small documentation improvements 2013-01-28 18:36:53 +01:00
Peter Steinberger
e1d6515b2a Fixes several typos. 2013-01-20 13:01:35 +01:00
Peter Steinberger
2c7728bcb7 Fixes "variable name is shadowed" warnings 2013-01-20 13:01:29 +01:00
Andreas Linde
bba439df78 Some more class documentation improvements 2013-01-19 00:48:18 +01:00
Andreas Linde
92cb2d6dcf Show proper missing name or email in the feedback list view button instead of "(null)" string 2013-01-18 23:44:10 +01:00
Andreas Linde
fd6208b533 Only push the user details view automatically onto the feedback list stack once at max
If the required manual user data is missing and the feedback list view appears the user detail view is automatically pushed. Now if the user cancels and goes back to the feedback list, it gets pushed again and so the user can never exit. Instead push this at maximum once. When providing feedback it will ask the missing user details again anyway.
2013-01-18 23:42:37 +01:00
Andreas Linde
01050ea407 Fix bugs when changing require setters of BITFeedbackManager after the setup
If the userName and userEmail delegates are implemented and the requireUserEmail or requireUserName are changed after that, then the user interface is shown even though the delegates define the values and the user shouldn't be able to change that.
2013-01-18 23:37:03 +01:00
Andreas Linde
78b2127a92 Exclude UUID fetching from simulator builds (workaround to get unit test targets build without problems)
- This now requires the testing of this feature to be done on an actual device, since it returns always empty strings on the simulator
- Once there is a better solution to get unit test targets build without problems this should be changed again, so testing of this feature is also possible using the simulator
2013-01-15 16:07:17 +01:00
Andreas Linde
8dab0e1d3a Binary UUID fetching may not return nil, otherwise could lead to a crash. Return an empty string instead 2013-01-15 16:03:50 +01:00
Andreas Linde
e0e338ac5a Merge branch 'develop' of github.com:bitstadium/HockeySDK-iOS into develop 2013-01-09 16:55:10 +01:00
Andreas Linde
9f2f40bc06 Update copyright 2013-01-04 14:44:44 +01:00
Andreas Linde
3c168bc270 Improve identifier cheek error logging in case live identifier is provided 2012-12-30 17:07:47 +01:00
Andreas Linde
cd9989bb09 Make sure connection is always cleared 2012-12-30 17:07:18 +01:00
Andreas Linde
a6b9ddc638 Make sure crash reports incident identifier and key don't have special [] chars and some value
The previously shows [] as part of [TODO], since PLCrashReporter didn't fill them out. Having the incident identifier showing a [ or ] char made it impossible to drag it into the Organizer to get it symbolicated in there
2012-12-06 18:52:06 +01:00
Andreas Linde
baf36227ce Fix feedback UI problems on the first appearance when shown in a navigation stack 2012-12-04 23:24:30 +01:00
Stephan Diederich
2de6ed5e8c fix UIActionSheet rotation when presented modally
if the BITFeedbackListViewController is presented
modally (via a UINavigationController) the action sheet
should show in that view.
Basically search for the root- or topmost presented view
controller.
2012-12-04 01:43:10 +01:00
Stephan Diederich
8857fcfecb fix UIActionSheet now showing in UIScrollView
if the BITFeedbackListViewController's view is contained in
a scrollview, the UIActionSheet if offset by the contentOffset
when presented. But as the action sheet is presented in
a separate window, that offset moves it out of the view.
Instead, show the action sheet  in the window's
rootViewController's view.
2012-12-04 00:55:55 +01:00
Andreas Linde
b00db4e9e8 Fix
*doh*
2012-12-03 16:58:58 +01:00
felixLam
792ed5d5b2 Fixes validation of email addresses containing upper case characters 2012-12-03 16:07:46 +01:00
Andreas Linde
90ecf7311d On first feedback list view appearance, show the user data (if needed) and compose view automatically
Instead of modal presentation, show them pushed on the navigation stack
2012-12-02 02:01:10 +01:00
Andreas Linde
c9c66390ef Add usage of barStyle and tintColor to Activity, compose and user data views 2012-12-02 02:00:13 +01:00
Andreas Linde
679112f3cc Oh documentation
*doh*
2012-11-28 23:26:08 +01:00
Andreas Linde
1712e8854b Clean this up!
Thanks @tewha :)
2012-11-28 23:21:20 +01:00
Andreas Linde
6b948a8d13 Make sure json serialization never gets a nil value, otherwise it crashes 2012-11-28 19:02:37 +01:00
Andreas Linde
c754c9f68e Move calculation of time interval between startup and crash further up in the code
This allows the delegate, e.g. applicationLog, to know about the interval and e.g. include it in the log file
2012-11-27 20:43:49 +01:00
Andreas Linde
f211182f49 Add anonID to crash reports
CrashReporter Key is actually an anonymous ID for each device/installation where the crash occurred
2012-11-27 02:37:47 +01:00
Andreas Linde
2c4dc33f36 Call delegate also if a crash was detected but could not be read
If PLCrashReporter wrote a crash report, that could not be read, no delegate was fired. That could make the app stay in the start up maintenance screen, if it handles crashes on startup.
Though there was no report this ever happened, there is the theoretical chance this could.
2012-11-26 19:45:21 +01:00