15805 Commits

Author SHA1 Message Date
Andreas Linde
5278653f63 Update changelog to make it clear that BITStoreUpdateManager is optional and disabled by default 2013-09-24 20:03:17 +02:00
Andreas Linde
0552a12d8d Improve BITStoreUpdateManager documentation
Make it clear that this module by default is disabled, and when enabled what happens.
2013-09-24 17:40:02 +02:00
Andreas Linde
e0e0c732c3 We shouldn't forget to reset the didEnterBackgroundState flag 2013-09-24 17:34:50 +02:00
Andreas Linde
74751a9945 Only check for new feedback when the app becomes active and was actually in the background previously 2013-09-24 17:31:55 +02:00
Stephan Diederich
9ddcad6da7 only reset validation flag once we actually went to the background 2013-09-24 17:28:53 +02:00
Andreas Linde
bc9ee21078 Only check for updates when the app becomes active and was actually in the background previously 2013-09-24 17:24:45 +02:00
Stephan Diederich
aff8c0a9a9 allow to specify a custom URL scheme 2013-09-24 17:09:15 +02:00
Stephan Diederich
1616403e61 update needsValidation
return YES even if already validated but
there's a version mismatch.
2013-09-24 14:05:04 +02:00
Stephan Diederich
c2c6558687 redo BITAuthenticator interface
given the good feedback we got, this is take 2
of the BITAuthenticator interface.
It's simplified, cleaned up and now allows full
control over the authentication process.
Major changes:
* manual mode
  Authenticator provides the bits to show the
  viewController to identify the user as well as to
  trigger validation on behalf of the developer.
* process separation
  identification and app-usage-restriction are now
  2 completely separated things.
* public identifier
  Authenticator now allows the developer to query
  parts of the information, e.g. the UDID or the user's
  emailaddy once identified
2013-09-23 23:15:56 +02:00
Stephan Diederich
5ac00ff174 Merge pull request #62 from Newstex/pull-requests/environment-typo
Fixed recurring typo in manager initializers.
2013-09-23 10:46:42 -07:00
ipaterson
df7010ed8a Fixed recurring typo in manager initializers. 2013-09-23 13:39:59 -04:00
Andreas Linde
82059d357e Add lcov 1.10 which is required to generate code coverage 2013-09-23 17:25:35 +02:00
Andreas Linde
22047b856c Fixes for getting test coverage working again
Xcode 5 does not create .gcda files due to a bug. The workaround used in here has been suggested in the devforums: https://devforums.apple.com/thread/199643?start=0&tstart=0
2013-09-23 17:17:41 +02:00
Andreas Linde
6b6fe5249d Fix failing test due to the test was expecting a different default setting, which was changed recently 2013-09-23 16:35:32 +02:00
Stephan Diederich
0c7414e117 return an NSString instance instead of NSUUID 2013-09-23 16:22:22 +02:00
Stephan Diederich
d7a3fcfe84 add initial tests for BITKeychainUtils 2013-09-23 16:18:18 +02:00
Stephan Diederich
87c275d9f1 set ONLY_ACTIVE_ARCH to yes for unit tests 2013-09-23 16:18:18 +02:00
Stephan Diederich
39334c4d38 fix typo 2013-09-23 16:18:18 +02:00
Andreas Linde
8215900254 Update bit_appAnonID helper to make sure to get a UUID for an app installation and works through the app installation lifetime on the device
- Only get the UUID once per app runtime
- Cache the UUID in the keychain
- Gracefully fall back if some mechanisms won't work

