34 Commits

Author SHA1 Message Date
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
54b3c57ee2 Remove #ifdef for clang analyzer since the false warning from 4.2b3 doesn't appear any longer
Tested with Xcode 5.0.2
2014-02-20 16:33:31 +01:00
Andreas Linde
6d6aa54bea Add new setter for global userID, userName, and userEmail properties
The values are used by the `BITCrashManager` to attach to a crash report and`BITFeedbackManager for assigning the user to a discussion thread.

The value can be set at any time and will be stored in the keychain on the current device only! To delete the value from the keychain set the value to `nil`.

These properties are optional and alternatives to the delegates. If you want to define specific values for each component, use the delegate instead which do overwrite the values set by these properties.

Also fixed a typo in the delegates documentation.
2014-02-11 16:22:31 +01:00
Andreas Linde
88bf3fae62 Move creation of settings directory into helper function 2014-02-11 15:40:11 +01:00
Andreas Linde
235f7ac9fe Updated copyright for 2014 2014-01-12 19:25:22 +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
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
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
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
4d8013ce2f Fix a build problem with iOS 6 as base SDK 2013-09-26 20:53:50 +02:00
Andreas Linde
3e29c863f7 Only use UUID for appAnonID
There is no need to use other methods, if this fallback always works with the new system
2013-09-25 16:41:36 +02:00
Andreas Linde
7e9618f773 Add more tests for BITHockeyHelper 2013-09-25 16:40:52 +02:00
Andreas Linde
241b5f1a4b Add support for iOS 7 native Base64 encoding
Also add some tests for base 64 encoding
2013-09-25 16:14:06 +02:00
Andreas Linde
32318cac36 Move BITValidateEmail to BITHockeyHelper named bit_validateEmail and add some tests 2013-09-25 15:48:58 +02:00
Stephan Diederich
0c7414e117 return an NSString instance instead of NSUUID 2013-09-23 16:22:22 +02:00
Andreas Linde
8215900254 Update bit_appAnonID helper to make sure to get a UUID for an app installation and works through the app installation lifetime on the device
- Only get the UUID once per app runtime
- Cache the UUID in the keychain
- Gracefully fall back if some mechanisms won't work

TODO: In theory we could simply only ever use our own generated UUID and keep that via the keychain over the app lifetime instead of trying iOS 6 deviceIdentifier and alternatively the apps pathname
2013-09-23 15:25:50 +02:00
Andreas Linde
ea69a6fec5 Provide an iOS 5 compatible C helper for getting a UUID 2013-09-23 15:23:08 +02:00
Andreas Linde
1a3a5cb2e6 Clean up appIdentifier and keychain servicename to be defined only once 2013-09-23 15:22:37 +02:00
Andreas Linde
67d56af15d Fix warnings when building with iOS 7 as deployment target 2013-09-12 11:26:19 +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
Andreas Linde
d7dbb06666 We don't need the advertisingIdentifier 2013-09-11 13:05:45 +02:00
Andreas Linde
ec458234ea Minor analyzer fixes 2013-02-23 15:19:36 +01:00
Andreas Linde
9f2f40bc06 Update copyright 2013-01-04 14:44:44 +01:00
Andreas Linde
a14fa23f28 Convert to ARC 2012-10-23 16:22:23 +02:00
Andreas Linde
34f6e3faf4 Add installationIDs to feedback and crash reports, so those can be linked together and amount of affected users of a crash can be determined
Uses iOS 6 ASIdentifierManager class or identifierForVendor if the class is not available. Fallback on iOS 5 is to use app path UUID which is generated by iOS when installing the app
2012-10-19 18:16:24 +02:00
Andreas Linde
59a0319ea9 Update appName handling 2012-10-19 17:18:10 +02:00
Andreas Linde
e6d76ca364 Use the proper default app name in the Update View Controller 2012-10-19 13:49:01 +02:00
Andreas Linde
b486b8142c Add more helpers for getting app name and making a screenshot
Screenshot is not yet used.
2012-10-18 20:08:22 +02:00
Andreas Linde
eb05becb5b Remove JSON pre iOS5 lib support, always use NSJsonSerialization 2012-10-16 02:10:37 +02:00
Andreas Linde
9b8f51fe5f Restructure project targets and binary distribution target
- Use one common static lib target
- create embeddedFramework as binary distribution including docset in one zip
- Add HockeySDK.xcconfig for easier build setting setup
- Move everything into a single directory, too many problems making binary and subproject work without requing recursive header search paths
- Documentation update pending
2012-10-07 21:49:47 +02:00
Andreas Linde
1a71aa2ea5 Initial Feedback component
- First implementation on feedback, not finished yet!
- Move all components into their own subdirectory
- Restructure common delegates into BITHockeyManagerDelegate
- Restructure common component methods into new superclass (not finished yet)
2012-09-28 12:30:19 +02:00
Andreas Linde
4c77e0a8cc Fix wrong naming convention 2012-08-30 15:54:48 +02:00
Andreas Linde
6967748148 Remove NSString and UIImage categories, so the static library doesn't require the linker flag -all_load
The flag shouldn't be required, and worked in the demo project absolutely fine. But from now to then there was an Xcode bug that made it required again and some non reproducible scenarios where reported by users where it doesn't work without the flag. To fix this for always and forever, we don't use categories any more.
2012-08-30 15:16:16 +02:00