Skip to content

Commit

Permalink
💎 Bump version to 8.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
salmamali committed Dec 11, 2018
2 parents 2de2301 + 67b2471 commit d35210d
Show file tree
Hide file tree
Showing 133 changed files with 1,350 additions and 2,390 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ android {
}

dependencies {
compile 'com.instabug.library:instabug:8.0.3'
compile 'com.android.support:multidex:1.0.0'
implementation 'com.instabug.library:instabug:8.0.12'
implementation 'com.android.support:multidex:1.0.0'
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "instabug-cordova",
"version": "8.0.4",
"version": "8.0.5",
"description": "The purpose of this plugin is to simplify the process of integrating the Instabug SDK in a hybrid application, as well as to provide an interface to interfacing with the SDK through JavaScript.",
"main": "index.js",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
</config-file>

<framework src="src/ios/Instabug.framework" custom="true" embed="true" />
<framework src="src/ios/InstabugCore.framework" custom="true" embed="true" />
<hook type="after_plugin_install" src="scripts/zStripScript.js" />
<header-file src="src/ios/IBGPlugin.h" />
<source-file src="src/ios/IBGPlugin.m" />
Expand Down
2 changes: 1 addition & 1 deletion scripts/zStripScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = function(context) {
projectName = projectName.substr(0, projectName.length - 1);
}

var options = {shellPath: '/bin/sh', shellScript: 'bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/InstabugCore.framework/strip-frameworks.sh"', runOnlyForDeploymentPostprocessing: 0};
var options = {shellPath: '/bin/sh', shellScript: 'bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Instabug.framework/strip-frameworks.sh"', runOnlyForDeploymentPostprocessing: 0};
var buildPhase = myProj.addBuildPhase([], 'PBXShellScriptBuildPhase', 'StripFrameworkScript', myProj.getFirstTarget().uuid, options).buildPhase;

fs.writeFileSync(projectPath, myProj.writeSync());
Expand Down
19 changes: 14 additions & 5 deletions src/ios/Instabug.framework/Headers/IBGBugReporting.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
//

#import <Foundation/Foundation.h>
#import <InstabugCore/InstabugCore.h>
#import <InstabugCore/IBGTypes.h>
#import "IBGTypes.h"

NS_SWIFT_NAME(BugReporting)
@interface IBGBugReporting : NSObject
Expand Down Expand Up @@ -57,16 +56,18 @@ NS_SWIFT_NAME(BugReporting)
@property(class, atomic, assign) IBGInvocationEvent invocationEvents;

/**
@brief Sets the threshold value of the shake gesture for iPhone/iPod Touch
@brief Sets the threshold value of the shake gesture for iPhone/iPod Touch.
@discussion Default for iPhone is 2.5.
@discussion Default for iPhone is 2.5. The lower the threshold, the easier it will be to invoke Instabug with the
shake gesture. A threshold which is too low will cause Instabug to be invoked unintentionally.
*/
@property(class, atomic, assign) CGFloat shakingThresholdForiPhone;

/**
@brief Sets the threshold value of the shake gesture for iPad.
@discussion Default for iPad is 0.6.
@discussion Default for iPad is 0.6. The lower the threshold, the easier it will be to invoke Instabug with the
shake gesture. A threshold which is too low will cause Instabug to be invoked unintentionally.
*/
@property(class, atomic, assign) CGFloat shakingThresholdForiPad;

Expand Down Expand Up @@ -118,6 +119,14 @@ NS_SWIFT_NAME(BugReporting)
*/
@property(class, atomic, assign) IBGBugReportingInvocationOption invocationOptions;


/**
@brief Sets the default position at which the Instabug screen recording button will be shown. Different orientations are already handled.
@discussion Default for `position` is `bottomRight`.
*/
@property(class, atomic, assign) IBGPosition videoRecordingFloatingButtonPosition;

/**
@brief Invokes the SDK manually with the default invocation mode.
Expand Down
2 changes: 1 addition & 1 deletion src/ios/Instabug.framework/Headers/IBGFeatureRequests.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <Foundation/Foundation.h>
#import <InstabugCore/InstabugCore.h>
#import "IBGTypes.h"

NS_SWIFT_NAME(FeatureRequests)
@interface IBGFeatureRequests : NSObject
Expand Down
2 changes: 1 addition & 1 deletion src/ios/Instabug.framework/Headers/IBGLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

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

@interface IBGLog : NSObject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ NS_SWIFT_NAME(NetworkLogger)

@property (class, atomic, assign) BOOL enabled;

/* CHECK NULLABILITY! */
typedef void (^NetworkObfuscationCompletionBlock)(NSData * _Nullable data, NSURLResponse * _Nonnull response);


/**
@brief Enable logging for network requests and responses on a custom NSURLSessionConfiguration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Copyright: (c) 2013-2018 by Instabug, Inc., all rights reserved.
Version: 8.0.2
Version: 0.0.0
*/

#import <UIKit/UIKit.h>
Expand Down Expand Up @@ -39,6 +39,14 @@ extern NSString * const kIBGInvocationTitleStringName;
extern NSString * const kIBGTalkToUsStringName;
extern NSString * const kIBGReportBugStringName;
extern NSString * const kIBGReportFeedbackStringName;
extern NSString * const kIBGPhotoPickerTitle;
extern NSString * const kIBGProgressViewTitle;
extern NSString * const kIBGGalleryPermissionDeniedAlertTitle;
extern NSString * const kIBGGalleryPermissionDeniedAlertMessage;
extern NSString * const kIBGMaximumSizeExceededAlertTitle;
extern NSString * const kIBGMaximumSizeExceededAlertMessage;
extern NSString * const kIBGiCloudImportErrorAlertTitle;
extern NSString * const kIBGiCloudImportErrorAlertMessage;
extern NSString * const kIBGEmailFieldPlaceholderStringName;
extern NSString * const kIBGCommentFieldPlaceholderForBugReportStringName;
extern NSString * const kIBGCommentFieldPlaceholderForFeedbackStringName;
Expand Down Expand Up @@ -145,6 +153,10 @@ extern NSString * const kIBGDiscardAlertTitle;
extern NSString * const kIBGDiscardAlertMessage;
extern NSString * const kIBGDiscardAlertAction;
extern NSString * const kIBGDiscardAlertCancel;
extern NSString * const kIBGVideoGalleryErrorMessageStringName;
extern NSString * const kIBGVideoDurationErrorTitle;
extern NSString * const kIBGVideoDurationErrorMessage;


/// -----------
/// @name Enums
Expand Down Expand Up @@ -265,7 +277,8 @@ typedef NS_ENUM(NSInteger, IBGLocale) {
IBGLocaleSlovak,
IBGLocaleSpanish,
IBGLocaleSwedish,
IBGLocaleTurkish
IBGLocaleTurkish,
IBGLocaleHungarian
};

/**
Expand Down Expand Up @@ -310,6 +323,16 @@ typedef NS_ENUM(NSInteger, IBGString) {
IBGStringTalkToUs,
IBGStringReportBug,
IBGStringReportFeedback,
IBGStringPhotoPickerTitle,
IBGStringProgressViewTitle,
IBGStringGalleryPermissionDeniedAlertTitle,
IBGStringGalleryPermissionDeniedAlertMessage,
IBGStringMaximumSizeExceededAlertTitle,
IBGStringMaximumSizeExceededAlertMessage,
IBGVideoDurationErrorTitle,
IBGVideoDurationErrorMessage,
IBGStringiCloudImportErrorAlertTitle,
IBGStringiCloudImportErrorAlertMessage,
IBGStringEmailFieldHint,
IBGStringCommentFieldHintForBugReport,
IBGStringCommentFieldHintForFeedback,
Expand Down Expand Up @@ -401,7 +424,8 @@ typedef NS_ENUM(NSInteger, IBGString) {
IBGDiscardAlertTitleStringName,
IBGDiscardAlertMessageStringName,
IBGDiscardAlertActionStringName,
IBGDiscardAlertCancelStringName
IBGDiscardAlertCancelStringName,
IBGVideoGalleryErrorMessageStringName
};

/**
Expand Down Expand Up @@ -480,12 +504,5 @@ typedef NS_ENUM(NSInteger, IBGWelcomeMessageMode) {
IBGWelcomeMessageModeDisabled
};

@interface UIView (Instabug)

/**
@brief Set this to true on any UIView to mark it as private.
Doing this will exclude it from all screenshots, view hierarchy captures and screen recordings.
*/
@property (nonatomic, assign) BOOL instabug_privateView;

@end
/* CHECK NULLABILITY! */
typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *response);
Loading

0 comments on commit d35210d

Please sign in to comment.