TODO: In theory we could simply only ever use our own generated UUID and keep that via the keychain over the app lifetime instead of trying iOS 6 deviceIdentifier and alternatively the apps pathname
2013-09-23 15:25:50 +02:00
Andreas Linde
ea69a6fec5 Provide an iOS 5 compatible C helper for getting a UUID 2013-09-23 15:23:08 +02:00
Andreas Linde
1a3a5cb2e6 Clean up appIdentifier and keychain servicename to be defined only once 2013-09-23 15:22:37 +02:00
Andreas Linde
341f407eb0 Update OCMockito and OCHamrest frameworks to version 3.0 including 64bit slices 2013-09-23 15:16:56 +02:00
Andreas Linde
6ac703e3d7 Add ARM-64 as code type for crash reports 2013-09-21 23:46:47 +02:00
Stephan Diederich
dc5eb7aadb Merge pull request #61 from Newstex/pull-requests/auth-skip-cleanup
fix didSkipOptionalLogin not cleaned up properly
2013-09-21 03:24:16 -07:00
ipaterson
16cc6d0df5 Updated -testThatCleanupWorks to ensure that didSkipOptionalLogin is set to YES before cleanup, otherwise the assertion that the value is NO after cleanup is merely testing its initialization to NO. 2013-09-20 13:27:59 -04:00
ipaterson
5808e5f799 The kBITAuthenticatorDidSkipOptionalLogin was not being reset upon cleanup because it is stored in NSUserDefaults rather than the keychain. 2013-09-20 13:19:56 -04:00
Stephan Diederich
3c59855edf show proper error when UDID it not allowed to access 2013-09-20 15:29:40 +02:00
Stephan Diederich
623c81e8d9 use keychain attribute thisDeviceOnly instead of custom validation
instead of storing the vendorIdentifier, use the keychain to store
the token on this device only
2013-09-20 15:29:40 +02:00
Stephan Diederich
01be3b2f6f fix typo 2013-09-20 15:29:40 +02:00
Stephan Diederich
4ad928683d fix passed in udid not validated
any udid could be passed, so it only
failed on next launch and showed the
view controller again.
2013-09-20 15:29:40 +02:00
Stephan Diederich
4a7b65b349 fix build of tests 2013-09-20 15:29:40 +02:00
Stephan Diederich
9243d012b9 cleanup
first authenticate depending on app state,
then register for appState changes.
2013-09-20 15:29:40 +02:00
Thomas Dohmke
14d4ccaddf Fix for userName, userEmail, and userID in crash reports. 2013-09-20 11:55:59 +02:00
Stephan Diederich
06d692adbf deprecate unused delegate method
refs #58
2013-09-19 20:37:19 +02:00
Stephan Diederich
7f0f159b56 cleanup public (private) interface
remove findVisibleWindow
2013-09-19 20:37:19 +02:00
Stephan Diederich
4ae09c9c4b allow developer to provide a custom parentViewController
instead of doing the presentation ourselves, use the
provided functionality in the HockeyBaseManager.
This also allows developer to provide their own viewController
by implementing
- (UIViewController *)viewControllerForHockeyManager:componentManager:; as
HockeyManager's delegate.

fixes #58
2013-09-19 20:37:02 +02:00
Andreas Linde
18ab864eef Documentation improvements for BITAuthenticator 2013-09-19 15:42:07 +02:00
Stephan Diederich
b30c0df468 fix typo 2013-09-19 13:34:02 +02:00
Andreas Linde
da76cc9f98 Instead of returning a nil view in the last commit, return an empty view controller 2013-09-19 12:55:10 +02:00
Andreas Linde
ff351edbf1 Make sure update checks are never don from the AppStore environment also if the Update UI wasn't removed from the release build 2013-09-19 12:51:55 +02:00
Andreas Linde
dd0fab33f5 Merge pull request #59 from mlilback/develop
Update BITHockeyManagerDelegate.h
2013-09-19 03:39:00 -07:00
Mark LIlback
42b645d245 Update BITHockeyManagerDelegate.h
documentation fixes
2013-09-18 15:58:50 -04:00
Andreas Linde
6a7f3fce37 Change BITStoreUpdateManager default check interval to weekly
Since iOS 7 provides auto update, this setting is potentially less nagging on people having auto updates activated and where updates just didn't go through yet
2013-09-17 20:09:11 +02:00
Andreas Linde
e3d44f3709 Some more documentation improvements 2013-09-17 20:08:11 +02:00
Andreas Linde
18202819c7 Update to version 3.5.0 Beta 3 2013-09-17 18:50:24 +02:00
Andreas Linde
ddef584d1e Add How to for Authenticating iOS Users with BITAuthenticator 2013-09-17 18:50:12 +02:00
Andreas Linde
9f28d4ae25 Workaround for iOS 7 bug with multiple modal view controllers in landscape on iPad
The feedback compose view will be moved out of the center position (only iPad in landscape and iOS 7) if the textview becomes firstResponder in viewDidAppear. Moving that into the next runloop fixes the issue.
2013-09-17 15:33:23 +02:00
Thomas Dohmke
0d67c5d2cd bit_appAnonID already checks for the identifierForVendor. 2013-09-17 13:45:06 +02:00
Thomas Dohmke
63882f30c0 Don't use identifierForVendor on iOS 5. 2013-09-17 13:39:56 +02:00
Andreas Linde
19f6e768c0 Update to version 3.5.0 Beta 2 2013-09-16 18:34:47 +02:00