Skip to content

Commit 49c6074

Browse files
alyezzHeshamMegid
andauthored
[Feature] - Repro Steps and Current View (#86)
* ✨ Adds Android repro steps * 📝 adds android report screen change api * 📝 Adds setReproStepsMode mapping and enum * 📝 update android sdk version * 📝 updates changelog * 🔥 remove unneeded methods * 📝rename import * Update CHANGELOG.md Co-Authored-By: Hesham Abd-Elmegid <[email protected]> * 📝 handling exceptions * Adds iOS APIs * Add new iOS api * Add new android platform API * Handling fast screen transitions * Add iOS and Android snapshots * revert custom builds * rename variables * Add try catch for race condition * Add log for debugging * Bump native SDKs * lint Co-authored-by: Hesham Abd-Elmegid <[email protected]>
1 parent 3da4f5e commit 49c6074

File tree

9 files changed

+355
-163
lines changed

9 files changed

+355
-163
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
## master
1+
## Master
22

33
* Adds setShakingThresholdForiPhone, setShakingThresholdForiPad and setShakingThresholdForAndroid APIs
44
* Added Proguard rules to protect Flutter bridge class and method names from getting obfuscated when the minifyEnabled flag is set to true.
55

6+
67
## v9.1.0 (2020-03-19)
78

89
* Bump Native SDKs to v9.1

android/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ android {
3333
disable 'InvalidPackage'
3434
}
3535
}
36-
3736
dependencies {
38-
implementation 'com.instabug.library:instabug:9.1.0.0'
37+
implementation 'com.instabug.library:instabug:9.1.6.0'
3938
testImplementation 'junit:junit:4.12'
4039
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import com.instabug.library.InstabugColorTheme;
77
import com.instabug.library.InstabugCustomTextPlaceHolder;
88
import com.instabug.library.extendedbugreport.ExtendedBugReport;
9+
import com.instabug.library.visualusersteps.State;
910

1011
import java.util.HashMap;
1112
import java.util.Locale;
@@ -57,6 +58,7 @@ final class ArgsRegistry {
5758
registerInstabugReportTypesArgs(ARGS);
5859
registerInstabugExtendedBugReportModeArgs(ARGS);
5960
registerInstabugActionTypesArgs(ARGS);
61+
registerReproStepsModeArgs(ARGS);
6062
}
6163

6264
/**
@@ -204,4 +206,10 @@ static void registerInstabugActionTypesArgs(Map<String, Object> args) {
204206
args.put("ActionType.addCommentToFeature",ActionType.ADD_COMMENT_TO_FEATURE);
205207
}
206208

209+
static void registerReproStepsModeArgs(Map<String, Object> args) {
210+
args.put("ReproStepsMode.enabled", State.ENABLED);
211+
args.put("ReproStepsMode.disabled", State.DISABLED);
212+
args.put("ReproStepsMode.enabledWithNoScreenshots",State.ENABLED_WITH_NO_SCREENSHOTS);
213+
}
214+
207215
}

0 commit comments

Comments
 (0)