171 Commits

Author SHA1 Message Date
Andreas Linde
eea38c3c8a Add installationIDs to crash reports, so the amount of affected users of a crash can be determined
Uses iOS 6 ASIdentifierManager class or identifierForVendor if the class is not available. Fallback on iOS 5 is to use app path UUID which is generated by iOS when installing the app

Conflicts:
	Classes/BITCrashManager.m
	Classes/BITHockeyHelper.h
	Classes/BITHockeyHelper.m
2012-12-06 17:56:35 +01:00
Andreas Linde
340813fcc2 Warp JMC ping invocation into NSSelectorFromString 2012-10-06 01:01:18 +02:00
Andreas Linde
2aca4995a0 Fix authorisation not being saved for a version and requesting on each cold app start again 2012-10-02 13:20:45 +01:00
Andreas Linde
53eb832bb6 Remove header string for application log 2012-09-28 21:27:17 +02:00
Andreas Linde
109e985fc9 Migrate previous crash AutoSend user setting 2012-09-28 19:09:14 +02:00
Andreas Linde
6c913beac5 Remove unused key 2012-09-28 12:35:01 +02:00
Andreas Linde
6706778f53 Fix auto send button not persisting 2012-09-28 12:34:26 +02:00
Andreas Linde
5428df4f45 Fix checking for new PLCrashReporter properties being available 2012-09-27 21:58:55 +02:00
Stephan Diederich
36c81ac650 cleanup JIRA_MOBILE_CONNECT_SUPPORT_ENABLED defines
* only define JIRA_MOBILE_CONNECT_SUPPORT_ENABLED if it's not already defined.
  default is to disable it
* cleanup usage of JIRA_MOBILE_CONNECT_SUPPORT_ENABLED
  it's always defined, so no need to check
