val defaultDisplay: Display is deprecated
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
Research direction
Start in android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt at line 199 and reproduce the Android build warning from the issue. Check the deprecated defaultDisplay usage and verify the change by rebuilding the Android application; done means the warning no longer appears.
Written by the indexing model from the issue text.
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- building Android application
- get the warning:
SentryFlutterPlugin.kt:199:15: warning: 'val defaultDisplay: Display!' is deprecated. Deprecated in Java. exception: ?.defaultDisplay exception
Expected Result
There is no warning
Actual Result
exception: c:\Users\User\AppData\Local\Pub\Cache\hosted\pub.dev\sentry_flutter-9.16.0\android\src\main\kotlin\io\sentry\flutter\SentryFlutterPlugin.kt:199:15: warning: 'val defaultDisplay: Display!' is deprecated. Deprecated in Java.
exception: ?.defaultDisplay
exception: ^^^^^^^^^^^^^^
Product Area
Other
Link
No response
DSN
No response
Version
No response
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 17m
- Merged PRs (30d)
- 579
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry
-
Bug Cocoa Replays
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Bug Product Area: Ingestion and Filtering Spans
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Bug Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Product Area: Settings - Auth Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Bug Good First Issue Product Area: Settings - Integrations
Difficulty 1/5 Under an hour Newbie friendliness 90/100
All issues in getsentry/sentry
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100