38 Commits

Author SHA1 Message Date
Andreas Linde
a14fa23f28 Convert to ARC 2012-10-23 16:22:23 +02:00
Andreas Linde
aee5c4adda Update update view to be more iOS 6 like
Not completely finished yet
2012-10-22 01:08:26 +02:00
Andreas Linde
59a0319ea9 Update appName handling 2012-10-19 17:18:10 +02:00
Andreas Linde
e6d76ca364 Use the proper default app name in the Update View Controller 2012-10-19 13:49:01 +02:00
Andreas Linde
b486b8142c Add more helpers for getting app name and making a screenshot
Screenshot is not yet used.
2012-10-18 20:08:22 +02:00
Andreas Linde
eb05becb5b Remove JSON pre iOS5 lib support, always use NSJsonSerialization 2012-10-16 02:10:37 +02:00
Andreas Linde
9b8f51fe5f Restructure project targets and binary distribution target
- Use one common static lib target
- create embeddedFramework as binary distribution including docset in one zip
- Add HockeySDK.xcconfig for easier build setting setup
- Move everything into a single directory, too many problems making binary and subproject work without requing recursive header search paths
- Documentation update pending
2012-10-07 21:49:47 +02:00
Andreas Linde
1a71aa2ea5 Initial Feedback component
- First implementation on feedback, not finished yet!
- Move all components into their own subdirectory
- Restructure common delegates into BITHockeyManagerDelegate
- Restructure common component methods into new superclass (not finished yet)
2012-09-28 12:30:19 +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
c60a0604fc Fix expiryDate property not being taken care of correctly 2012-09-25 11:38:53 +02: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
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
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
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
660c3083c9 Fix crash manager not using delegates, because the delegate is not set yet 2012-08-09 00:31:27 +02:00
Andreas Linde
80dda70552 Use localized app name for dialogs 2012-08-07 16:14:24 +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
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
Andreas Linde
0bffa909d6 Provide a delegate method to enable or disable sending usage data instead of using a property
Sending usage data is enabled by default!
2012-07-22 21:55:49 +02:00
Andreas Linde
2257950c99 Clean up private properties and methods in BITUpdateViewController 2012-07-22 02:49:30 +02:00
Andreas Linde
3fd3c083bf Simplify privacy settings
- Remove update settings UI
- Only one property that defines if user and usage data is send (only if the app is not running in the app store)
- Update documentation
2012-07-22 02:36:55 +02:00
Andreas Linde
0586a69bc0 Clean up some private ivars and methods and move them into their own header files 2012-07-22 00:32:42 +02:00
Andreas Linde
812d0b4a35 Clean up some more naming and disable logging in App Store
- Change last BITHockeySDK.. into BITHockey…
- Disable BITHockeyLog when running in an App Store build
2012-07-21 22:58:40 +02:00
Andreas Linde
e75eef7136 Send executables UUID
- This helps identifying the actual build, if multiple builds use the same version numbers
- Based on http://stackoverflow.com/questions/10119700/how-to-get-mach-o-uuid-of-a-running-process with the great help from Landon and Stephan
2012-07-19 23:50:52 +02:00
Andreas Linde
4e572a31f5 Fix log message of bundle is missing 2012-07-19 23:44:29 +02:00
Andreas Linde
fc95966a4c Fix warnings 2012-07-19 23:10:15 +02:00
Andreas Linde
671060929c Refactoring
- Change Prefixes to BIT
- Make one shared instance and change the functionalities to modules
- One bundle for resources
- Targets for framework and static libs
- Other cleanup
2012-07-19 17:17:19 +02:00