Skip to content

Commit 4e47d66

Browse files
authored
🤝 Merge pull request #9 from Instabug/feature/2.11.2_release
Feature/2.11.2 release
2 parents bc5e6b0 + 412fad1 commit 4e47d66

Some content is hidden

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

52 files changed

+349
-216
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ android {
2121

2222
dependencies {
2323
compile 'com.facebook.react:react-native:0.20.+'
24-
compile ('com.instabug.library:instabug:4.13.3'){
24+
compile ('com.instabug.library:instabug:4.13.5'){
2525
exclude group: 'com.android.support:appcompat-v7'
2626
}
2727

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 143 additions & 82 deletions
Large diffs are not rendered by default.

index.js

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,22 @@ module.exports = {
296296
Instabug.setEmailFieldRequired(isEmailFieldRequired);
297297
},
298298

299+
/**
300+
* @deprecated since version 2.3.0. Use {@link setEnabledAttachmentTypes} instead.
301+
* Sets whether users are required to enter an email address or not when
302+
* sending reports.
303+
* Defaults to YES.
304+
* @param {boolean} isEmailFieldRequired A boolean to indicate whether email
305+
* field is required or not.
306+
* @param {actionTypes} actionTypes An enum that indicates which action
307+
* types will have the isEmailFieldRequired
308+
*/
309+
310+
setEmailFieldRequiredForActions: function(isEmailFieldRequired, actionTypes) {
311+
Instabug.setEmailFieldRequiredForActions(isEmailFieldRequired, actionTypes);
312+
},
313+
314+
299315
/**
300316
* Sets whether users are required to enter a comment or not when sending reports.
301317
* Defaults to NO.
@@ -408,12 +424,6 @@ module.exports = {
408424
Instabug.resetTags();
409425
},
410426

411-
/**
412-
* return callback
413-
* @callback tagsCallback
414-
* @param {string[]} tags of reported feedback, bug or crash.
415-
*/
416-
417427
/**
418428
* Gets all tags of reported feedback, bug or crash.
419429
* @param {tagsCallback} tagsCallback callback with argument tags of reported feedback, bug or crash.
@@ -928,7 +938,7 @@ module.exports = {
928938
} else {
929939
Instabug.sendHandledJSCrash(jsonObject);
930940
}
931-
},
941+
},
932942

933943
/**
934944
* Sets the default position at which the Instabug screen recording button will be shown.
@@ -972,6 +982,17 @@ module.exports = {
972982
Instabug.showFeatureRequests();
973983
},
974984

985+
/**
986+
* Setting an option for all the surveys to show a welcome screen before
987+
* the user starts taking the survey.
988+
* @param shouldShowWelcomeScreen A boolean for setting whether the
989+
* welcome screen should show.
990+
*
991+
*/
992+
setShouldShowSurveysWelcomeScreen: function(shouldShowWelcomeScreen) {
993+
Instabug.setShouldShowSurveysWelcomeScreen(shouldShowWelcomeScreen);
994+
},
995+
975996
/**
976997
* The event used to invoke the feedback form
977998
* @readonly
@@ -1099,6 +1120,18 @@ module.exports = {
10991120
topLeft: Instabug.topLeft
11001121
},
11011122

1123+
/**
1124+
* Instabug action types.
1125+
* @readonly
1126+
* @enum {number}
1127+
*/
1128+
actionTypes: {
1129+
allActions: Instabug.allActions,
1130+
reportBug: Instabug.reportBugAction,
1131+
requestNewFeature: Instabug.requestNewFeature,
1132+
addCommentToFeature: Instabug.addCommentToFeature
1133+
},
1134+
11021135
/**
11031136
* Instabug strings
11041137
* @readonly

ios/Instabug.framework/Headers/Instabug.h

Lines changed: 12 additions & 1 deletion
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: 7.12.5
8+
Version: 7.12.7
99
*/
1010

1111
#import <Foundation/Foundation.h>
@@ -1266,6 +1266,17 @@ OBJC_EXTERN void IBGNSLogWithLevel(NSString *format, va_list args, IBGLogLevel l
12661266
*/
12671267
+ (void)setThresholdForReshowingSurveyAfterDismiss:(NSInteger)sessionCount daysCount:(NSInteger)daysCount;
12681268

1269+
/**
1270+
@brief Setting an option for all the surveys to show a welcome screen before the user starts taking the survey.
1271+
1272+
@discussion By enabling this option, any survey that appears to the user will have a welcome screen with a title, subtitle
1273+
and a button that if clicked, will take the user to the survey. All the strings in the welcome screen have a default value
1274+
and localized. They can also be modified using the strings API. The default value of this option is false.
1275+
1276+
@param shouldShowWelcomeScreen : Boolean for setting wether the welcome screen should show.
1277+
*/
1278+
+ (void)setShouldShowSurveysWelcomeScreen:(BOOL)shouldShowWelcomeScreen;
1279+
12691280
#pragma mark - Feature Requests
12701281
/// ------------------------
12711282
/// @name Feature Requests

ios/Instabug.framework/Info.plist

0 Bytes
Binary file not shown.

ios/Instabug.framework/Instabug

-80.3 KB
Binary file not shown.

ios/Instabug.framework/_CodeSignature/CodeResources

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<dict>
77
<key>Headers/Instabug.h</key>
88
<data>
9-
wwOLwWc4iG8u5RCEgnEbViLJru4=
9+
SGNYZhDFT2EX7GCTETfClZTQXJY=
1010
</data>
1111
<key>Info.plist</key>
1212
<data>
13-
HPAveR0c+whbq5mPNp5qMyz1TnU=
13+
/nPkkrY39eMx9p9uHRbBsHajFMw=
1414
</data>
1515
<key>Modules/module.modulemap</key>
1616
<data>
@@ -23,11 +23,11 @@
2323
<dict>
2424
<key>hash</key>
2525
<data>
26-
wwOLwWc4iG8u5RCEgnEbViLJru4=
26+
SGNYZhDFT2EX7GCTETfClZTQXJY=
2727
</data>
2828
<key>hash2</key>
2929
<data>
30-
S/NXH4SJqkK91PzzkM9R0MiqjfoJgQeFjfAb7YuTmps=
30+
WKOlkyFQLVjgThj0Q+rMJ+iJKaRVVs+lV56Ly76ap58=
3131
</data>
3232
</dict>
3333
<key>Modules/module.modulemap</key>

ios/InstabugCore.framework/Headers/IBGTypes.h

Lines changed: 1 addition & 1 deletion
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: 7.12.5
8+
Version: 7.12.7
99
*/
1010

1111
#import <UIKit/UIKit.h>

ios/InstabugCore.framework/Headers/InstabugCore.h

Lines changed: 1 addition & 1 deletion
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: 7.12.5
8+
Version: 7.12.7
99
*/
1010

1111
#import <Foundation/Foundation.h>
-4 Bytes
Binary file not shown.
Binary file not shown.
-4 Bytes
Binary file not shown.
6 Bytes
Binary file not shown.
Binary file not shown.
-2 Bytes
Binary file not shown.
Binary file not shown.
-3 Bytes
Binary file not shown.
-2 Bytes
Binary file not shown.
-4 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

ios/InstabugCore.framework/Info.plist

0 Bytes
Binary file not shown.
-64 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)