857 Commits

Author SHA1 Message Date
Andreas Linde
c53cd6facd Request update of a specific version
Even though the UI showed the newest version that the device can install, the download request always triggered downloading the latest version.

This commit fixes this bug.
2014-09-19 15:03:08 +02:00
Andreas Linde
375994c125 Merge branch 'hotfix/3.5.7' into develop 2014-09-10 18:44:03 +02:00
Andreas Linde
14a8cd332a Add workaround for iOS 8 update process issue
In iOS 8 the app is not moved to background once the users accepts the iOS install alert button. Without this, the install process doesn't start. So for now we exit the app once that alert disappears.

Important: The iOS dialog offers the user to deny installation, we can't find out which button was tapped, so we assume the user agreed.
2014-09-10 12:52:09 +02:00
Andreas Linde
9b7cb24351 Fix documentation warning in BITCrashAttachment 2014-09-08 14:34:26 +02:00
Andreas Linde
5cd861dbb0 Fix formatting of appname in crash reports
Fixes highlights on HockeyApp backend of apps with special chars in their name
2014-09-08 14:25:02 +02:00
Andreas Linde
735792ed99 Fix a small typo in an alert of BITAuthenticator 2014-09-08 14:07:58 +02:00
Andreas Linde
b309613b71 Make keychain data better accessible
Use `kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly` instead of `kSecAttrAccessibleWhenUnlockedThisDeviceOnly` when storing data into the keychain to allow the data to be also fetched when the app is launched in the background
2014-09-08 14:07:47 +02:00
Andreas Linde
37ed085436 Add warnings to the console for the last commit
Notify the developer about the issues by logging a warning to the console when the SDK is initialized more than once or startManager is invoked multiple times
2014-09-08 14:07:41 +02:00
Andreas Linde
f6d717265e Make sure multiple setup runs are ignored
If the `configure` initializers or `startManager` are invoked multiple times, this can cause undefined behaviour and crashes. Hence we simply ignore if they are invoked multiple times.
2014-09-08 14:07:29 +02:00
Andreas Linde
915bae7d0b Fix update view for resizable iPhone
Resizable iPhone causes modal presentations not to be full screen any longer, so we always should use the views width and never the device-width for the version update data presentation. This also works just fine when build with iOS <= 7.1.x
2014-09-08 14:07:12 +02:00
Andreas Linde
58dde365a9 Fix broken auth
The commit 1678d7550a0cc667b14e1efa5608ce3d271bfa42 did break BITAuthenticator
2014-09-08 14:07:00 +02:00
Andreas Linde
53510f64cc Send install uuid with BITAuthenticator requests 2014-09-08 14:06:39 +02:00
Andreas Linde
aa7b2e018f Change attachmentData property of BITCrashAttachment to crashAttachmentData 2014-09-08 14:06:04 +02:00
Andreas Linde
8eaa029536 Fix incorrect error log message
The warning about `delegate` setting after calling `startManager` being incorrect, should actually only be shown if it was called after it and not before it. Doh.
2014-09-06 01:55:52 +02:00
Andreas Linde
aa5e68536d Fix formatting of appname in crash reports
Fixes highlights on HockeyApp backend of apps with special chars in their name
2014-09-03 14:14:34 +02:00
Andreas Linde
ccd04e1bcd Fix a small typo in an alert of BITAuthenticator 2014-09-03 14:13:59 +02:00
Andreas Linde
7b61bfa2a6 Make keychain data better accessible
Use `kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly` instead of `kSecAttrAccessibleWhenUnlockedThisDeviceOnly` when storing data into the keychain to allow the data to be also fetched when the app is launched in the background
2014-08-26 20:12:50 +02:00
Andreas Linde
b2a40717c0 Add warnings to the console for the last commit
Notify the developer about the issues by logging a warning to the console when the SDK is initialized more than once or startManager is invoked multiple times
2014-08-26 17:37:24 +02:00
Andreas Linde
d7e17d2f1c Make sure multiple setup runs are ignored
If the `configure` initializers or `startManager` are invoked multiple times, this can cause undefined behaviour and crashes. Hence we simply ignore if they are invoked multiple times.
2014-08-26 17:31:57 +02:00
Andreas Linde
20a777ccf8 Fix update view for resizable iPhone
Resizable iPhone causes modal presentations not to be full screen any longer, so we always should use the views width and never the device-width for the version update data presentation. This also works just fine when build with iOS <= 7.1.x
2014-08-23 20:52:41 +02:00
Andreas Linde
a441811a42 Fix broken auth
The commit 1678d7550a0cc667b14e1efa5608ce3d271bfa42 did break BITAuthenticator
2014-08-08 16:20:23 +02:00
Daniel Tull
cc34cfece8 Fix missing call to super analyzer warning
This is flagged up in Xcode 6's shallow analyzer check.
2014-08-04 19:37:45 +01:00
Andreas Linde
1678d7550a Send install uuid with BITAuthenticator requests 2014-07-25 12:24:41 +02:00
Andreas Linde
bb165bdcef Use library caches folder for BITUpdateManager 2014-07-24 18:20:14 +02:00
Andreas Linde
47a3be4a79 Fix some best app icon finding issues
In some cases the algorithm didn't find any icon, even if they are there
2014-07-21 13:54:44 +02:00
Andreas Linde
6fc0e154cf Improve fetching the optimal icon of an app for the update view 2014-07-21 13:54:29 +02:00
Andreas Linde
2ae203d7a5 Fix a bug in the networking stack
Solves an networking issues when compiling with iOS 8
2014-07-21 13:54:01 +02:00
Andreas Linde
3917622aa5 Remove KVO observer on dealloc
This case should never happen, since the SDK is supposed to be used via the sharedInstance and never be deallocated.
2014-07-14 18:13:04 +02:00
Andreas Linde
53edf21c5d Fix some best app icon finding issues
In some cases the algorithm didn't find any icon, even if they are there
2014-07-08 21:03:26 +02:00
Andreas Linde
c4486099f9 Remove code that is not needed any more 2014-06-24 21:22:46 +02:00
Andreas Linde
85d5480def Improve feedback screenshot feature
- Use iOS 7 functionality when available (Thanks to Lee for the hint)
- Always include status bar area
2014-06-24 21:21:08 +02:00
Andreas Linde
8874ce0f82 Minor improvements for feedback list view 2014-06-24 21:06:51 +02:00
Andreas Linde
b6af4e1d46 Removed JMC support 2014-06-21 17:37:59 +02:00
Andreas Linde
cae1226b38 Allow customizable attachments to feedback
- New `BITHockeyAttachment` class, which `BITCrashAttachment` is now a subclass of
- Can also be used in `prepareWithItems:` for BITFeedbackComposeViewController
- Allows to set a custom filename and content-type for attachments that can be used with crash reports and with feedback
2014-06-21 16:23:55 +02:00
Andreas Linde
5fc0014385 Set data type specific attachment filenames 2014-06-21 01:24:33 +02:00
Andreas Linde
d6aef454ba Binary attachments and BITFeedbackActivity
Add binary attachment support to BITFeedbackActivity
2014-06-20 16:46:47 +02:00
Andreas Linde
c1d75806c7 Minor code cleanup in Feedback component 2014-06-20 16:43:58 +02:00
Andreas Linde
c5cee82954 Added more logging to BITAuthenticator
More logging to the console in case of authentication issues, if debugLogEnabled is set
2014-06-18 18:22:35 +02:00
Andreas Linde
83b32ffe37 Make individual components delegate private
The `delegate` property should only be set on `[BITHockeyManager sharedHockeyManager]` which will then propagade it to all components. Setting the delegate individually per component could cause undefined behaviour.
2014-06-18 15:52:56 +02:00
Andreas Linde
fbfd4ae0fb Include statusbar in screenshots by default 2014-06-16 13:45:02 +02:00
Andreas Linde
423915cb0c Add option to include satusbar in screenshots
All mehotds in BITFeedbackManager that are screenshot releated are changed to include an option that defines wether the screenshot should include the statusbar (if present) or not:

