Skip to content

Commit 2ab719f

Browse files
authored
💎 Bumping native SDKs to 8.6.1
1 parent d1bdcd5 commit 2ab719f

File tree

96 files changed

+421
-838
lines changed

Some content is hidden

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

96 files changed

+421
-838
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Master
2+
3+
* Bump native SDKs to 8.6.1
4+
15
## v8.5.6 (2019-08-21)
26

37
* Fixes an issue that crashes the SDK when calling `Instabug.onReportSubmitHandler` on iOS.

InstabugSample/App.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ export default class App extends Component<{}> {
5555
<TouchableOpacity style={styles.button} onPress={()=>this.sendFeedback()}>
5656
<Text style={styles.text}> SEND FEEDBACK </Text>
5757
</TouchableOpacity>
58+
<TouchableOpacity style={styles.button} onPress={()=>this.startNewConversation()}>
59+
<Text style={styles.text}> ASK A QUESTION </Text>
60+
</TouchableOpacity>
5861
<TouchableOpacity style={styles.button} onPress={()=>this.sendCrashReport()}>
5962
<Text style={styles.text}> THROW HANDLED EXCEPTION </Text>
6063
</TouchableOpacity>
61-
<TouchableOpacity style={styles.button} onPress={()=>this.startNewConversation()}>
62-
<Text style={styles.text}> START A NEW CONVERSATION </Text>
63-
</TouchableOpacity>
6464
<TouchableOpacity style={styles.button} onPress={()=>this.showNpsSurvey()}>
6565
<Text style={styles.text}> SHOW NPS SURVEY </Text>
6666
</TouchableOpacity>
@@ -184,7 +184,7 @@ export default class App extends Component<{}> {
184184
}
185185

186186
startNewConversation() {
187-
Chats.show();
187+
BugReporting.showWithOptions(BugReporting.reportType.question);
188188
}
189189

190190
showUnreadMessagesCount() {

InstabugSample/ios/InstabugSampleTests/InstabugBugReportingTests.m

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,6 @@ - (void) testgivenInvocationEvent$setInvocationEvents_whenQuery_thenShouldCallNa
4848
XCTAssertEqual(IBGBugReporting.invocationEvents, invocationEvents);
4949
}
5050

51-
- (void)testgiven$invoke_whenQuery_thenShouldCallNativeApi {
52-
id mock = OCMClassMock([IBGBugReporting class]);
53-
54-
OCMStub([mock invoke]);
55-
[self.instabugBridge invoke];
56-
XCTestExpectation *expectation = [self expectationWithDescription:@"Test ME PLX"];
57-
58-
[[NSRunLoop mainRunLoop] performBlock:^{
59-
OCMVerify([mock invoke]);
60-
[expectation fulfill];
61-
}];
62-
63-
[self waitForExpectationsWithTimeout:EXPECTATION_TIMEOUT handler:nil];
64-
}
65-
6651
- (void) testgivenOptions$setOptions_whenQuery_thenShouldCallNativeApiWithArgs {
6752
NSArray *invocationOptionsArr = [NSArray arrayWithObjects: @(IBGBugReportingInvocationOptionEmailFieldHidden), nil];
6853

@@ -74,26 +59,6 @@ - (void) testgivenOptions$setOptions_whenQuery_thenShouldCallNativeApiWithArgs {
7459
XCTAssertEqual(IBGBugReporting.bugReportingOptions, invocationOptions);
7560
}
7661

77-
- (void) testgivenInvocationModeAndOptiond$invokeWithModeOptions_whenQuery_thenShouldCallNativeApiWithArgs {
78-
NSArray *invocationOptionsArr = [NSArray arrayWithObjects: @(IBGBugReportingInvocationOptionEmailFieldHidden), nil];
79-
IBGBugReportingInvocationOption invocationOptions = 0;
80-
for (NSNumber *boxedValue in invocationOptionsArr) {
81-
invocationOptions |= [boxedValue intValue];
82-
}
83-
IBGInvocationMode invocationMode = IBGInvocationModeNewBug;
84-
id mock = OCMClassMock([IBGBugReporting class]);
85-
OCMStub([mock invokeWithMode:invocationMode options:invocationOptions]);
86-
[self.instabugBridge invokeWithInvocationModeAndOptions:invocationMode options:invocationOptionsArr];
87-
XCTestExpectation *expectation = [self expectationWithDescription:@"Test ME PLX"];
88-
89-
[[NSRunLoop mainRunLoop] performBlock:^{
90-
OCMVerify([mock invokeWithMode:invocationMode options:invocationOptions]);
91-
[expectation fulfill];
92-
}];
93-
94-
[self waitForExpectationsWithTimeout:EXPECTATION_TIMEOUT handler:nil];
95-
}
96-
9762
- (void) testgivenHandler$setOnInvokeHandler_whenQuery_thenShouldCallNativeApi {
9863
id partialMock = OCMPartialMock(self.instabugBridge);
9964
RCTResponseSenderBlock callback = ^(NSArray *response) {};
@@ -142,15 +107,6 @@ - (void) testgivenHandlerADD_ATTACHMENT$setOnSDKDismissedHandler_whenQuery_thenS
142107
OCMVerify([partialMock sendEventWithName:@"IBGpostInvocationHandler" body:result]);
143108
}
144109

145-
- (void) testgivenBooleans$setPromptOptionsEnabled_whenQuery_thenShouldCallNativeApi {
146-
id mock = OCMClassMock([IBGBugReporting class]);
147-
BOOL enabled = true;
148-
IBGPromptOption promptOption = IBGPromptOptionNone + IBGPromptOptionChat + IBGPromptOptionBug + IBGPromptOptionFeedback;
149-
OCMStub([mock setPromptOptions:promptOption]);
150-
[self.instabugBridge setPromptOptionsEnabled:enabled feedback:enabled chat:enabled];
151-
OCMVerify([mock setPromptOptions:promptOption]);
152-
}
153-
154110
- (void) skip_testgivenDouble$setShakingThresholdForiPhone_whenQuery_thenShouldCallNativeApi {
155111
double threshold = 12;
156112
[self.instabugBridge setShakingThresholdForiPhone:threshold];

InstabugSample/ios/InstabugSampleTests/InstabugRepliesTests.m

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ - (void) testgivenBoolean$setInAppNotificationEnabled_whenQuery_thenShouldCallNa
8585
XCTAssertFalse(IBGReplies.inAppNotificationsEnabled);
8686
}
8787

88+
- (void)testSetPushNotificationsEnabled {
89+
id mock = OCMClassMock([IBGReplies class]);
90+
BOOL isPushNotificationEnabled = true;
91+
92+
OCMStub([mock setPushNotificationsEnabled:isPushNotificationEnabled]);
93+
[self.instabugBridge setPushNotificationsEnabled:isPushNotificationEnabled];
94+
OCMVerify([mock setPushNotificationsEnabled:isPushNotificationEnabled]);
95+
}
96+
8897

8998
@end
9099

InstabugSample/ios/InstabugSampleTests/InstabugSampleTests.m

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,6 @@ - (void)testSetSessionProfilerEnabled {
9797
OCMVerify([mock setSessionProfilerEnabled:sessionProfilerEnabled]);
9898
}
9999

100-
- (void)testSetPushNotificationsEnabled {
101-
id mock = OCMClassMock([Instabug class]);
102-
BOOL isPushNotificationEnabled = true;
103-
104-
OCMStub([mock setPushNotificationsEnabled:isPushNotificationEnabled]);
105-
[self.instabugBridge setPushNotificationsEnabled:isPushNotificationEnabled];
106-
OCMVerify([mock setPushNotificationsEnabled:isPushNotificationEnabled]);
107-
}
108-
109100
- (void)testSetLocale {
110101
id<InstabugCPTestProtocol> mock = OCMClassMock([Instabug class]);
111102

InstabugSample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dependencies": {
1111
"react": "16.8.6",
12-
"react-native": "0.60.0",
12+
"react-native": "0.60.3",
1313
"instabug-reactnative": "../"
1414
},
1515
"devDependencies": {

InstabugSample/yarn.lock

Lines changed: 51 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2853,6 +2853,11 @@ has@^1.0.1, has@^1.0.3:
28532853
dependencies:
28542854
function-bind "^1.1.1"
28552855

2856+
hermesvm@^0.1.0:
2857+
version "0.1.0"
2858+
resolved "https://registry.yarnpkg.com/hermesvm/-/hermesvm-0.1.0.tgz#4bfaf4ac682a2fd407b862ab641eb8deb232de83"
2859+
integrity sha512-GbP6dKaVW/V2QpB+DZPxcmhBhJVFa9cHS/xRX7FD1MGfa6Z1aHHD83VDCwo3SgcqNj5yHlVbe9UgrK1PFGCXpw==
2860+
28562861
hosted-git-info@^2.1.4:
28572862
version "2.7.1"
28582863
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047"
@@ -3001,7 +3006,7 @@ inquirer@^6.2.2:
30013006
through "^2.3.6"
30023007

30033008
instabug-reactnative@../:
3004-
version "8.4.4"
3009+
version "8.5.6"
30053010

30063011
invariant@^2.2.4:
30073012
version "2.2.4"
@@ -4184,6 +4189,29 @@ [email protected]:
41844189
"@babel/types" "^7.0.0"
41854190
source-map "^0.5.6"
41864191

4192+
[email protected], metro-source-map@^0.55.0:
4193+
version "0.55.0"
4194+
resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.55.0.tgz#1f6289905f08277c398f2b9b9c13e7e0e5a6f540"
4195+
integrity sha512-HZODA0KPl5onJNGIztfTHHWurR2nL6Je/X8wwj+bL4ZBB/hSMVeDk7rWReCAvO3twVz7Ztp8Si0jfMmmH4Ruuw==
4196+
dependencies:
4197+
"@babel/traverse" "^7.0.0"
4198+
"@babel/types" "^7.0.0"
4199+
invariant "^2.2.4"
4200+
metro-symbolicate "0.55.0"
4201+
ob1 "0.55.0"
4202+
source-map "^0.5.6"
4203+
vlq "^1.0.0"
4204+
4205+
4206+
version "0.55.0"
4207+
resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.55.0.tgz#4086a2adae54b5e44a4911ca572d8a7b03c71fa1"
4208+
integrity sha512-3r3Gpv5L4U7rBGpIqw5S1nun5MelfUMLRiScJsPRGZVTX3WY1w+zpaQKlWBi5yuHf5dMQ+ZUVbhb02IdrfJ2Fg==
4209+
dependencies:
4210+
metro-source-map "0.55.0"
4211+
source-map "^0.5.6"
4212+
through2 "^2.0.1"
4213+
vlq "^1.0.0"
4214+
41874215
[email protected], metro@^0.54.1:
41884216
version "0.54.1"
41894217
resolved "https://registry.yarnpkg.com/metro/-/metro-0.54.1.tgz#a629be00abee5a450a25a8f71c24745f70cc9b44"
@@ -4572,6 +4600,11 @@ oauth-sign@~0.9.0:
45724600
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
45734601
integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==
45744602

4603+
4604+
version "0.55.0"
4605+
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.55.0.tgz#e393b4ae786ef442b3ef2a298ab70d6ec353dbdd"
4606+
integrity sha512-pfyiMVsUItl8WiRKMT15eCi662pCRAuYTq2+V3UpE+PpFErJI/TvRh/M/l/9TaLlbFr7krJ7gdl+FXJNcybmvw==
4607+
45754608
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
45764609
version "4.1.1"
45774610
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
@@ -5066,10 +5099,10 @@ react-deep-force-update@^1.0.0:
50665099
resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.1.2.tgz#3d2ae45c2c9040cbb1772be52f8ea1ade6ca2ee1"
50675100
integrity sha512-WUSQJ4P/wWcusaH+zZmbECOk7H5N2pOIl0vzheeornkIMhu+qrNdGFm0bDZLCb0hSF0jf/kH1SgkNGfBdTc4wA==
50685101

5069-
react-devtools-core@^3.6.0:
5070-
version "3.6.1"
5071-
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-3.6.1.tgz#51af81ceada65209bbccb8b547a01187cd1cbf04"
5072-
integrity sha512-I/LSX+tpeTrGKaF1wXSfJ/kP+6iaP2JfshEjW8LtQBdz6c6HhzOJtjZXhqOUrAdysuey8M1/JgPY1flSVVt8Ig==
5102+
react-devtools-core@^3.6.1:
5103+
version "3.6.3"
5104+
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-3.6.3.tgz#977d95b684c6ad28205f0c62e1e12c5f16675814"
5105+
integrity sha512-+P+eFy/yo8Z/UH9J0DqHZuUM5+RI2wl249TNvMx3J2jpUomLQa4Zxl56GEotGfw3PIP1eI+hVf1s53FlUONStQ==
50735106
dependencies:
50745107
shell-quote "^1.6.1"
50755108
ws "^3.3.1"
@@ -5079,10 +5112,10 @@ react-is@^16.8.1, react-is@^16.8.4, react-is@^16.8.6:
50795112
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
50805113
integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==
50815114

5082-
5083-
version "0.60.0"
5084-
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.60.0.tgz#f5302b6efe797c5f5fbdfebaba2ff174fc433890"
5085-
integrity sha512-Leo1MfUpQFCLchr60HCDZAk7M6Bd2yPplSDBuCrC9gUtsRO2P4nLxwrX6P+vbjF7Td2sQbcGqW2E809Oi41K0g==
5115+
5116+
version "0.60.3"
5117+
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.60.3.tgz#da010bc5b63201166562ddeff1cd3e07da34d1de"
5118+
integrity sha512-rUUUGYIzWwMkedfB8XxZ5TIt+qorQ70mJ08vsDTenQ16xalawOFqV34Jisdi4LgRGfQomdNWeY1Bd+H1A/dyBg==
50865119
dependencies:
50875120
"@babel/runtime" "^7.0.0"
50885121
"@react-native-community/cli" "^2.0.1"
@@ -5097,15 +5130,17 @@ [email protected]:
50975130
event-target-shim "^5.0.1"
50985131
fbjs "^1.0.0"
50995132
fbjs-scripts "^1.1.0"
5133+
hermesvm "^0.1.0"
51005134
invariant "^2.2.4"
51015135
jsc-android "245459.0.0"
51025136
metro-babel-register "0.54.1"
51035137
metro-react-native-babel-transformer "0.54.1"
5138+
metro-source-map "^0.55.0"
51045139
nullthrows "^1.1.0"
51055140
pretty-format "^24.7.0"
51065141
promise "^7.1.1"
51075142
prop-types "^15.7.2"
5108-
react-devtools-core "^3.6.0"
5143+
react-devtools-core "^3.6.1"
51095144
regenerator-runtime "^0.13.2"
51105145
scheduler "0.14.0"
51115146
stacktrace-parser "^0.1.3"
@@ -5942,7 +5977,7 @@ throat@^4.0.0, throat@^4.1.0:
59425977
resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a"
59435978
integrity sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=
59445979

5945-
through2@^2.0.0:
5980+
through2@^2.0.0, through2@^2.0.1:
59465981
version "2.0.5"
59475982
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
59485983
integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==
@@ -6220,6 +6255,11 @@ [email protected]:
62206255
core-util-is "1.0.2"
62216256
extsprintf "^1.2.0"
62226257

6258+
vlq@^1.0.0:
6259+
version "1.0.1"
6260+
resolved "https://registry.yarnpkg.com/vlq/-/vlq-1.0.1.tgz#c003f6e7c0b4c1edd623fd6ee50bbc0d6a1de468"
6261+
integrity sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==
6262+
62236263
w3c-hr-time@^1.0.1:
62246264
version "1.0.1"
62256265
resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045"

__tests__/bugReporting.spec.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -226,20 +226,6 @@ describe('Testing BugReporting Module', () => {
226226

227227
});
228228

229-
it('should invoke callback on emitting the event IBGDidSelectPromptOptionHandler', (done) => {
230-
231-
Platform.OS = 'ios';
232-
const payload = { promptOption: Instabug.promptOption.bug };
233-
const callback = (promptOption) => {
234-
expect(promptOption).toBe(payload.promptOption);
235-
done();
236-
}
237-
BugReporting.setDidSelectPromptOptionHandler(callback);
238-
IBGEventEmitter.emit(IBGConstants.DID_SELECT_PROMPT_OPTION_HANDLER, payload);
239-
240-
expect(IBGEventEmitter.getListeners(IBGConstants.DID_SELECT_PROMPT_OPTION_HANDLER).length).toEqual(1);
241-
});
242-
243229
it('should return on calling setDidSelectPromptOptionHandler when Platform is android', () => {
244230

245231
Platform.OS = 'android';

__tests__/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('Instabug Module', () => {
2424
const setTrackUserSteps = sinon.spy(NativeModules.Instabug, 'setTrackUserSteps');
2525
const setIBGLogPrintsToConsole = sinon.spy(NativeModules.Instabug, 'setIBGLogPrintsToConsole');
2626
const setSessionProfilerEnabled = sinon.spy(NativeModules.Instabug, 'setSessionProfilerEnabled');
27-
const setPushNotificationsEnabled = sinon.spy(NativeModules.Instabug, 'setPushNotificationsEnabled');
27+
const setPushNotificationsEnabled = sinon.spy(NativeModules.IBGReplies, 'setPushNotificationsEnabled');
2828
const setFloatingButtonEdge = sinon.spy(NativeModules.IBGBugReporting, 'setFloatingButtonEdge');
2929
const setLocale = sinon.spy(NativeModules.Instabug, 'setLocale');
3030
const setColorTheme = sinon.spy(NativeModules.Instabug, 'setColorTheme');

__tests__/replies.spec.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ describe('Replies Module', () => {
2020
const getUnreadMessagesCount = sinon.spy(NativeModules.IBGReplies, 'getUnreadRepliesCount');
2121
const setChatNotificationEnabled = sinon.spy(NativeModules.IBGReplies, 'setInAppNotificationEnabled');
2222
const setEnableInAppNotificationSound = sinon.spy(NativeModules.IBGReplies, 'setInAppNotificationSound');
23+
const setPushNotificationsEnabled = sinon.spy(NativeModules.IBGReplies, 'setPushNotificationsEnabled');
2324

2425
beforeEach(() => {
2526
setOnNewReplyReceivedCallback.resetHistory();
2627
setEnableInAppNotificationSound.resetHistory();
2728
IBGEventEmitter.removeAllListeners();
29+
setPushNotificationsEnabled.resetHistory();
2830
});
2931

3032
it('should call the native method setRepliesEnabled', () => {
@@ -113,5 +115,24 @@ describe('Replies Module', () => {
113115

114116
});
115117

118+
it('should call the native method setPushNotificationsEnabled', () => {
119+
120+
Platform.OS = 'ios';
121+
Replies.setPushNotificationsEnabled(true);
122+
123+
expect(setPushNotificationsEnabled.calledOnceWithExactly(true)).toBe(true);
124+
125+
});
126+
127+
128+
it('should not call the native method setPushNotificationsEnabled when platform is android', () => {
129+
130+
Platform.OS = 'android';
131+
Replies.setPushNotificationsEnabled(true);
132+
133+
expect(setPushNotificationsEnabled.notCalled).toBe(true);
134+
135+
});
136+
116137

117138
});
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1+
arguments=
2+
auto.sync=false
3+
build.scans.enabled=false
4+
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(5.4))
15
connection.project.dir=
26
eclipse.preferences.version=1
7+
gradle.user.home=
8+
java.home=
9+
jvm.arguments=
10+
offline.mode=false
11+
override.workspace.settings=true
12+
show.console.view=true
13+
show.executions.view=true

android/build.gradle

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

2828
dependencies {
2929
implementation 'com.facebook.react:react-native:+'
30-
api('com.instabug.library:instabug:8.5.0.17') {
30+
api('com.instabug.library:instabug:8.6.1.0') {
3131
exclude group: 'com.android.support:appcompat-v7'
3232
}
3333
testImplementation 'org.mockito:mockito-core:1.10.19'

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ static void registerCustomTextPlaceHolderKeysArgs(Map<String, Object> args) {
176176
args.put("emailFieldHint", InstabugCustomTextPlaceHolder.Key.EMAIL_FIELD_HINT);
177177
args.put("commentFieldHintForBugReport", InstabugCustomTextPlaceHolder.Key.COMMENT_FIELD_HINT_FOR_BUG_REPORT);
178178
args.put("commentFieldHintForFeedback", InstabugCustomTextPlaceHolder.Key.COMMENT_FIELD_HINT_FOR_FEEDBACK);
179+
args.put("commentFieldHintForQuestion", InstabugCustomTextPlaceHolder.Key.COMMENT_FIELD_HINT_FOR_QUESTION);
179180
args.put("addVoiceMessage", InstabugCustomTextPlaceHolder.Key.ADD_VOICE_MESSAGE);
180181
args.put("addImageFromGallery", InstabugCustomTextPlaceHolder.Key.ADD_IMAGE_FROM_GALLERY);
181182
args.put("addExtraScreenshot", InstabugCustomTextPlaceHolder.Key.ADD_EXTRA_SCREENSHOT);
@@ -202,6 +203,7 @@ static void registerCustomTextPlaceHolderKeysArgs(Map<String, Object> args) {
202203
static void registerInstabugReportTypesArgs(Map<String, Object> args) {
203204
args.put("bugReportingReportTypeBug", BugReporting.ReportType.BUG);
204205
args.put("bugReportingReportTypeFeedback", BugReporting.ReportType.FEEDBACK);
206+
args.put("bugReportingReportTypeQuestion", BugReporting.ReportType.QUESTION);
205207
}
206208

207209
static void registerInstabugExtendedBugReportModeArgs(Map<String, Object> args) {

0 commit comments

Comments
 (0)