Skip to content

[v9]: Replace custom Platform & PlatformChecker with package platform #2729

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

Closed
wants to merge 5 commits into from

Conversation

denrase
Copy link
Collaborator

@denrase denrase commented Feb 18, 2025

📜 Description

Replace Platform

💡 Motivation and Context

Relates to #2646

💚 How did you test it?

📝 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

🔮 Next steps

Copy link
Contributor

github-actions bot commented Feb 18, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Replace custom Platform & PlatformChecker with package platform ([#2729](https://github.com/getsentry/sentry-dart/pull/2729))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against bfb92a3

Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.05%. Comparing base (dd80448) to head (bfb92a3).

Additional details and impacted files
@@            Coverage Diff             @@
##               v9    #2729      +/-   ##
==========================================
- Coverage   88.62%   87.05%   -1.57%     
==========================================
  Files         263      121     -142     
  Lines        8761     4157    -4604     
==========================================
- Hits         7764     3619    -4145     
+ Misses        997      538     -459     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@buenaflor
Copy link
Contributor

can we close this? @denrase

@denrase
Copy link
Collaborator Author

denrase commented Mar 12, 2025

@buenaflor Let me merge in v9 and then we can.

denrase added 2 commits March 12, 2025 15:02
# Conflicts:
#	dart/lib/src/platform/_io_platform.dart
#	dart/lib/src/platform/_web_platform.dart
#	dart/lib/src/platform/platform.dart
#	dart/lib/src/runtime_checker.dart
#	dart/test/mocks/mock_platform.dart
#	dart/test/mocks/mock_platform_checker.dart
#	flutter/test/mocks.dart
#	flutter/test/profiling_test.dart
#	flutter/test/sentry_flutter_test.dart
#	flutter/test/sentry_native_channel_test.dart
@denrase
Copy link
Collaborator Author

denrase commented Mar 12, 2025

@buenaflor Ah, though this was another PR. This is will not be implementd, yeah.

@denrase denrase closed this Mar 12, 2025
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