661 Commits

Author SHA1 Message Date
Andreas Linde
5ff12626af Provide alert option to show mandatory update details
The user will then not be able to dismiss to modal presentation and has to install the update from there.
2014-01-07 19:20:38 +01:00
Andreas Linde
9a89854f08 Merge branch 'refs/heads/develop' into feature/improvements 2013-12-30 02:58:51 +01:00
Andreas Linde
cd631af9ba Import the PLCR header depending on the location
We need this check depending on integrating as a subproject or using the binary distribution
2013-12-30 02:57:10 +01:00
Andreas Linde
9d40204690 Merge branch 'refs/heads/develop' into feature/improvements 2013-12-30 02:12:04 +01:00
Andreas Linde
d19455a108 Add public methods to get the SDKs version and build number as strings 2013-12-30 00:39:27 +01:00
Andreas Linde
47d90a7df3 Merge branch 'refs/heads/develop' into feature/improvements 2013-12-27 17:45:19 +01:00
Thomas Dohmke
cab660f8fe Merge branch 'feature/FullSizeImage' into feature/improvements 2013-12-27 17:42:11 +01:00
Andreas Linde
cdfca4d330 Add the option to define callbacks that will be executed prior to program termination after a crash has occurred
This is _NOT_recommended to be used!

Code that runs in such callbacks need to be async-safe, which excludes ANY Objective-C code and lots of C as well. See https://www.plcrashreporter.org/documentation/api/v1.2-rc2/async_safety.html
2013-12-19 15:36:31 +01:00
Andreas Linde
d37e1c1187 Fix typo 2013-12-18 20:47:18 +01:00
Andreas Linde
720dbccefe Add generateTestCrash method 2013-12-18 20:47:04 +01:00
Andreas Linde
f2dd253670 Safe app version usage time in its own property list file instead of the user defaults 2013-12-17 17:51:23 +01:00
Andreas Linde
3b5f70d38a Make sure that BITHockeyLocalizedString always returns a valid string 2013-12-17 16:01:04 +01:00
Andreas Linde
292d9abc0d Bring back date format and timestamp of crash reports to be always identical no matter what locale is set
This was introduced in 4dbbef38e2 but when merging PLCR changes back in it accidentally got removed
2013-12-17 01:34:13 +01:00
Andreas Linde
480054abe3 Add public integration test to let the user check if the SDK reaches the server 2013-12-16 18:51:12 +01:00
Andreas Linde
3396b79620 Fix typo 2013-12-16 18:35:02 +01:00
Andreas Linde
73ce955f6c Merge branch 'refs/heads/develop' into feature/improvements 2013-12-16 18:31:08 +01:00
Andreas Linde
14a5a0f322 Fix delete button appearance in feedback list view on iOS 7 when swiping a feedback message 2013-12-16 03:27:11 +01:00
Thomas Dohmke
eeff4d611d Handle authorize URL from full-size-image. 2013-12-05 17:41:35 +01:00
Stefan Haubold
8a17777c7e improved logic to choose right window to show dialogs in 2013-12-04 21:17:50 +01:00
Andreas Linde
6d6012b0f6 Fixed self.validated not always being set to NO if restrictionEnforcementFrequency is set to BITAuthenticatorAppRestrictionEnforcementOnAppActive 2013-12-04 14:08:08 +01:00
Andreas Linde
4f6ff2ee6e Documentation fix for restrictApplicationUsage in BITAuthenticator 2013-12-03 17:01:02 +01:00
Andreas Linde
117265f15c Add support for SDK integration workflow 2013-11-29 15:45:09 +01:00
Andreas Linde
8cf4665570 Add generateTestCrash method 2013-11-21 00:03:14 +01:00
Andreas Linde
323b9784ea Simplified configuration
- Add simplified initializers
- Add option to set delegate via public property
2013-11-20 22:54:28 +01:00
Andreas Linde
4f3f5f9c96 Adjust font size and add an 3rd row for expired view 2013-11-18 13:38:13 +01:00
Andreas Linde
fe9bbd55e9 Fix two block related memory issues in BITAuthenticator 2013-11-10 22:44:54 +01:00
Andreas Linde
70ea29d68b Hide deprecation warning
Even when using iOS 7 only as base SDK calling `base64Encoding` causes a deprecation warning.
2013-11-05 21:51:18 +01:00
Andreas Linde
b2618ad31a Don't use a category in BITCrashReportTextFormatter
This allows the framework to be used inside another framework.
2013-11-05 19:52:37 +01:00
Andreas Linde
13eb4a1798 Merge branch 'base64' of github.com:0xced/HockeySDK-iOS into 0xced-base64 with modifications
- Don't use `base64Encoding` if the SDK is build with iOS 7 as based SDK, since that would cause a deprecation warning
2013-11-05 16:03:19 +01:00
Andreas Linde
3225f462e9 Fix a bug when creating crash report textual representation
It was working always before, but isn't actually correct.
2013-11-05 15:47:49 +01:00
Andreas Linde
cb11ef7e03 Merge pull request #76 from 0xced/dismiss-feedback-ipad-fix
Fix the feedback activity not being dismissed issue
2013-11-04 07:37:10 -08:00
Andreas Linde
1341668224 Use UTF8 encoding for auth data 2013-11-04 16:27:34 +01:00
Andreas Linde
94b8f5dfb0 Fix compile issues when excluding all modules but crash reporting 2013-11-03 23:17:55 +01:00
Cédric Luthi
74d2cc3bc1 Cleanup base64 code
Use -[NSData base64Encoding] which exists since iOS 4.0 (but is only documented since the iOS 7 SDK).
2013-11-02 00:30:17 +01:00
Cédric Luthi
b4234111d4 Comply to -[UIActivity activityDidFinish:] requirements 2013-11-01 22:50:56 +01:00
Cédric Luthi
d52652f4d2 Use only one activity view controller per UIActivity
On iPad under iOS 6, calling `activityDidFinish:` internally calls -[BITFeedbackActivity activityViewController]. We must therefore keep a reference to the previously created activity view controller else the activity view controller can not be dismissed since a new instance is returned for dismissal. Under iOS 7, -[BITFeedbackActivity activityViewController] is not called for dismissal.

