Skip to content

Commit 996773c

Browse files
authored
🤝 Merge pull request #7 from Instabug/releases/2.10_release
Releases/2.10 release
2 parents d1b9d41 + 499bc5a commit 996773c

30 files changed

+99
-68
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.1'){
24+
compile ('com.instabug.library:instabug:4.13.2'){
2525
exclude group: 'com.android.support:appcompat-v7'
2626
}
2727

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

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
131131
private final String VOICE_MESSAGE_RELEASE_TO_ATTACH = "recordingMessageToReleaseText";
132132

133133
private final String REPORT_SUCCESSFULLY_SENT = "thankYouText";
134+
private final String THANK_YOU_ALERT_TEXT = "thankYouAlertText";
135+
134136
private final String VIDEO_PLAYER_TITLE = "video";
135137

136138
private final String CONVERSATION_TEXT_FIELD_HINT = "conversationTextFieldHint";
@@ -568,6 +570,18 @@ public void disable() {
568570
}
569571
}
570572

573+
/**
574+
* Shows the UI for feature requests list
575+
*/
576+
@ReactMethod
577+
public void showFeatureRequests() {
578+
try {
579+
Instabug.showFeatureRequests();
580+
} catch (Exception e) {
581+
e.printStackTrace();
582+
}
583+
}
584+
571585
/**
572586
* @return application token
573587
*/
@@ -1420,9 +1434,11 @@ private InstabugCustomTextPlaceHolder.Key getStringToKeyConstant(String key) {
14201434
case CONVERSATION_TEXT_FIELD_HINT:
14211435
return InstabugCustomTextPlaceHolder.Key.CONVERSATION_TEXT_FIELD_HINT;
14221436
case REPORT_SUCCESSFULLY_SENT:
1423-
return InstabugCustomTextPlaceHolder.Key.REPORT_SUCCESSFULLY_SENT;
1437+
return InstabugCustomTextPlaceHolder.Key.SUCCESS_DIALOG_HEADER;
14241438
case VIDEO_PLAYER_TITLE:
14251439
return InstabugCustomTextPlaceHolder.Key.VIDEO_PLAYER_TITLE;
1440+
case THANK_YOU_ALERT_TEXT:
1441+
return InstabugCustomTextPlaceHolder.Key.REPORT_SUCCESSFULLY_SENT;
14261442
default:
14271443
return null;
14281444
}
@@ -1588,7 +1604,7 @@ public Map<String, Object> getConstants() {
15881604
constants.put("thankYouText", REPORT_SUCCESSFULLY_SENT);
15891605
constants.put("video", VIDEO_PLAYER_TITLE);
15901606
constants.put("conversationTextFieldHint", CONVERSATION_TEXT_FIELD_HINT);
1591-
1607+
constants.put("thankYouAlertText", THANK_YOU_ALERT_TEXT);
15921608

15931609
return constants;
15941610
}

index.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,14 @@ module.exports = {
933933
Instabug.setAutoShowingSurveysEnabled(autoShowingSurveysEnabled);
934934
},
935935

936+
/**
937+
* Shows the UI for feature requests list
938+
*
939+
*/
940+
showFeatureRequests: function() {
941+
Instabug.showFeatureRequests();
942+
},
943+
936944
/**
937945
* The event used to invoke the feedback form
938946
* @readonly
@@ -1105,6 +1113,7 @@ module.exports = {
11051113
messageNotification: Instabug.messageNotification,
11061114
messagesNotificationAndOthers: Instabug.messagesNotificationAndOthers,
11071115
conversationTextFieldHint: Instabug.conversationTextFieldHint,
1108-
collectingDataText: Instabug.collectingDataText
1116+
collectingDataText: Instabug.collectingDataText,
1117+
thankYouAlertText: Instabug.thankYouAlertText,
11091118
}
11101119
};

ios/Instabug.framework/Headers/Instabug.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.2
8+
Version: 7.12.3
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Info.plist

1 Byte
Binary file not shown.

ios/Instabug.framework/Instabug

6.39 MB
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-
XDnWikGFRQ5xwAV0kCorplk1cM4=
9+
x58V5/AZd4q5E7jPVi0tdhKez70=
1010
</data>
1111
<key>Info.plist</key>
1212
<data>
13-
PpETNUvcYiBew0OfmP2j/Ibj//Q=
13+
4Jy8Yn1EuGKXqRymL6Sgk907mK8=
1414
</data>
1515
<key>Modules/module.modulemap</key>
1616
<data>
@@ -23,11 +23,11 @@
2323
<dict>
2424
<key>hash</key>
2525
<data>
26-
XDnWikGFRQ5xwAV0kCorplk1cM4=
26+
x58V5/AZd4q5E7jPVi0tdhKez70=
2727
</data>
2828
<key>hash2</key>
2929
<data>
30-
TKuVjgAmDsMC3GkVsXYlJZabb1cCne+zgcEdz+tgm7M=
30+
tI8SWLNyo50BAffKMVwvBPCeHSEZm+G7wutFUvhnBRU=
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.2
8+
Version: 7.12.3
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.2
8+
Version: 7.12.3
99
*/
1010

1111
#import <Foundation/Foundation.h>
Binary file not shown.
Binary file not shown.
-21 Bytes
Binary file not shown.
10 Bytes
Binary file not shown.
-31 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
5 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-36 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

1 Byte
Binary file not shown.
5.37 MB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)