Skip to content

[v9] Remove deprecated beforeScreenshot#2662

Merged
denrase merged 8 commits into
v9from
v9-remove-deprecated-before-screenshot
Feb 10, 2025
Merged

[v9] Remove deprecated beforeScreenshot#2662
denrase merged 8 commits into
v9from
v9-remove-deprecated-before-screenshot

Conversation

@denrase

@denrase denrase commented Feb 5, 2025

Copy link
Copy Markdown
Collaborator

📜 Description

Remove deprecated beforeScreenshot

💡 Motivation and Context

Closes #2642

💚 How did you test it?

Unit tests

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

@codecov

codecov Bot commented Feb 5, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.44%. Comparing base (0343b5a) to head (085599f).
Report is 1 commits behind head on v9.

Additional details and impacted files
@@            Coverage Diff             @@
##               v9    #2662      +/-   ##
==========================================
+ Coverage   89.07%   92.44%   +3.36%     
==========================================
  Files         262       90     -172     
  Lines        8887     2911    -5976     
==========================================
- Hits         7916     2691    -5225     
+ Misses        971      220     -751     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@denrase
denrase marked this pull request as ready for review February 5, 2025 13:46

@buenaflor buenaflor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! let's do the android api bump separately

Comment thread flutter/android/build.gradle Outdated
@denrase
denrase requested a review from buenaflor February 5, 2025 14:51
Comment thread metrics/prepare.sh
Comment on lines +22 to +24
# bump minSdkVersion to 21
gradleFile="$targetDir/perf-test-app-with-sentry/android/app/build.gradle"
sed "s/flutter.minSdkVersion/19/g" "$gradleFile" > "$gradleFile.new" && mv "$gradleFile.new" "$gradleFile"
sed "s/flutter.minSdkVersion/21/g" "$gradleFile" > "$gradleFile.new" && mv "$gradleFile.new" "$gradleFile"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can revert this as well right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not build with version 19, it seems most recent version of sentry-android does not support 19?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bildschirmfoto 2025-02-06 um 11 10 52

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yeah android bumped api from 19 to 21, let's leave it then. but we can do the minSDK bump separately

@denrase
denrase requested a review from buenaflor February 6, 2025 12:39
@denrase
denrase merged commit 5bf38c2 into v9 Feb 10, 2025
@denrase
denrase deleted the v9-remove-deprecated-before-screenshot branch February 10, 2025 09:45
@vaind vaind mentioned this pull request Feb 18, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants