24 Commits

Author SHA1 Message Date
Stefan Haubold
7afedd5132 UIButtonTypeSystem isn't available before iOS 7 use own kBITButtonTypeSystem instead 2013-09-13 11:00:04 +02:00
Andreas Linde
11a8a14e4f Add support for excluding features at compile time
Features can be excluded/included at compile-time using #define statements, e.g. using `Preprocessor Macros`. These don't influence if the feature will actually be enabled, since that can also be done at runtime and some features are disabled automatically in the App Store or disabled by default in general.

The BITHockeyManager header file will still reference all modules, but accessing the modules will not be possible if excluded from the library.

Value of 1 includes the feature into the static library, 0 will exclude the feature from the static library.

Defaults:

Crash Reporting: HOCKEYSDK_FEATURE_CRASH_REPORTER 1
Feedback: HOCKEYSDK_FEATURE_FEEDBACK 1
App Store Updates: HOCKEYSDK_FEATURE_STORE_UPDATES 1 (This feature is disabled by default in code!)
Authenticator: HOCKEYSDK_FEATURE_AUTHENTICATOR 1
Beta Updates: HOCKEYSDK_FEATURE_UPDATES 1
Jira Mobile Connect: HOCKEYSDK_FEATURE_JIRA_MOBILE_CONNECT 0
2013-09-11 19:18:21 +02:00
Andreas Linde
9e4d4481e8 Some more updates to check for beta updates only if the installation is authenticated 2013-09-11 15:44:21 +02:00
Andreas Linde
d93da3ee32 More authenticator integration
- Only start the updateManager if the installation is authenticated (not yet tested)
- Provide the installation data to the updateManager requests
- Some more documentation
- Authenticator defaults to BITAuthenticatorAuthTypeUDIDProvider and BITAuthenticatorValidationTypeNever
- Reset usage time if installation identification changes (not yet tested)
2013-09-11 14:05:09 +02:00
Stephan Diederich
9747495ae3 move email-validation to a common place
instead of c&p it - lazy bastard :-)
2013-09-06 19:18:32 +02:00
Stephan Diederich
c81a2b0940 cleanup header
* remove pre iOS 5 defines
* move header guard to end of file
* remove BITHockeyParseJSON declaration (imp is already gone)
2013-08-08 16:03:42 +02:00
Andreas Linde
03a6dbb999 If a version is chosen to be ignored or shown, never show this version again 2013-07-26 14:46:16 +02:00
Andreas Linde
e89564a8d9 First version of new AppStore Update module 2013-07-26 14:46:16 +02:00
Stefan Haubold
eefa48846a fixed deprecation warning for NSString UIKit Constants with iOS6 deployment target 2013-02-20 14:03:42 +01:00
Andreas Linde
9f2f40bc06 Update copyright 2013-01-04 14:44:44 +01:00
Andreas Linde
7e94d45acb Add support for in-app-updates without changing the version string 2012-10-30 20:10:41 +01:00
Andreas Linde
90f4b017af Update Update view presentation 2012-10-30 17:42:23 +01: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
Stephan Diederich
36c81ac650 cleanup JIRA_MOBILE_CONNECT_SUPPORT_ENABLED defines
* only define JIRA_MOBILE_CONNECT_SUPPORT_ENABLED if it's not already defined.
  default is to disable it
* cleanup usage of JIRA_MOBILE_CONNECT_SUPPORT_ENABLED
  it's always defined, so no need to check
2012-09-26 14:10:04 +02:00
Chris Miles
3777a454d1 Added build time config option for JMC support.
Set JIRA_MOBILE_CONNECT_SUPPORT_ENABLED macro to 1 to enable
compiling in support for Jira Mobile Connect. By default it
is not enabled.
2012-09-12 18:36:10 +10:00
Andreas Linde
84241461e5 Move version define number into .xcconfig 2012-08-10 01:07:17 +02:00
Andreas Linde
6cf128a71d Project updates with version string
- Store version numbers in .xcconfig
- Use those for .framework and documentation
- minor documentation build updates
2012-08-09 19:57:39 +02:00
Andreas Linde
7ead5d998b Restructure (crash) manager internals
- Write all temp data into the same directory under caches/<sdkidentifier>/...
- Write approved crashes into its own plist instead of user defaults
- Use a temp file for analyzing crash report file instead of user defaults boolean
- Fix some define namings
2012-07-27 12:03:40 +02:00
Andreas Linde
23e2183c87 Fix finding the resource bundle 2012-07-24 23:43:58 +02:00
Andreas Linde
840432acc1 Rename loggingEnabled property to debugLogEnabled 2012-07-24 13:42:03 +02:00
Andreas Linde
3fd3c083bf Simplify privacy settings
- Remove update settings UI
- Only one property that defines if user and usage data is send (only if the app is not running in the app store)
- Update documentation
2012-07-22 02:36:55 +02:00
Andreas Linde
812d0b4a35 Clean up some more naming and disable logging in App Store
- Change last BITHockeySDK.. into BITHockey…
- Disable BITHockeyLog when running in an App Store build
2012-07-21 22:58:40 +02:00
Andreas Linde
671060929c Refactoring
- Change Prefixes to BIT
- Make one shared instance and change the functionalities to modules
- One bundle for resources
- Targets for framework and static libs
- Other cleanup
2012-07-19 17:17:19 +02:00