-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace toImage
with toImageSync
for Flutter >= 3.7
#1268
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## v7.0.0 #1268 +/- ##
===========================================
- Coverage 88.73% 76.10% -12.64%
===========================================
Files 122 12 -110
Lines 3818 318 -3500
===========================================
- Hits 3388 242 -3146
+ Misses 430 76 -354
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@marandaneto Interestingly, the compiler does complain with Flutter |
Is the compiler or just the IDE linter? if you can run, its not a compiler issue and this should be fine. |
I think it complains because Calling something on dynamic disables any typechecks, so return values are dynamic too. |
@denrase this one still has pending comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If CI is happy, we can merge it, thanks.
@denrase we can fix the conflict and merge it if CI is happy |
# Conflicts: # flutter/lib/src/event_processor/screenshot_event_processor.dart
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
- Replace `toImage` with `toImageSync` for Flutter >= 3.7 ([#1268](https://github.com/getsentry/sentry-dart/pull/1268)) If none of the above apply, you can opt out of this check by adding |
📜 Description
Closes #1246
💚 How did you test it?
Ran example app on Flutter 3.3.x and 3.7.x and checked if triggering error attached a screenshot.
📝 Checklist
sendDefaultPii
is enabled