On iPhone, the -[BITFeedbackActivity activityViewController] method is not called for dismissal.
2013-11-01 22:41:45 +01:00
Cédric Luthi
c0e4ffe84e Do not use deprecated delegate method 2013-11-01 12:52:55 +01:00
Thomas Dohmke
da7b0b290f Issue #74: Fix warnings for implicit conversions of UITextAlignment and UILineBreakMode 2013-10-31 21:53:10 +01:00
Thomas Dohmke
60518e0a37 Issue #75: Fix warning on implicit conversion from CGImageAlphaInfo to CGBitmapInfo (safe according to https://developer.apple.com/library/ios/documentation/graphicsimaging/Reference/CGBitmapContext/Reference/reference.html#//apple_ref/c/func/CGBitmapContextCreate). 2013-10-31 21:10:26 +01:00
Andreas Linde
223333facf Some more documentation updates 2013-10-30 13:42:04 +01:00
Andreas Linde
e15039e3a0 Fix password label being cut in authorization view for some languages and fix positioning 2013-10-29 12:16:00 +01:00
Andreas Linde
5d6c405a46 Small fix in the crash report text formatter 2013-10-19 16:04:59 +02:00
Stephan Diederich
92a0fe92c5 Merge branch 'feature/WebBasedAuthentication' into develop 2013-10-18 18:12:58 +02:00
Andreas Linde
aeb18988a1 Small UI fix for feedback user data view controller
- Fix small positioning issue
- Set autocapitalization for name field for every word
2013-10-18 15:36:35 +02:00
Andreas Linde
d32b2569c9 More documentation for feedback view controllers 2013-10-18 15:03:40 +02:00
Stephan Diederich
72c8033119 cleanup
remove dispatch_once. It should be safe to call this multiple times.
Although in the default use case this makes pretty much no sense,
but for the demo app it's nice to have.
2013-10-17 18:55:02 +02:00
Stephan Diederich
42e0882eb8 add missing localized error message
if there's no network response, also show a proper error.
2013-10-14 14:05:20 +02:00
Stephan Diederich
6a932e4da5 re-validate once alert-view was dismissed
* factor out common validate method
* call it in authenticate and after validation-error was dismissed
* don't reset identification if validation failed - it might have only been
a short network outage.
2013-10-14 14:01:32 +02:00
Stephan Diederich
e7fdea7649 Merge branch 'feature/authSetup' into develop 2013-10-14 11:53:43 +02:00
Stephan Diederich
28b08fa804 add "webAuth" identificationType 2013-10-11 17:18:04 +02:00