Skip to content

Commit d35210d

Browse files
committed
💎 Bump version to 8.0.5
2 parents 2de2301 + 67b2471 commit d35210d

File tree

133 files changed

+1350
-2390
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+1350
-2390
lines changed

‎build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ android {
2121
}
2222

2323
dependencies {
24-
compile 'com.instabug.library:instabug:8.0.3'
25-
compile 'com.android.support:multidex:1.0.0'
24+
implementation 'com.instabug.library:instabug:8.0.12'
25+
implementation 'com.android.support:multidex:1.0.0'
2626
}

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "instabug-cordova",
3-
"version": "8.0.4",
3+
"version": "8.0.5",
44
"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.",
55
"main": "index.js",
66
"repository": {

‎plugin.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
</config-file>
9696

9797
<framework src="src/ios/Instabug.framework" custom="true" embed="true" />
98-
<framework src="src/ios/InstabugCore.framework" custom="true" embed="true" />
9998
<hook type="after_plugin_install" src="scripts/zStripScript.js" />
10099
<header-file src="src/ios/IBGPlugin.h" />
101100
<source-file src="src/ios/IBGPlugin.m" />

‎scripts/zStripScript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports = function(context) {
5757
projectName = projectName.substr(0, projectName.length - 1);
5858
}
5959

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

6363
fs.writeFileSync(projectPath, myProj.writeSync());

‎src/ios/Instabug.framework/Headers/IBGBugReporting.h

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10-
#import <InstabugCore/InstabugCore.h>
11-
#import <InstabugCore/IBGTypes.h>
10+
#import "IBGTypes.h"
1211

1312
NS_SWIFT_NAME(BugReporting)
1413
@interface IBGBugReporting : NSObject
@@ -57,16 +56,18 @@ NS_SWIFT_NAME(BugReporting)
5756
@property(class, atomic, assign) IBGInvocationEvent invocationEvents;
5857

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

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

@@ -118,6 +119,14 @@ NS_SWIFT_NAME(BugReporting)
118119
*/
119120
@property(class, atomic, assign) IBGBugReportingInvocationOption invocationOptions;
120121

122+
123+
/**
124+
@brief Sets the default position at which the Instabug screen recording button will be shown. Different orientations are already handled.
125+
126+
@discussion Default for `position` is `bottomRight`.
127+
*/
128+
@property(class, atomic, assign) IBGPosition videoRecordingFloatingButtonPosition;
129+
121130
/**
122131
@brief Invokes the SDK manually with the default invocation mode.
123132

‎src/ios/Instabug.framework/Headers/IBGFeatureRequests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10-
#import <InstabugCore/InstabugCore.h>
10+
#import "IBGTypes.h"
1111

1212
NS_SWIFT_NAME(FeatureRequests)
1313
@interface IBGFeatureRequests : NSObject

‎src/ios/Instabug.framework/Headers/IBGLog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10-
#import <InstabugCore/InstabugCore.h>
10+
#import "InstabugCore.h"
1111

1212
@interface IBGLog : NSObject
1313

‎src/ios/InstabugCore.framework/Headers/IBGNetworkLogger.h renamed to ‎src/ios/Instabug.framework/Headers/IBGNetworkLogger.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ NS_SWIFT_NAME(NetworkLogger)
1414

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

17-
/* CHECK NULLABILITY! */
18-
typedef void (^NetworkObfuscationCompletionBlock)(NSData * _Nullable data, NSURLResponse * _Nonnull response);
19-
20-
2117
/**
2218
@brief Enable logging for network requests and responses on a custom NSURLSessionConfiguration.
2319

‎src/ios/InstabugCore.framework/Headers/IBGTypes.h renamed to ‎src/ios/Instabug.framework/Headers/IBGTypes.h

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2018 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.0.2
8+
Version: 0.0.0
99
*/
1010

1111
#import <UIKit/UIKit.h>
@@ -39,6 +39,14 @@ extern NSString * const kIBGInvocationTitleStringName;
3939
extern NSString * const kIBGTalkToUsStringName;
4040
extern NSString * const kIBGReportBugStringName;
4141
extern NSString * const kIBGReportFeedbackStringName;
42+
extern NSString * const kIBGPhotoPickerTitle;
43+
extern NSString * const kIBGProgressViewTitle;
44+
extern NSString * const kIBGGalleryPermissionDeniedAlertTitle;
45+
extern NSString * const kIBGGalleryPermissionDeniedAlertMessage;
46+
extern NSString * const kIBGMaximumSizeExceededAlertTitle;
47+
extern NSString * const kIBGMaximumSizeExceededAlertMessage;
48+
extern NSString * const kIBGiCloudImportErrorAlertTitle;
49+
extern NSString * const kIBGiCloudImportErrorAlertMessage;
4250
extern NSString * const kIBGEmailFieldPlaceholderStringName;
4351
extern NSString * const kIBGCommentFieldPlaceholderForBugReportStringName;
4452
extern NSString * const kIBGCommentFieldPlaceholderForFeedbackStringName;
@@ -145,6 +153,10 @@ extern NSString * const kIBGDiscardAlertTitle;
145153
extern NSString * const kIBGDiscardAlertMessage;
146154
extern NSString * const kIBGDiscardAlertAction;
147155
extern NSString * const kIBGDiscardAlertCancel;
156+
extern NSString * const kIBGVideoGalleryErrorMessageStringName;
157+
extern NSString * const kIBGVideoDurationErrorTitle;
158+
extern NSString * const kIBGVideoDurationErrorMessage;
159+
148160

149161
/// -----------
150162
/// @name Enums
@@ -265,7 +277,8 @@ typedef NS_ENUM(NSInteger, IBGLocale) {
265277
IBGLocaleSlovak,
266278
IBGLocaleSpanish,
267279
IBGLocaleSwedish,
268-
IBGLocaleTurkish
280+
IBGLocaleTurkish,
281+
IBGLocaleHungarian
269282
};
270283

271284
/**
@@ -310,6 +323,16 @@ typedef NS_ENUM(NSInteger, IBGString) {
310323
IBGStringTalkToUs,
311324
IBGStringReportBug,
312325
IBGStringReportFeedback,
326+
IBGStringPhotoPickerTitle,
327+
IBGStringProgressViewTitle,
328+
IBGStringGalleryPermissionDeniedAlertTitle,
329+
IBGStringGalleryPermissionDeniedAlertMessage,
330+
IBGStringMaximumSizeExceededAlertTitle,
331+
IBGStringMaximumSizeExceededAlertMessage,
332+
IBGVideoDurationErrorTitle,
333+
IBGVideoDurationErrorMessage,
334+
IBGStringiCloudImportErrorAlertTitle,
335+
IBGStringiCloudImportErrorAlertMessage,
313336
IBGStringEmailFieldHint,
314337
IBGStringCommentFieldHintForBugReport,
315338
IBGStringCommentFieldHintForFeedback,
@@ -401,7 +424,8 @@ typedef NS_ENUM(NSInteger, IBGString) {
401424
IBGDiscardAlertTitleStringName,
402425
IBGDiscardAlertMessageStringName,
403426
IBGDiscardAlertActionStringName,
404-
IBGDiscardAlertCancelStringName
427+
IBGDiscardAlertCancelStringName,
428+
IBGVideoGalleryErrorMessageStringName
405429
};
406430

407431
/**
@@ -480,12 +504,5 @@ typedef NS_ENUM(NSInteger, IBGWelcomeMessageMode) {
480504
IBGWelcomeMessageModeDisabled
481505
};
482506

483-
@interface UIView (Instabug)
484-
485-
/**
486-
@brief Set this to true on any UIView to mark it as private.
487-
Doing this will exclude it from all screenshots, view hierarchy captures and screen recordings.
488-
*/
489-
@property (nonatomic, assign) BOOL instabug_privateView;
490-
491-
@end
507+
/* CHECK NULLABILITY! */
508+
typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *response);

0 commit comments

Comments
 (0)