Skip to content

Commit

Permalink
Merge pull request #15 from omorandi/ios_sdk_3.8.5
Browse files Browse the repository at this point in the history
updated HockeyApp iOS SDK to v3.8.5
  • Loading branch information
timanrebel committed Nov 16, 2015
2 parents d10daaf + c09a999 commit 7ea645f
Show file tree
Hide file tree
Showing 16 changed files with 232 additions and 142 deletions.
2 changes: 1 addition & 1 deletion iphone/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 0.6.0
version: 0.6.1
apiversion: 2
description: Appcelerator module wrapping the HockeyApp SDK
author: Timan Rebel
Expand Down
6 changes: 3 additions & 3 deletions iphone/module.xcconfig
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
//
// PLACE ANY BUILD DEFINITIONS IN THIS FILE AND THEY WILL BE
// PLACE ANY BUILD DEFINITIONS IN THIS FILE AND THEY WILL BE
// PICKED UP DURING THE APP BUILD FOR YOUR MODULE
//
// see the following webpage for instructions on the settings
// for this file:
// http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/400-Build_Configurations/build_configs.html
//
//

//
// How to add a Framework (example)
Expand All @@ -25,6 +25,6 @@
//
// IMPORTANT NOTE: always use $(inherited) in your overrides
//
FRAMEWORK_SEARCH_PATHS=$(SRCROOT)/../../modules/iphone/nl.rebelic.hockeyapp/0.6.0/platform
FRAMEWORK_SEARCH_PATHS=$(SRCROOT)/../../modules/iphone/nl.rebelic.hockeyapp/0.6.1/platform

OTHER_LDFLAGS=$(inherited) -framework HockeySDK -framework AssetsLibrary -framework CoreText -framework CoreGraphics -framework Foundation -framework MobileCoreServices -framework QuartzCore -framework QuickLook -framework Security -framework SystemConfiguration -framework UIKit
Binary file added iphone/nl.rebelic.hockeyapp-iphone-0.6.1.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ typedef NS_ENUM(NSUInteger, BITAuthenticatorAppRestrictionEnforcementFrequency)
* @see authenticateInstallation
* @see validateWithCompletion:
*
* @param completion Block being executed once identification completed
* @param completion Block being executed once identification completed. Be sure to properly dispatch code to the main queue if necessary.
*/
- (void) identifyWithCompletion:(void(^)(BOOL identified, NSError *error)) completion;

