Skip to content

Commit af5f0c2

Browse files
abdelhamid-f-nasserHeshamMegid
authored andcommitted
fix(ios): enable screenshots for crashes & sessions (#407)
Jira ID: [IBGCRASH-20557](https://instabug.atlassian.net/browse/IBGCRASH-20557)
1 parent 3cc86ed commit af5f0c2

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- Bump Instabug iOS SDK to v12.2.0 ([#406](https://github.com/Instabug/Instabug-Flutter/pull/406)). [See release notes](https://github.com/instabug/instabug-ios/releases/tag/12.2.0).
88
- Bump Instabug Android SDK to v12.2.0 ([#405](https://github.com/Instabug/Instabug-Flutter/pull/405)). [See release notes](https://github.com/Instabug/Instabug-Android/releases/tag/v12.2.0).
99

10+
### Fixed
11+
12+
- Re-enable screenshot capturing for Crash Reporting and Session Replay by removing redundant mapping ([#407](https://github.com/Instabug/Instabug-Flutter/pull/407)).
13+
1014
## [12.1.0](https://github.com/Instabug/Instabug-Flutter/compare/v12.1.0...v11.14.0)
1115

1216
### Added

lib/src/modules/instabug.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -383,14 +383,6 @@ class Instabug {
383383
sessionReplayMode = all;
384384
}
385385

386-
// There's an issue with crashes repro steps with screenshots in the iOS SDK
387-
// at the moment, so we'll map enabled with screenshots to enabled with no
388-
// screenshots to avoid storing the images on disk if it's not needed until
389-
// this issue is fixed in a future version.
390-
if (IBGBuildInfo.I.isIOS && crashMode == ReproStepsMode.enabled) {
391-
crashMode = ReproStepsMode.enabledWithNoScreenshots;
392-
}
393-
394386
return _host.setReproStepsConfig(
395387
bugMode.toString(),
396388
crashMode.toString(),

0 commit comments

Comments
 (0)