361 Commits

Author SHA1 Message Date
Andreas Linde
5de53de18b change misleading "tintColor" property in BITHockeyBaseManager 2013-08-16 18:11:15 +02:00
Andreas Linde
151f311563 Make sure to call substringToIndex when creating the crash report in text format only if the path string actually is not empty
How this could ever happen is beyond my imagination
2013-08-13 02:49:28 +02:00
Andreas Linde
20c055eb48 Merge pull request #41 from bitstadium/feature/#30-feedbackDelegate
Feedback manager delegate & strong typing of BITHockeyManager delegate
2013-07-29 05:03:32 -07:00
Andreas Linde
70a4310d24 Merge pull request #44 from bitstadium/feature/#31-feedbackCompletion
provide info in the delegate if feedback was submitted or cancelled
2013-07-29 02:34:32 -07:00
Andreas Linde
ef1ae02a1e Merge branch 'refs/heads/feature/v3.1' into develop 2013-07-28 01:55:40 +02:00
Andreas Linde
0a3ddc1373 Merge branch 'refs/heads/feature/AppStoreUpdate' into develop 2013-07-28 01:53:33 +02:00
Stephan Diederich
d39c39feb7 comment private header 2013-07-27 15:25:34 +02:00
Stephan Diederich
9acdf02a0e add todo 2013-07-27 15:25:16 +02:00
Stephan Diederich
03081b4bcd replace numbers with an enum
* use an enum instead of plain numbers
* move used method below the using method
2013-07-27 15:24:52 +02:00
Stephan Diederich
5d8f030547 remove initializations
the runtime already does a good
job at this
2013-07-27 15:24:35 +02:00
Stephan Diederich
d660dd8b7c factor out mainBundleIdentifier helper 2013-07-27 15:24:24 +02:00
Stephan Diederich
c71c764303 strongly type the BITHockeyManagerDelegate
instead of being id, use the proper protocol. Also
let the BITHockeyManagerDelegate protocol implement
the module protocols.
2013-07-26 15:34:39 +02:00
Stephan Diederich
c816f4dc19 add feedbackManager delegate that is informed about incoming feedback
fixes #30
2013-07-26 15:33:12 +02:00
Stephan Diederich
949613d7e5 move protocol to class extension 2013-07-26 15:06:17 +02:00
Stephan Diederich
d347153e1c remove unused simulated new version
it's not needed in the tests and currently just adds overhead
2013-07-26 14:46:18 +02:00
Stephan Diederich
c92c6b379e move protocol to class continuation
no need this must be public
2013-07-26 14:46:18 +02:00
Stephan Diederich
609dbcccb8 adjust property declarations
while those are probably singletons, it should be more safe
to retain them.
2013-07-26 14:46:18 +02:00
Stephan Diederich
0a1931d20e adjust comment 2013-07-26 14:46:18 +02:00
Stephan Diederich
125e84b9ac remove check for nil 2013-07-26 14:46:18 +02:00
Stephan Diederich
f7136ec9d1 NSDate is non-mutable, should be safe to retain it 2013-07-26 14:46:18 +02:00
Andreas Linde
56a5f546c4 Added a hint to enable the StoreUpdateManager to make the simulation actually work 2013-07-26 14:46:17 +02:00
Andreas Linde
7582f02a08 Add simulating an app store update being available
Will be automatically disabled when run from a build distributed by the App Store
2013-07-26 14:46:17 +02:00
Andreas Linde
166f2c7ccd Also return the storeURL for the app 2013-07-26 14:46:17 +02:00
Andreas Linde
f4e9c8724d New property to disable the StoreUpdateAlert 2013-07-26 14:46:17 +02:00
Andreas Linde
b23e5134bc Add an optional delegate to get informed about new update being available 2013-07-26 14:46:17 +02:00
Andreas Linde
c4921bb9de Make sure not to check for store updates if NSLocaleCountryCode returns nil
And also make sure it doesn't crash in that case :)
2013-07-26 14:46:17 +02:00
Andreas Linde
77f1522b44 Add more debug logging to BITStoreUpateManager 2013-07-26 14:46:17 +02:00
Andreas Linde
f11bee044b Missed that method call change 2013-07-26 14:46:17 +02:00
Andreas Linde
72d203d00f More unit tests
And minor refactoring of method name
2013-07-26 14:46:17 +02:00
Andreas Linde
8c6adec552 Disable built in UI if HockeySDK bundle is not present 2013-07-26 14:46:17 +02:00
Andreas Linde
03a6dbb999 If a version is chosen to be ignored or shown, never show this version again 2013-07-26 14:46:16 +02:00
Andreas Linde
4de8c898be Manual checks always being ignored 2013-07-26 14:46:16 +02:00
Andreas Linde
4921ecb690 Unit tests and refactoring 2013-07-26 14:46:16 +02:00
Andreas Linde
13f71b6f12 Don't use hardcoded bundle identifier
(That was intended for testing only)
2013-07-26 14:46:16 +02:00
Andreas Linde
7576441b54 Documentation improvements for the new store update manager 2013-07-26 14:46:16 +02:00
Andreas Linde
e89564a8d9 First version of new AppStore Update module 2013-07-26 14:46:16 +02:00
Andreas Linde
857bd24f6e Fail if the developer tries to setup the SDK on a background thread
Fixes #39
2013-07-21 21:37:44 +02:00
Andreas Linde
b6c77b8fb3 Integrate first test version of PLCrashReporter v1.2 with BIT namespace
Fixes #37
2013-07-21 21:11:22 +02:00
Stephan Diederich
27919a28ae provide a result in feedbackComposeViewController's delegate
fixes #31
2013-07-16 13:43:49 +02:00
Stephan Diederich
cc9e403a3e fix typo 2013-07-16 12:00:45 +02:00
Stephan Diederich
150b56be6d don't let messages pile up 2013-07-16 11:54:36 +02:00
Stephan Diederich
f1ba1b092b fix analyzer warning
it's somewhat more clear to release and set to nil,
then store a new reference directly in the ivar.
2013-06-20 14:24:44 +02:00
Stephan Diederich
070844e234 fix mem-leak analyzer warning
Although the analyzer is wrong here (highlighFramesetter property is synthesized), it doesn't hurt
to use the instance variables.
2013-06-20 14:22:48 +02:00
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