109 Commits

Author SHA1 Message Date
Andreas Linde
f48c984eb6 Restructure UDID check
- Optional Macro HOCKEY_BLOCK_UDID to allow getting uniqueIdentifier, default to NOT allowed
- If Macro is not set, configuration is not Debug, AdHoc or Beta, require a delegate method
- Delegate method to return the device UDID, developer has to make sure it is not returned when building for AppStore
2012-03-23 23:04:41 +01:00
Andreas Linde
7705382f6b Remove autoSubmitting UDID with crash reports and add # DONT_SEND_UDID macro for disabling usage of UDID
By default DONT_SEND_UDID is set to 0, so UDID data will be send for beta usage. The developers should set it to 1 in their project settings for AppStore configurations
2012-03-23 21:20:37 +01:00
Thomas Dohmke
fe4307fb65 Enabled clang in support project and enabled warning for unrecognized selectors. Added clang statements to ignore warning for JMC selectors if JMC is not part of the project. 2012-03-22 13:23:34 +01:00
Thomas Dohmke
8e1678a924 Bumped version to 2.2.6-develop. 2012-03-14 18:38:23 +01:00
Thomas Dohmke
bc19cd7c13 Added icon logic for iOS5 plist key. 2012-03-13 23:22:10 +01:00
Andreas Linde
9b382df3a1 Be more conservative and safe 2012-03-13 20:05:08 +01:00
Thomas Dohmke
d8fbd37f95 Fix if JSON response is invalid or not matching our expectations. 2012-03-13 18:13:08 +01:00
Thomas Dohmke
31cbdde184 Move forward declarations from interface to implementation. 2012-03-13 17:25:23 +01:00
Andreas Linde
414da86d30 Make sure if the installed version is newer, mandatory is ignored 2012-03-08 22:22:21 +01:00
Andreas Linde
6480c28af4 Add SDK info to update request too 2012-03-08 22:10:29 +01:00
Andreas Linde
50e028c9ae Add SDK version number to source and send it to the server, together with the SDK name 2012-03-08 21:21:44 +01:00
Andreas Linde
b9efccfbc6 Improve handling of mandatory flag
- Fix mandatory flag is set but newer version is installed, then the mandatory dialog will still appear (if compareVersionType is set to HockeyComparisonResultDifferent)
- Show mandatory alert if any newer version than the installed one is set to mandatory, and not only the latest one
2012-03-08 21:20:00 +01:00
Andreas Linde
810ecb84b8 Don't crash if no JSON serializer is found, show an error in the log instead 2012-03-08 21:18:42 +01:00
Stefan Haubold
83d6715c13 don't add a target selector for removed method 2012-02-22 17:32:46 +01:00
Stefan Haubold
bf1a2b5655 removed PSLog to prevent conflicts with other SDKs 2012-02-22 17:30:01 +01:00
Andreas Linde
ac8b32d239 Fix for using any method automatically triggering checkForUpdate via notification 2012-02-19 21:54:42 +01:00
Andreas Linde
0dc8ed1a34 Fix potential crash if json string is nil 2012-02-10 19:40:30 +01:00
Andreas Linde
40089f9952 Clean crash queue if the HockeyApp server rejected the crash 2012-02-05 22:03:48 +01:00
Andreas Linde
cc3af968f3 Fix a problem with dismissing the update view in some scenarios 2012-02-05 22:03:24 +01:00
Andreas Linde
78c45db55a Fix memory issue 2012-01-07 12:36:56 +01:00
Thomas Dohmke
3b5bf19433 Removed empty lines. 2011-12-19 08:04:59 +01:00
Thomas Dohmke
71aab1cc1e Changed code formatting. Added #ifdef for JMC legacy code. 2011-12-19 07:58:27 +01:00
npellow
5bfe6ece18 CONNECT-130: use [JMC sharedInstance] now, instead of [JMC instance]. also removed #ifdef JMC_ENABLED now that this is detected via reflection 2011-12-19 15:49:00 +11:00
Thomas Dohmke
2dadd66658 Added #ifdef for JMC integration. 2011-12-17 10:15:57 +01:00
Andreas Linde
ac1ac09411 Some more 2 space indentation fixes 2011-12-13 18:30:27 +01:00
Andreas Linde
bd38778253 Set the delegate for Hockey and Quincy 2011-12-08 18:13:52 +01:00
Andreas Linde
e7da6943e2 Add appstore detection property 2011-12-08 13:47:21 +01:00
Andreas Linde
a61bba1d1f Add workaround for not requiring -all_load linker flag and some Xcode project adjustments 2011-12-07 20:18:14 +01:00
Andreas Linde
b3e7239ed1 Updated manager for quincy logging and new delegate 2011-12-07 16:03:40 +01:00
Andreas Linde
f20b89168d One more 2 space indentation fixes 2011-12-07 15:51:48 +01:00
Andreas Linde
20dc818137 Add new delegate which fires when the user selected "Send Always" in the alert 2011-12-07 15:49:30 +01:00
Andreas Linde
e975ce9e85 Fix for an older commit in QuincyKit being only half complete
Even if the user did select to auto send, the dialog appeared again, because the new check if this was the case and if auto send is currently allowed wasn't actually used
2011-12-07 15:48:24 +01:00
Andreas Linde
58f68d4817 Don't treat empty server responses as success 2011-12-07 15:47:02 +01:00
Andreas Linde
6c0f91937a Added optional logging for debugging help
Activate using [[BWQuincyManager sharedQuincyManager] setLoggingEnabled:YES];
2011-12-07 15:46:43 +01:00
Andreas Linde
9de1e646cc Removing returning shared instance before dispatch_once is invoked
Might rather harm things and is not required anyway.
2011-12-05 23:58:31 +01:00
Thomas Dohmke
d444c177df Changed indentation to 2 spaces for all files. 2011-12-05 16:07:59 +01:00
Thomas Dohmke
37bcbb7793 Send "appstore" instead of "" for udid. 2011-12-05 15:45:00 +01:00
Thomas Dohmke
ec5178919f Enable JSON for App Store builds, but do not submit the UDID and don't evaluate the returned JSON. 2011-12-05 15:41:20 +01:00
Andreas Linde
9162b740e9 Update some log statements to be shown always and not only when logging is enabled 2011-12-05 11:34:59 +01:00
Andreas Linde
fc76d6973b Fix double encoding strings in Hockey client 2011-12-05 11:24:16 +01:00
Andreas Linde
9d80a51da5 Various bugfixes in Hockey client
- Fix possible crash if hockey.bundle is missing
- Fix daily check not working
2011-12-05 00:28:55 +01:00
Andreas Linde
dc631f4d7e If quincy.bundle is missing in the app, show a warning via NSLog and send crash reports without showing any dialogs, since it would crash otherwise 2011-12-04 13:56:27 +01:00
Thomas Dohmke
3118b1d354 Merged change from 8771e2d9f5 (thanks to https://github.com/mk). 2011-12-03 18:37:20 +01:00
Thomas Dohmke
6cd1549136 Merged changed from 80cd88e976 (thanks to https://github.com/mackross). 2011-12-03 18:35:05 +01:00
Thomas Dohmke
b1a4f22c2b Added change from bc0e43552f (thanks to https://github.com/diederich). 2011-12-03 18:31:11 +01:00
Thomas Dohmke
b28290cc45 Added options for modal presentation style and bar style. 2011-12-03 18:28:28 +01:00
Thomas Dohmke
2884bdf354 Moved public API from BWHockeyManager to CNSHockeyManager. Fixed name of isShowingDirectInstallOption. 2011-12-03 17:57:16 +01:00
Thomas Dohmke
1446d31588 Added Quincy properties and methods to CNSHockeyManager. 2011-12-03 17:16:21 +01:00
Thomas Dohmke
6aeb205063 Added delegate methods from BWHockeyManager and BWQuincyManager to CNSHockeyManagerDelegate. 2011-12-03 16:56:22 +01:00
Thomas Dohmke
b6f00765df Removed empty line. 2011-12-03 16:32:58 +01:00