55 Commits

Author SHA1 Message Date
Lukas Spieß
6b727733a5 Merge pull request #209 from bitstadium/feature/update-appstore-detection
Update AppStore detection
2015-10-12 17:14:51 +02:00
Lukas Spieß
45575cfab9 Switch to using environment enum throughout 2015-10-09 12:59:58 +02:00
Lukas Spieß
713d60bf08 Switch to using new environment enum 2015-10-09 12:59:58 +02:00
Lukas Spieß
bccfc61a42 Add warnings to docs for threading, properly dispatch internally 2015-10-05 17:39:03 +02:00
Lukas Spieß
ed3ea81864 Disable Authenticator and UpdateManager in TestFlight 2015-10-05 17:12:39 +02:00
Lukas Spieß
230ac86130 Make sure showView: method always runs on main queue 2015-10-01 15:37:07 +02:00
Lukas Spieß
96cfb169b6 Switch back to using UIAlertView
We won't use UIAlertController for now until we have a more robust solution for displaying it without knowing the currently presented view controller.
2015-09-29 16:38:11 +02:00
Lukas Spieß
7539ab06ba Add comments to #endif for clarity 2015-09-29 15:53:46 +02:00
Lukas Spieß
02f2f2f135 Fix alert not being shown in CrashOnly build
In previous versions, the CrashOnly build could not display the alert to ask the user for permission to send the crash report because the necessary method implementations were missing.
2015-09-25 15:45:06 +02:00
Lukas Spieß
69a4edc2e2 Fix delaying of second alerts with UIAlertController 2015-09-15 00:39:50 +02:00
Lukas Spieß
ae41bdafd7 Always present UIAlertController on the main queue 2015-09-14 17:50:30 +02:00
Andreas Linde
05de1686fa Fix alert presentation with UIAlertController 2015-08-24 17:01:58 +02:00
Andreas Linde
375d82ffbf Add Extension target and specific crash only build 2015-08-11 15:27:32 +02:00
Andreas Linde
5258cdff36 Fix modulemap warning
This fixes an error when integration the crash only framework build
2014-11-21 02:49:38 +01: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
760a8d07b8 Improve fetching the optimal icon of an app for the update view 2014-06-12 14:39:16 +02:00
Lukas Spieß
42738397a6 Replace initialiser return types of id with new instancetype 2014-06-11 15:35:45 +02:00
Andreas Linde
2e35437c9c Improve last commit by removing conditional 64bit compile
Again thanks to @0xced :)
2014-03-27 00:20:15 +01:00
Andreas Linde
b5087a61c4 Improve fetching of current binaries UUID
- This now also works with unit tests
- Fixed BITStoreUpdateManager for now failed unit tests
- Fixed a typo

