14914 Commits

Author SHA1 Message Date
Andreas Linde
65bc6327c0 Add arm64 identification to crash report text generation 2013-09-12 12:56:22 +02:00
Andreas Linde
11e354a7d3 Set version string to 3.1.0b1 2013-09-12 12:21:40 +02:00
Andreas Linde
d7ae69860d Various documentation fixes and updates 2013-09-12 12:21:12 +02:00
Andreas Linde
67a4e1b6f9 Build the static lib also with 64bit slice 2013-09-12 11:27:27 +02:00
Andreas Linde
38b362e61e Update PLCrashReporter to latest 1.2 beta 1 build 2013-09-12 11:27:10 +02:00
Andreas Linde
67d56af15d Fix warnings when building with iOS 7 as deployment target 2013-09-12 11:26:19 +02:00
Andreas Linde
d17ac0945d Bump arm64 to iOS7 deployment target since that's the earliest iOS version that runs on arm64 2013-09-12 10:53:18 +02:00
Andreas Linde
d71f5b737e Fix documentation bug 2013-09-12 00:49:35 +02:00
Andreas Linde
72255ee4f0 Remove customDeviceIdentifierForUpdateManager delegate
This is now replaced by BITAuthenticator for all iOS versions
2013-09-12 00:49:24 +02:00
Andreas Linde
5d8b42e92f Upgrade Xcode project setting 2013-09-11 23:57:18 +02:00
Andreas Linde
7fd05d76ab Bump version to 3.1.0 2013-09-11 23:38:46 +02:00
Andreas Linde
abc8501969 Set deployment target to iOS 6.0 for arm64 2013-09-11 23:32:03 +02:00
Andreas Linde
1cb91ae323 Some authenticator string updates 2013-09-11 20:44:34 +02:00
Andreas Linde
a9395c78f8 Move description texts above input fields in authenticator UI 2013-09-11 20:36:09 +02:00
Andreas Linde
11a8a14e4f Add support for excluding features at compile time
Features can be excluded/included at compile-time using #define statements, e.g. using `Preprocessor Macros`. These don't influence if the feature will actually be enabled, since that can also be done at runtime and some features are disabled automatically in the App Store or disabled by default in general.

The BITHockeyManager header file will still reference all modules, but accessing the modules will not be possible if excluded from the library.

Value of 1 includes the feature into the static library, 0 will exclude the feature from the static library.

Defaults:

Crash Reporting: HOCKEYSDK_FEATURE_CRASH_REPORTER 1
Feedback: HOCKEYSDK_FEATURE_FEEDBACK 1
App Store Updates: HOCKEYSDK_FEATURE_STORE_UPDATES 1 (This feature is disabled by default in code!)
Authenticator: HOCKEYSDK_FEATURE_AUTHENTICATOR 1
Beta Updates: HOCKEYSDK_FEATURE_UPDATES 1
Jira Mobile Connect: HOCKEYSDK_FEATURE_JIRA_MOBILE_CONNECT 0
2013-09-11 19:18:21 +02:00
Andreas Linde
0188285893 Merge branch 'refs/heads/feature/#19-verifyBetaUsers' into develop 2013-09-11 18:28:46 +02:00
Stephan Diederich
c534e5d566 also reset auth token if authType changed
saves us a round-trip when validating, as when
the authType changed, server would return nope.
2013-09-11 16:46:07 +02:00
Stephan Diederich
3a8802aa20 also compare auth type
as the authToken changes with the type this should not be
necessary, but for the sake of completeness put it there.
2013-09-11 16:44:28 +02:00
Stephan Diederich
53f851afc5 always provide an error to the viewcontroller 2013-09-11 16:17:20 +02:00
Stephan Diederich
c44c923819 redo auth with user+password
* needs to be basic auth
* use base64 encoder from HockeyCoach
2013-09-11 16:17:20 +02:00
Stephan Diederich
3aeeae8e98 add more english localizations 2013-09-11 16:17:20 +02:00
Andreas Linde
9e4d4481e8 Some more updates to check for beta updates only if the installation is authenticated 2013-09-11 15:44:21 +02:00
Stephan Diederich
63935fb9c8 move internally (SDK) used properties to private header 2013-09-11 15:12:26 +02:00
Stephan Diederich
036d86bc15 hide done button when doing UDID style auth 2013-09-11 15:00:07 +02:00
Stephan Diederich
378c4e91f5 fix tests for validation / authviewcontroller
bringing up authViewController again is handled by the default
completion block. So we need to pass it along
2013-09-11 14:55:23 +02:00
Stephan Diederich
ea5452603b store the type of the token with the token itself
updater needs it as well and we actually don't want to send
the wrong type to the server
2013-09-11 14:52:33 +02:00
Andreas Linde
d93da3ee32 More authenticator integration
- Only start the updateManager if the installation is authenticated (not yet tested)
- Provide the installation data to the updateManager requests
- Some more documentation
- Authenticator defaults to BITAuthenticatorAuthTypeUDIDProvider and BITAuthenticatorValidationTypeNever
- Reset usage time if installation identification changes (not yet tested)
2013-09-11 14:05:09 +02:00
Andreas Linde
d7dbb06666 We don't need the advertisingIdentifier 2013-09-11 13:05:45 +02:00
Andreas Linde
d9bcfbb88d Update license headers in new files 2013-09-11 12:57:27 +02:00
Stephan Diederich
148d10896a update isValid in startManager depending on validationType 2013-09-11 00:10:10 +02:00
Stephan Diederich
30b93a0468 only reauthenticate if validation failed 2013-09-11 00:05:22 +02:00
Stephan Diederich
1938e480cc fix auth-viewcontroller unusable after failed authentication 2013-09-10 23:57:00 +02:00
Stephan Diederich
34bf1bf611 add flag to tell if app is currently validated 2013-09-10 23:41:48 +02:00
Stephan Diederich
d60a6d2a97 use done instead of save button 2013-09-10 23:41:48 +02:00
Stephan Diederich
c7f883b91c provide initial set of english localized string in HockeyAuthenticationViewController 2013-09-10 23:41:48 +02:00
Stephan Diederich
5bdd1fdebf use done instead of "save" button 2013-09-10 23:41:48 +02:00
Stephan Diederich
3144247dc9 in "optional"-mode, show authentication exactly once 2013-09-10 23:41:48 +02:00
Stephan Diederich
2886ac4d77 rename skip to cancel 2013-09-10 23:41:48 +02:00
Stephan Diederich
e3dcfa629f don't register twice 2013-09-10 23:41:48 +02:00
Stephan Diederich
ebbe6dc0af use helper method from BITHelpers instead of home-brewed solution 2013-09-10 23:41:48 +02:00
Andreas Linde
c58aad929e Fix height calculation of feedback messages to cause UI glitches 2013-09-10 23:30:40 +02:00
Andreas Linde
a0af921da4 More UI updates for iOS 7 style feedback 2013-09-10 18:08:34 +02:00
Andreas Linde
2d3e1c503d Initialise Authenticator before all other modules 2013-09-10 18:08:34 +02:00
Andreas Linde
9456ef97e9 Fix typo 2013-09-10 18:08:34 +02:00
Stephan Diederich
3c9e84f85b add missing call of completion block & comment
thanks @therealkerni
2013-09-09 02:21:12 +02:00
Stephan Diederich
7c2e2b88a0 bail if secret is missing and we're trying to authenticate 2013-09-09 02:16:58 +02:00
Andreas Linde
43db55de17 Add support for minimum OS Version check
App versions that require a newer OS Version than the current device provides will be ignored.
2013-09-09 01:26:49 +02:00
Stephan Diederich
484cca06dc formatting 2013-09-07 22:21:08 +02:00
Stephan Diederich
c72fa30108 allow customization of UDID provider webpageURL
and don't mix up SDK and webpage endpoints, but use
the right one for each job
2013-09-07 22:20:34 +02:00
Stephan Diederich
1504b2d9d9 rename auth type to UDIDProvider
naming can be hard - thanks @therealkerni
2013-09-07 22:19:38 +02:00