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
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
64d7700ad7
Add CPU_SUBTYPE_ARM_ALL to identify arm64, just in case
...
OS X lipo is returning this subtype, but we don't know for sure until we have a device
2013-09-16 14:27:41 +02:00
Andreas Linde
d7b334bc3a
More documentation improvements
2013-09-16 14:13:27 +02:00
Andreas Linde
9e0db07308
Add support for background fetch in BITUpdateManager
...
Checks for updates will only be done if the app is in the foreground. This is just for double safety, since the BITAuthenticator already reports that the app is not validated in this case
2013-09-16 13:53:07 +02:00
Andreas Linde
3132b6d83b
Add support for background fetch in BITStoreUpdateManager
...
Checking for new app store updates and showing an alert will only be done if the app is in the foreground
2013-09-16 13:45:18 +02:00
Andreas Linde
7e543830e6
Add support for background fetch in BITFeedbackManager
...
Fetching of new messages and showing an alert will only be done if the app is in the foreground
2013-09-16 13:38:55 +02:00
Andreas Linde
3273fdd06a
Add support for background fetch in BITCrashManager
...
Automatic sending crash reports or alert asking the user for permission to send crash reports will only appear if the app is running in the foreground
2013-09-16 13:19:13 +02:00
Andreas Linde
88b50694d7
Documentation improvements
2013-09-16 12:53:40 +02:00
Stephan Diederich
fda20a3716
fix authentication dialog presented when application wakes up in background
...
when startManager is called, it doesn't mean the app is actually active,
e.g. in iOS7 when a background download finished.
So check for active state in startManager and potentially wait for an
didBecomeActive notification.
2013-09-15 20:58:12 +02:00
Stephan Diederich
4ccae96cd9
fix duplicate count of installation
...
even in "optional identification"-mode set the "validated"
flag only once the use either did identify himself or skipped
it.
2013-09-15 18:02:11 +02:00
Stephan Diederich
a4bc855705
cleanup, remove additional early return
2013-09-15 17:57:01 +02:00
Andreas Linde
d83157d352
Fix a crash with the update view running on iOS 5 and 6
2013-09-15 17:20:36 +02:00
Andreas Linde
a193ce93ab
Fix BITUpdateManagerViewController not showing any versions
2013-09-15 14:16:31 +02:00
Andreas Linde
69d1ee476f
Fix documentation formatting of sample code
2013-09-15 14:01:54 +02:00
Kent Sutherland
aeb64a7da4
Pulled architecture detection out into a separate method to eliminate duplicate code.
...
Added break for CPU_SUBTYPE_ARM_V8 to avoid falling through to the default case.
2013-09-13 15:20:22 -04:00
Andreas Linde
955fe9c2eb
Documentation updates and fixes
2013-09-13 17:29:00 +02:00
Stefan Haubold
e48ce59934
delay start of authentication manager
2013-09-13 16:41:51 +02:00
Stefan Haubold
7afedd5132
UIButtonTypeSystem isn't available before iOS 7 use own kBITButtonTypeSystem instead
2013-09-13 11:00:04 +02:00
Andreas Linde
64a168502e
Move new auth strings into language file
2013-09-12 22:32:44 +02:00
Stephan Diederich
b23d4f3eb4
Merge branch 'feature/#19-verifyBetaUsers' into develop
...
meh, always update before doing work…
Conflicts:
Classes/BITAuthenticator.m
Classes/HockeySDK.h
2013-09-12 22:23:03 +02:00
Stephan Diederich
681c67a9dd
redo authentication response parsing
...
* first check for HTTP Status codes
* then do parsing if it was a 200
* fix typo in error messages
* be more specific about the response
2013-09-12 22:16:44 +02:00
Andreas Linde
04c2976fd4
Add ARM64 define if not present on the build system
2013-09-12 18:40:42 +02:00
Thomas Dohmke
49e99fb884
Fix typo.
2013-09-12 15:05:43 +02:00
Thomas Dohmke
f33c7c5542
Update documentation.
2013-09-12 15:05:05 +02:00
Thomas Dohmke
314ad65152
Update documentation.
2013-09-12 14:55:22 +02:00
Andreas Linde
65bc6327c0
Add arm64 identification to crash report text generation
2013-09-12 12:56:22 +02:00
Andreas Linde
d7ae69860d
Various documentation fixes and updates
2013-09-12 12:21:12 +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
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
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
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