2012-09-26 14:10:04 +02:00
Andreas Linde
a4c1bd7480 Added a forward declaration of BITUpdateManager in BITUpdateManagerDelegate 2012-09-25 12:21:14 +02:00
Andreas Linde
76962cc519 Merge branch 'fix-crash-manager-import' of git://github.com/Taptera/HockeySDK-iOS into Taptera-fix-crash-manager-import 2012-09-25 12:01:25 +02:00
Andreas Linde
3e1ee32a02 Make sure the expiry blocking UI isn't added over and over again 2012-09-25 11:55:06 +02:00
Andreas Linde
d716d098fd Merge branch 'develop' of git://github.com/realestate-com-au/HockeySDK-iOS into realestate-com-au-develop 2012-09-25 11:41:43 +02:00
Andreas Linde
c60a0604fc Fix expiryDate property not being taken care of correctly 2012-09-25 11:38:53 +02:00
Chris Miles
1e0c47667c Merge https://github.com/bitstadium/HockeySDK-iOS into develop 2012-09-25 17:16:06 +10:00
Ian Fisher
18f3a8c5af Added a forward declaration of BITCrashManager in BITCrashManagerDelegate 2012-09-24 17:33:47 -07:00
Andreas Linde
80317fa538 Fix checking validity of wrong identifier
Thanks to @nano for the hint
2012-09-21 22:14:24 +02:00
Andreas Linde
19e956045e Fix for compiler warning about comparing NSInteger and NSUInteger
Thanks to @pburleson
2012-09-21 21:13:31 +02:00
Andreas Linde
ad0c369fc7 Check liveIdentifier already in beta build and make sure passing nil doesn't cause a crash 2012-09-16 00:05:24 +02:00
Andreas Linde
973654b152 Use correct armv7s architecture in UUID xml tag 2012-09-13 13:51:57 -06:00
Andreas Linde
cf28589eff Add support for armv7s to the crash report text formatter 2012-09-12 20:14:36 -06:00
Stefan Haubold
a577d2fe3b refactored didBecomeActive notification handling 2012-09-12 23:56:35 +02:00
Chris Miles
3777a454d1 Added build time config option for JMC support.
Set JIRA_MOBILE_CONNECT_SUPPORT_ENABLED macro to 1 to enable
compiling in support for Jira Mobile Connect. By default it
is not enabled.
2012-09-12 18:36:10 +10:00
Andreas Linde
550bca42c1 Don't check for authorization if run from the iOS simulator 2012-09-05 11:57:53 +02:00
Andreas Linde
3d4d0bc719 Fix Re-entering the app doesn't trigger check for updates
https://github.com/bitstadium/HockeySDK-iOS/issues/4
2012-08-31 15:30:38 +02:00
Stephan Diederich
4285aa1eb8 fix update button state
if the user has UINavigationButton's text attributes customized
iOS 6 beta 4 calls viewWillAppear if a navigationButton is set
on the navigationItem in viewDidLoad (rdar://12214613)
As BITUpdateViewController thinks the view was already loaded
in viewWillAppear, the button state is not properly set.

Setting the navigationButton in init fixes this.
2012-08-31 15:02:51 +02:00
Stephan Diederich
994812ee43 fix update button not appearing
first set the button to the ivar,
then apply the state

Signed-off-by: Andreas Linde <mail@andreaslinde.de>
2012-08-31 12:29:06 +02:00
Andreas Linde
4c77e0a8cc Fix wrong naming convention 2012-08-30 15:54:48 +02:00
Andreas Linde
6967748148 Remove NSString and UIImage categories, so the static library doesn't require the linker flag -all_load
The flag shouldn't be required, and worked in the demo project absolutely fine. But from now to then there was an Xcode bug that made it required again and some non reproducible scenarios where reported by users where it doesn't work without the flag. To fix this for always and forever, we don't use categories any more.
2012-08-30 15:16:16 +02:00
Andreas Linde
7827524e04 Add another missing new line at EOF of a header 2012-08-29 13:25:12 +02:00
Andreas Linde
f67b1fda97 Make private methods static to prevent name conflicts
https://github.com/bitstadium/HockeySDK-iOS/issues/3
2012-08-29 11:19:00 +02:00
Andreas Linde
1f840d909c More fixes for UpdateManager.checkForUpdateOnLaunch and UpdateManager.checkForTracker
- checkForUpdateOnLaunch was not used when it should
- checkForTracker should still work, if UpdateManager is disabled! (This needs to be refactored in a future version)
- Also fixes sending two update check requests on startup instead of only 1
- Also make sure that the requests are really send if checkForTracker is enabled, no matter if updateManager is disabled or checkForUpdateOnLaunch is disabled, but don't show the update alert in those cases
- Don't send usage information when run from the app store and checkForTracker is enabled
2012-08-22 01:13:46 +02:00
Andreas Linde
569833f65e Fix setting UpdateManager.checkForUpdateOnLaunch to NO disabling usage tracking and expiry check not working 2012-08-22 00:16:30 +02:00
Andreas Linde
a227ff9f7a Fix disableUpdateManager not working as advertised
This bug did not affect the automatic disabling of the module when run from the App Store! That one was and is working as advertised.
2012-08-21 23:54:13 +02:00
Andreas Linde
edcce33ee7 Add missing new line at EOF 2012-08-20 17:36:25 +02:00
Andreas Linde
13b918f9cd Add some error handler detection, to optionally notify the developer of multiple handlers that could cause crashes not to be reported to HockeyApp
Enable debugLogEnabled to get this warning.
2012-08-20 15:46:41 +02:00
Andreas Linde
02a215be6d If the server reports no versions available for update process, don't report this as an error 2012-08-20 13:30:23 +02:00
Andreas Linde
a0f41065a8 Add some more info to log message to more easily classify them 2012-08-20 13:28:33 +02:00
Andreas Linde
28c9480da7 Show [HockeySDK] prefix on all NSLog messages 2012-08-20 13:14:29 +02:00
Andreas Linde
6b7f405868 Show a error message in the console, if an older PLCrashReporter version is actually linked and give a hint on what to do 2012-08-20 13:14:29 +02:00
Andreas Linde
4707e0c8d1 Make sure the app doesn't crash, if the developer forgot to delete the old PLCrashReporter framework and the framework search path is still pointing to it
If the framework search path still has the path to an older PLCrashReporter framework set and that is set before the path to HockeySDK, then it would link against the old one causing the app to crash when trying to send a bug report, because the old PLCrashReporter version is missing some new properties.
2012-08-20 13:14:29 +02:00
Andreas Linde
2b17dba7c1 Fix setting the default delegate for UpdateManager (another typo) 2012-08-14 12:58:49 +02:00
Andreas Linde
58e7dc28a1 Fix a typo 2012-08-14 12:19:19 +02:00
Andreas Linde
ece5f8bc49 Make sure PLCrashReporter only gets initialized once, even on manually invoking the method multiple times
And also catch the exception PLCrashReporter throws, if the develop is somehow trying to initialize it multiple times.
2012-08-14 12:17:17 +02:00
Andreas Linde
40041ad882 Fix a crash if the notification BITHockeyNetworkDidBecomeReachableNotification is being sent 2012-08-14 12:17:17 +02:00
Andreas Linde
d616018f39 Fix typo in BITHockeyManagerDelegate method
Must be all time favorite, thanks to Evan for letting us know :-D
2012-08-13 23:30:19 +02:00
Andreas Linde
6fb1a432cb Last documentation updates 2012-08-13 14:06:26 +02:00
Andreas Linde
e69a32a676 Set the submodules delegates to the same delegate defined by the initial configure initialization.
The delegates can still be access and set directly, if the dev wants to have different classes implementing them.
For the general user this improves the ease of setup, because the submodules delegates don't have to be set specifically and by setting the delegate protocols in the header the missing required delegates will still be shown as warning
2012-08-10 15:45:32 +02:00
Andreas Linde
84241461e5 Move version define number into .xcconfig 2012-08-10 01:07:17 +02:00
Andreas Linde
6cf128a71d Project updates with version string
- Store version numbers in .xcconfig
- Use those for .framework and documentation
- minor documentation build updates
2012-08-09 19:57:39 +02:00