19 Commits

Author SHA1 Message Date
Andreas Linde
235f7ac9fe Updated copyright for 2014 2014-01-12 19:25:22 +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
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
cd7790aec7 Adopt helper for custom UINavigationBars 2013-08-17 16:33:07 +02:00
Andreas Linde
f7eda241ee Adopt renamed tintColor property to navigationBarTintColor 2013-08-16 23:17:56 +02:00
Andreas Linde
c9c66390ef Add usage of barStyle and tintColor to Activity, compose and user data views 2012-12-02 02:00:13 +01:00
Andreas Linde
a14fa23f28 Convert to ARC 2012-10-23 16:22:23 +02:00
Andreas Linde
0fe87cf8c0 Move BITFeedbackActivity customization out from BITFeedbackManager
Also add first documentation parts
2012-10-19 21:11:22 +02:00
Andreas Linde
1bc0c2db64 Allow BITFeedbackActivity title and image to be customized 2012-10-19 20:42:56 +02:00
Andreas Linde
59a0319ea9 Update appName handling 2012-10-19 17:18:10 +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
34bb4cb758 Add option to Feedback compose UI to be pre filled with data
Accepts an array with data to fill it up with, much like UIActivity. Allows easier option to expand with more content types in the future
2012-10-18 20:04:51 +02:00
Andreas Linde
1f902b4389 Show the proper app name in feedback activity 2012-10-17 00:47:55 +02:00
Andreas Linde
3d23e36b59 Show app name and default icon in FeedbackActivity 2012-10-16 18:43:57 +02:00
Andreas Linde
28b2d802d0 Fix FeedbackActivity using Navigation Controller
No idea why I couldn't get this simple thing working the other day
2012-10-16 17:32:25 +02:00
Andreas Linde
a54e20b48b Define an extra string for the UIActivity button title 2012-10-16 01:54:27 +02:00
Andreas Linde
ca08b982c3 Add a UIActivity subclass and the option to invoke compose view from anywhere modally 2012-10-16 01:50:21 +02:00