Skip to content

Commit 17f2c8d

Browse files
committed
chore: remove deprecated enums
chore: remove deprecated strings chore: remove reportJSException chore: remove deprecated Instabug apis chore: remove deprecated log level apis chore: remove deprecated callback parameters chore: remove deprecated instabugUploadEnable Gradle property chore: remove deprecated features action type chore: remove deprecated enums Remove the following enums: - invalidCommentMessage: kIBGInvalidCommentMessageStringName - invalidCommentTitle: kIBGInvalidCommentTitleStringName chore: remove deprecated apis chore(ios): bump sdk to 12.1.0 docs: update changelog.md chore(android): bump sdk to 12.1.0 docs: update changelog.md
1 parent d1317c1 commit 17f2c8d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import com.instabug.bug.BugReporting;
66
import com.instabug.bug.invocation.Option;
77
import com.instabug.featuresrequest.ActionType;
8-
98
import com.instabug.library.InstabugColorTheme;
109
import com.instabug.library.InstabugCustomTextPlaceHolder.Key;
1110
import com.instabug.library.OnSdkDismissCallback.DismissType;

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ public String getName() {
3939

4040
/**
4141
* Sets the printed logs priority. Filter to one of the following levels.
42-
*
43-
* @param logLevel the priority level.
4442
*/
4543
@ReactMethod
4644
public void ibgSleep() {

android/src/test/java/com/instabug/reactlibrary/RNInstabugReactnativeModuleTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,19 +261,21 @@ public void tearDown() {
261261
public void givenArg$setReproStepsConfig_whenQuery_thenShouldCallNativeApiWithArg() {
262262
String bug = "reproStepsEnabled";
263263
String crash = "reproStepsDisabled";
264+
String sessionReplay = "reproStepsEnabled";
264265

265266
ReproConfigurations config = mock(ReproConfigurations.class);
266267
MockedConstruction<ReproConfigurations.Builder> mReproConfigurationsBuilder = mockConstruction(ReproConfigurations.Builder.class, (mock, context) -> {
267268
when(mock.setIssueMode(anyInt(), anyInt())).thenReturn(mock);
268269
when(mock.build()).thenReturn(config);
269270
});
270271

271-
rnModule.setReproStepsConfig(bug, crash);
272+
rnModule.setReproStepsConfig(bug, crash, sessionReplay);
272273

273274
ReproConfigurations.Builder builder = mReproConfigurationsBuilder.constructed().get(0);
274275

275276
verify(builder).setIssueMode(IssueType.Bug, ReproMode.EnableWithScreenshots);
276277
verify(builder).setIssueMode(IssueType.Crash, ReproMode.Disable);
278+
verify(builder).setIssueMode(IssueType.SessionReplay, ReproMode.EnableWithScreenshots);
277279
verify(builder).build();
278280

279281
mockInstabug.verify(() -> Instabug.setReproConfigurations(config));

0 commit comments

Comments
 (0)