- `- (UIImage *)screenshot` has been changed to `- (UIImage *)screenshotWithStatusBar:(BOOL)includeStatusBar)`
- `- (void)showFeedbackComposeViewWithGeneratedScreenshot` has been changed to `- (void)showFeedbackComposeViewWithGeneratedScreenshotWithStatusBar:(BOOL)includeStatusBar`
2014-06-14 17:22:45 +02:00
Andreas Linde
4226ac0f20 Properly consider paragraphs in release notes 2014-06-14 01:32:53 +02:00
Andreas Linde
deee2db37e Expose public screenshot method
This is useful when trying to connect a compose view that is using a custom UIViewController via the delegate
2014-06-12 16:10:09 +02:00
Andreas Linde
760a8d07b8 Improve fetching the optimal icon of an app for the update view 2014-06-12 14:39:16 +02:00
Andreas Linde
7963fdf5a7 Merge branch 'refs/heads/feature/instancetype' into develop 2014-06-12 00:26:27 +02:00
Andreas Linde
67f63c118f Add missing super call 2014-06-11 22:08:18 +02:00
Lukas Spieß
42738397a6 Replace initialiser return types of id with new instancetype 2014-06-11 15:35:45 +02:00
Andreas Linde
de211b2d6e Fix unit tests 2014-06-10 15:53:21 +02:00
Andreas Linde
12682d9e3d Fix handling of some edge cases in relation to sending approved crash reports 2014-06-10 15:37:13 +02:00
Andreas Linde
05e0e7ccd6 Make sure checking for non approved crash reports also works when there is no crash in the last session 2014-06-10 12:36:41 +02:00