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
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
Andreas Linde
660c3083c9
Fix crash manager not using delegates, because the delegate is not set yet
2012-08-09 00:31:27 +02:00
Andreas Linde
17718e7d44
Make sure the binaryImageSort for crash reports is static and doesn't cause link conflicts
2012-08-08 20:16:45 +02:00
Andreas Linde
dd9980f944
Fix App Store detection not working correctly when using configureWithBetaIdentifier: liveIdentifier: delegate:
2012-08-08 15:21:01 +02:00
Andreas Linde
a3941c5dbc
Small documentation update
2012-08-07 16:14:33 +02:00
Andreas Linde
80dda70552
Use localized app name for dialogs
2012-08-07 16:14:24 +02:00
Andreas Linde
91466456fd
Update documentation for last commit
2012-08-07 13:12:25 +02:00
Andreas Linde
da2bb59c17
For expiry UI use the same UI as for authorization
...
- alert is fallback if window cannot be found
- default view on screen, locking image and text
2012-08-07 12:57:58 +02:00
Andreas Linde
12c981f923
New option to set expiry date for the app
...
Uses neverending UIAlertView by default, can be exchanged by implementing a new delegate. Automatically disabled when the app is running from the App Store.
2012-08-07 02:13:41 +02:00
Andreas Linde
9859335f64
Add option to change the server URL
...
And fix a bug with the disable properties
2012-08-06 14:37:27 +02:00
Andreas Linde
90759c7788
Add properties allowing to disable crash reporting or beta updates
2012-08-05 01:23:15 +02:00
Andreas Linde
01fea4fca2
Fixed removing missed out ivar of feedback commit
2012-08-04 15:18:35 +02:00
Andreas Linde
41065796a6
Remove crash reporting feedback feature for now
...
Removed this feature for now, since it requires a major redesign on the server and SDK. If really need this feature, please use the former SDKs.
2012-08-04 13:53:49 +02:00
Andreas Linde
f3c5b8b5e6
Fix some compiler warnings
...
These seem to appear if the project is ARC based, even though this lib is non ARC as of now
2012-08-02 12:32:40 +02:00
Andreas Linde
7ead5d998b
Restructure (crash) manager internals
...
- Write all temp data into the same directory under caches/<sdkidentifier>/...
- Write approved crashes into its own plist instead of user defaults
- Use a temp file for analyzing crash report file instead of user defaults boolean
- Fix some define namings
2012-07-27 12:03:40 +02:00
Andreas Linde
e31cdb41ab
Fix memory mgmt bug
2012-07-26 15:30:14 +02:00
Andreas Linde
23e2183c87
Fix finding the resource bundle
2012-07-24 23:43:58 +02:00