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
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