Expand Down Expand Up @@ -342,7 +342,7 @@ typedef NS_ENUM(NSUInteger, BITAuthenticatorAppRestrictionEnforcementFrequency)
* @see authenticateInstallation
* @see identifyWithCompletion:
*
* @param completion Block being executed once validation completed
* @param completion Block being executed once validation completed. Be sure to properly dispatch code to the main queue if necessary.
*/
- (void) validateWithCompletion:(void(^)(BOOL validated, NSError *error)) completion;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ typedef NS_ENUM(NSUInteger, BITCrashManagerUserInput) {
* EXPERIMENTAL: Enable heuristics to detect the app not terminating cleanly
*
* This allows it to get a crash report if the app got killed while being in the foreground
* because of now of the following reasons:
* because of one of the following reasons:
* - The main thread was blocked for too long
* - The app took too long to start up
* - The app tried to allocate too much memory. If iOS did send a memory warning before killing the app because of this reason, `didReceiveMemoryWarningInLastSession` returns `YES`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ typedef NS_ENUM(NSInteger, BITFeedbackObservationMode) {
[BITHockeyManager sharedHockeyManager].feedbackManager
The user interface provides a list view than can be presented modally using
The user interface provides a list view that can be presented modally using
`[BITFeedbackManager showFeedbackListView]` or adding
`[BITFeedbackManager feedbackListViewController:]` to push onto a navigation stack.
This list integrates all features to load new messages, write new messages, view messages
Expand Down Expand Up @@ -287,6 +287,8 @@ typedef NS_ENUM(NSInteger, BITFeedbackObservationMode) {

/**
Present the modal feedback list user interface.
@warning This methods needs to be called on the main thread!
*/
- (void)showFeedbackListView;

Expand All @@ -303,6 +305,8 @@ typedef NS_ENUM(NSInteger, BITFeedbackObservationMode) {

/**
Present the modal feedback compose message user interface.
@warning This methods needs to be called on the main thread!
*/
- (void)showFeedbackComposeView;

Expand All @@ -314,6 +318,7 @@ typedef NS_ENUM(NSInteger, BITFeedbackObservationMode) {
@param items an NSArray with objects that should be attached
@see `[BITFeedbackComposeViewController prepareWithItems:]`
@warning This methods needs to be called on the main thread!
*/
- (void)showFeedbackComposeViewWithPreparedItems:(NSArray *)items;

Expand All @@ -325,6 +330,7 @@ typedef NS_ENUM(NSInteger, BITFeedbackObservationMode) {
[[BITHockeyManager sharedHockeyManager].feedbackManager showFeedbackComposeViewWithGeneratedScreenshot];
@see feedbackObservationMode
@warning This methods needs to be called on the main thread!
*/
- (void)showFeedbackComposeViewWithGeneratedScreenshot;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
*/

#import <Foundation/Foundation.h>
#import "BITFeedbackComposeViewControllerDelegate.h"

@class BITFeedbackManager;
@protocol BITFeedbackComposeViewControllerDelegate;

/**
* Delegate protocol which is notified about changes in the feedbackManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#import <UIKit/UIKit.h>

#import "HockeySDKFeatureConfig.h"

#import "HockeySDKEnums.h"

@protocol BITHockeyManagerDelegate;

Expand Down Expand Up @@ -375,14 +375,34 @@
/// @name Environment
///-----------------------------------------------------------------------------


/**
Enum that indicates what kind of environment the application is installed and running in.
This property can be used to disable or enable specific funtionality
only when specific conditions are met.
That could mean for example, to only enable debug UI elements
when the app has been installed over HockeyApp but not in the AppStore.
The underlying enum type at the moment only specifies values for the AppStore,
TestFlight and Other. Other summarizes several different distribution methods
and we might define additional specifc values for other environments in the future.
@see BITEnvironment
*/
@property (nonatomic, readonly) BITEnvironment appEnvironment;


/**
Flag that determines whether the application is installed and running
from an App Store installation.
Returns _YES_ if the app is installed and running from the App Store
Returns _NO_ if the app is installed via debug, ad-hoc or enterprise distribution
@deprecated Please use `appEnvironment` instead!
*/
@property (nonatomic, readonly, getter=isAppStoreEnvironment) BOOL appStoreEnvironment;
@property (nonatomic, readonly, getter=isAppStoreEnvironment) BOOL appStoreEnvironment DEPRECATED_ATTRIBUTE;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ typedef NS_ENUM (NSUInteger, BITUpdateSetting) {

/**
Present the modal update user interface.
@warning Make sure to call this method from the main thread!
*/
- (void)showUpdateView;

Expand Down
130 changes: 2 additions & 128 deletions iphone/platform/HockeySDK.framework/Versions/A/Headers/HockeySDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@


#import "HockeySDKFeatureConfig.h"
#import "HockeySDKEnums.h"
#import "HockeySDKNullability.h"

#import "BITHockeyManager.h"
#import "BITHockeyManagerDelegate.h"
Expand Down Expand Up @@ -82,137 +84,9 @@
// By default the SDK retries sending pending data only when the app becomes active.
#define BITHockeyNetworkDidBecomeReachableNotification @"BITHockeyNetworkDidBecomeReachable"


/**
* HockeySDK Crash Reporter error domain
*/
typedef NS_ENUM (NSInteger, BITCrashErrorReason) {
/**
* Unknown error
*/
BITCrashErrorUnknown,
/**
* API Server rejected app version
*/
BITCrashAPIAppVersionRejected,
/**
* API Server returned empty response
*/
BITCrashAPIReceivedEmptyResponse,
/**
* Connection error with status code
*/
BITCrashAPIErrorWithStatusCode
};
extern NSString *const __attribute__((unused)) kBITCrashErrorDomain;

/**
* HockeySDK Update error domain
*/
typedef NS_ENUM (NSInteger, BITUpdateErrorReason) {
/**
* Unknown error
*/
BITUpdateErrorUnknown,
/**
* API Server returned invalid status
*/
BITUpdateAPIServerReturnedInvalidStatus,
/**
* API Server returned invalid data
*/
BITUpdateAPIServerReturnedInvalidData,
/**
* API Server returned empty response
*/
BITUpdateAPIServerReturnedEmptyResponse,
/**
* Authorization secret missing
*/
BITUpdateAPIClientAuthorizationMissingSecret,
/**
* No internet connection
*/
BITUpdateAPIClientCannotCreateConnection
};
extern NSString *const __attribute__((unused)) kBITUpdateErrorDomain;


/**
* HockeySDK Feedback error domain
*/
typedef NS_ENUM(NSInteger, BITFeedbackErrorReason) {
/**
* Unknown error
*/
BITFeedbackErrorUnknown,
/**
* API Server returned invalid status
*/
BITFeedbackAPIServerReturnedInvalidStatus,
/**
* API Server returned invalid data
*/
BITFeedbackAPIServerReturnedInvalidData,
/**
* API Server returned empty response
*/
BITFeedbackAPIServerReturnedEmptyResponse,
/**
* Authorization secret missing
*/
BITFeedbackAPIClientAuthorizationMissingSecret,
/**
* No internet connection
*/
BITFeedbackAPIClientCannotCreateConnection
};
extern NSString *const __attribute__((unused)) kBITFeedbackErrorDomain;

/**
* HockeySDK Authenticator error domain
*/
typedef NS_ENUM(NSInteger, BITAuthenticatorReason) {
/**
* Unknown error
*/
BITAuthenticatorErrorUnknown,
/**
* Network error
*/
BITAuthenticatorNetworkError,

/**
* API Server returned invalid response
*/
BITAuthenticatorAPIServerReturnedInvalidResponse,
/**
* Not Authorized
*/
BITAuthenticatorNotAuthorized,
/**
* Unknown Application ID (configuration error)
*/
BITAuthenticatorUnknownApplicationID,
/**
* Authorization secret missing
*/
BITAuthenticatorAuthorizationSecretMissing,
/**
* Not yet identified
*/
BITAuthenticatorNotIdentified,
};
extern NSString *const __attribute__((unused)) kBITAuthenticatorErrorDomain;

/**
* HockeySDK global error domain
*/
typedef NS_ENUM(NSInteger, BITHockeyErrorReason) {
/**
* Unknown error
*/
BITHockeyErrorUnknown
};
extern NSString *const __attribute__((unused)) kBITHockeyErrorDomain;

Loading

0 comments on commit 7ea645f

Please sign in to comment.