661 Commits

Author SHA1 Message Date
Stephan Diederich
00ad57b245 rename ivar
adjust name so that it's not that easy to confuse
it with the identificationType. This is only the type of
the identifier.
2013-10-11 17:18:01 +02:00
Stephan Diederich
98bcbcb75f rename localizable string and add HockeyAuthenticationViewControllerWebAuthLoginDescription
prepare for WebAuth
2013-10-11 17:17:58 +02:00
Stephan Diederich
ddaab3246c let authenticator set the description of the viewController 2013-10-11 17:17:56 +02:00
Andreas Linde
498bd62cbb Remove automaticMode property since it is not needed any more
The developer needs to call at least `authenticateInstallation` instead.
2013-10-10 12:32:29 +02:00
Andreas Linde
5f87227e76 Properly check for identification before calling BITUpdateManager startManager only if the user is identified or JMC is setup
Also fixes a problem when Authenticator was excluded but UpdateManager was included.
2013-10-10 03:07:29 +02:00
Andreas Linde
7052f0cd7a Require the user to call authenticateInstallation manually
This solves multiple issues:
- Possible crashes at startup because the app is already in the process of presenting another modal view. This way the developer can make sure that only one modal view is being presented
- If the app is showing e.g. a login view on startup, it is now not needed to turn off automatic mode and setup the complete auth workflow manually and simply invoke `authenticateInstallation` after the login view is either fully presented (`viewDidLoad` finished) or the user did log in
2013-10-10 02:39:44 +02:00
Andreas Linde
2788b749d8 Allow apps to overwrite strings in their own localization files 2013-10-09 15:55:39 +02:00
Andreas Linde
e58036b5f9 Fix crash if minOSVersion is not provided 2013-10-09 14:20:28 +02:00
Andreas Linde
82cc66c454 Provide public access to the anonymous UUID being used
This UUID is app installation specific and being used for crash reports and when sending feedback.
2013-10-08 17:28:32 +02:00
Andreas Linde
2bf6e6115c Fix update view controller not showing updated content after using the check button and actually receiving new content 2013-10-08 14:06:03 +02:00
Andreas Linde
5ea62ff806 More documentation updates 2013-10-07 19:13:18 +02:00
Stephan Diederich
1a28150ec0 [Authenticator] also check the host part of a given URL
This helps especially in case of a custom URL scheme, so that
BITAuthenticator doesn't reset the identification token if a URL
is passed in that wasn't meant to parsed by BITAuthenticator.

fixes #70
2013-10-04 11:53:50 +02:00
Andreas Linde
efe6442e5d Added more documentation to BITCrashManager
- added information about which protocol allows it to add custom username/email/userid to crash reports
- added information on how to handle crashes that happen during startup
2013-10-03 00:08:08 +02:00
Andreas Linde
f92fcbbbc6 Fix memory leak in BITKeyChainUtils
Fixes https://github.com/bitstadium/HockeySDK-iOS/issues/68
2013-10-02 19:12:24 +02:00
Andreas Linde
445d6847ea Add some documentation to the last commit and note it doesn't work on iOS 5 2013-10-01 23:20:36 +02:00
Andreas Linde
49e172af00 If the parentViewController onto which a modal view will be presented is still being presented, try again a little later
This fixes crashes when automatically presenting our view controllers on top of the current parentViewController while that is still in the process of being presented (animated).
2013-10-01 18:31:00 +02:00
Andreas Linde
d85ca9a58e Add namespace to local methods and make the C function static to avoid linker problems when adding similar libraries using PLCR 2013-09-29 17:54:18 +02:00
Andreas Linde
0e4ba043fa FIx usage value being reset on every app cold start 2013-09-29 17:44:38 +02:00
Andreas Linde
a4124dbda4 Fix removing observers correctly
Thanks to @idpaterson for reporting this in https://github.com/bitstadium/HockeySDK-iOS/pull/64
2013-09-29 17:14:31 +02:00
Andreas Linde
627faf8f7b Consider Feature defines in BITHockeyManagerDelegate.h 2013-09-27 14:25:53 +02:00
Andreas Linde
4ffbe5ca4e Add missing BITFeedbackManagerDelegate.h import in HockeySDK.h and fix @protocol statement that was added as @class
Fixes https://github.com/bitstadium/HockeySDK-iOS/issues/63
2013-09-27 14:01:31 +02:00
Andreas Linde
4d8013ce2f Fix a build problem with iOS 6 as base SDK 2013-09-26 20:53:50 +02:00
Stephan Diederich
9466ae387a remove assertion
it's actually OK and handled if response is nil
2013-09-26 16:00:28 +02:00
Andreas Linde
ae1bbe67b0 Adjust iOS 7 icon radius in update view 2013-09-26 14:23:02 +02:00
Andreas Linde
9e4daa07de Add iOS 7 icon sizes 2013-09-26 14:14:12 +02:00
Andreas Linde
d7fdc74dea Fix gloss still being added to app icons in iOS 7 *doh* 2013-09-26 00:20:09 +02:00
Andreas Linde
3e29c863f7 Only use UUID for appAnonID
There is no need to use other methods, if this fallback always works with the new system
2013-09-25 16:41:36 +02:00
Andreas Linde
7e9618f773 Add more tests for BITHockeyHelper 2013-09-25 16:40:52 +02:00
Andreas Linde
241b5f1a4b Add support for iOS 7 native Base64 encoding
Also add some tests for base 64 encoding
2013-09-25 16:14:06 +02:00
Andreas Linde
32318cac36 Move BITValidateEmail to BITHockeyHelper named bit_validateEmail and add some tests 2013-09-25 15:48:58 +02:00
Andreas Linde
56ca20098b Add additional tests for BITCrashManager 2013-09-25 14:36:53 +02:00
Andreas Linde
a23930a54e Add first set of basic unit tests for BITCrashManager
Also make minor changes to BITCrashManager to be able to test
2013-09-25 01:47:32 +02:00
Andreas Linde
7e79c2d78d UI fixes for Update view and iOS 7 2013-09-24 23:32:43 +02:00
Andreas Linde
52ad2c54a6 Actually use the radius and don't only set it 2013-09-24 23:32:43 +02:00
Andreas Linde
623549070c Don't add gloss when on iOS 7 to icons in update view 2013-09-24 23:32:43 +02:00
Andreas Linde
20b30af6e8 Draw icons in update view with different radius when on iOS 7 2013-09-24 23:32:43 +02:00
Stephan Diederich
4f4ed09cd4 add URL for HockeyApps identification site to public interface 2013-09-24 22:33:22 +02:00
Stephan Diederich
b22a42101e fix warning 2013-09-24 21:55:17 +02:00
Andreas Linde
d451650e7f Some more documentation build fixes 2013-09-24 21:52:16 +02:00
Andreas Linde
71fcedfd82 This doesn't belong in here *sigh* 2013-09-24 21:35:19 +02:00
Andreas Linde
527de1d210 Add identification from BITAuthenticator to crash reports 2013-09-24 21:30:50 +02:00
Thomas Dohmke
cb2782cefb Review documentation. 2013-09-24 21:05:32 +02:00
Andreas Linde
fd70d1ec97 Workaround for having multiple uuid parameters in our update requests when BITAuthenticator provides an anonymous uuid 2013-09-24 20:11:46 +02:00
Andreas Linde
df623039a9 Fix for not updating the installationIdentification property when it changes 2013-09-24 20:11:05 +02:00
Andreas Linde
e3fce764e1 Update BITAuthenticator documentation 2013-09-24 20:03:32 +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