Thanks to @0xced !
2014-03-27 00:13:27 +01:00
Andreas Linde
235f7ac9fe Updated copyright for 2014 2014-01-12 19:25:22 +01:00
Andreas Linde
7608f8253d Set the tintColor in the auth view and modal views navigation controller on iOS 7
- The authentication controller now sets the buttons tintColor always to the default blue color. This fixes white UIWindow tintColor, since the auth view is using white as background.
- Navigation controllers for modal views now also set the tintColor of the navigationBar to the default blue color on iOS 7, if the developer did not set the `navigationBarTintColor`. This fixes white UIWindow tintColor for feedback and beta update modal views as they are defined to use the default style.
2014-01-09 15:44:21 +01:00
Andreas Linde
73ce955f6c Merge branch 'refs/heads/develop' into feature/improvements 2013-12-16 18:31:08 +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
323b9784ea Simplified configuration
- Add simplified initializers
- Add option to set delegate via public property
2013-11-20 22:54:28 +01:00
Andreas Linde
5ea62ff806 More documentation updates 2013-10-07 19:13:18 +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
ipaterson
df7010ed8a Fixed recurring typo in manager initializers. 2013-09-23 13:39:59 -04:00
Andreas Linde
1a3a5cb2e6 Clean up appIdentifier and keychain servicename to be defined only once 2013-09-23 15:22:37 +02:00
Stephan Diederich
623c81e8d9 use keychain attribute thisDeviceOnly instead of custom validation
instead of storing the vendorIdentifier, use the keychain to store
the token on this device only
2013-09-20 15:29:40 +02:00
Stephan Diederich
96304ac639 factor out BITHockeyAppClient to provide network services
* factor out HockeyAppClient
* configure Authenticator with HockeyAppClient
* move appendPostValue to HockeyAppClient (& add the missing boundary parameter)
* move tests over to new file
2013-09-06 17:11:55 +02:00
Andreas Linde
1878e6a7e4 Remove some #warnings
There surely will be someone integrating the SDK via source, use iOS 7 as base SDK and enabled to treat warnings as errors.
2013-08-18 17:34:27 +02:00
Andreas Linde
cd7790aec7 Adopt helper for custom UINavigationBars 2013-08-17 16:33:07 +02:00
Andreas Linde
a95b690409 Add helper to create a custom UINavigationBarController
This will apply the defined customization settings
2013-08-17 16:29:51 +02:00
Andreas Linde
0a50c94df1 Add possibility to check for iOS 7 or older at runtime
This will be needed to adjust UI customizations in iOS7 and later
2013-08-17 16:15:59 +02:00
Andreas Linde
2392e0d169 Merge branch 'refs/heads/develop-public' into develop 2013-08-16 23:13:50 +02:00
Andreas Linde
5de53de18b change misleading "tintColor" property in BITHockeyBaseManager 2013-08-16 18:11:15 +02:00
Pedro Milanez
e57e6da043 Update to ios6 compatible on Modalviewcontroller 2013-08-14 11:31:52 -03:00
Andreas Linde
0a3ddc1373 Merge branch 'refs/heads/feature/AppStoreUpdate' into develop 2013-07-28 01:53:33 +02:00
Stephan Diederich
5d8f030547 remove initializations
the runtime already does a good
job at this
2013-07-27 15:24:35 +02:00
Stephan Diederich
d660dd8b7c factor out mainBundleIdentifier helper 2013-07-27 15:24:24 +02:00
Andreas Linde
e89564a8d9 First version of new AppStore Update module 2013-07-26 14:46:16 +02:00
Andreas Linde
93c2f05fac Use Keychain for some data
- Added SFHFKeyChainUtils with BIT prefix
- Save username, email or userid (if provided by the app or the user) in the keychain instead of user defaults or property files
2013-05-09 16:45:58 +02:00
Andreas Linde
89fa399787 Fix double definition of private method and add handling for unlikely malloc failure 2013-05-09 13:43:41 +02:00
Andreas Linde
78b2127a92 Exclude UUID fetching from simulator builds (workaround to get unit test targets build without problems)
- This now requires the testing of this feature to be done on an actual device, since it returns always empty strings on the simulator
- Once there is a better solution to get unit test targets build without problems this should be changed again, so testing of this feature is also possible using the simulator
2013-01-15 16:07:17 +01:00
Andreas Linde
8dab0e1d3a Binary UUID fetching may not return nil, otherwise could lead to a crash. Return an empty string instead 2013-01-15 16:03:50 +01:00
Andreas Linde
06441b1260 Fix a problem showing the update UI animated if there TTNavigator class is present even though not being used 2012-11-16 21:02:18 +01:00
Andreas Linde
a14fa23f28 Convert to ARC 2012-10-23 16:22:23 +02:00
Andreas Linde
f09ea53fba Store the app identifier with the feedback thread. So in case they change by accident, new posts will cause a new thread in the current app to be created 2012-10-22 01:10:18 +02:00
Andreas Linde
aee5c4adda Update update view to be more iOS 6 like
Not completely finished yet
2012-10-22 01:08:26 +02:00