Skip to content

BaseActivity.Current should be nullable  #18573

Description

@morning4coffe-dev

The BaseActivity.Current is defined as a non-nullable property, but in certain scenarios, such as when the app is in the background, it returns null.

Why is the return value marked as non-nullable when it can potentially return null in these cases? Shouldn't this property be marked as nullable to prevent potential crashes?

Originally posted by @EricKwon94 in #18566

Activity

  1. github-actions commented on May 7, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  2. added
    stale
    on May 7, 2026
  3. added
    kind/breaking-change 💥
    and removed
    stale
    on May 9, 2026
  4. github-actions commented on Sep 7, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  5. added
    stale
    on Sep 7, 2026
  6. github-actions commented on Sep 19, 2026

    @github-actions
    Contributor

    This issue was closed because it had no activity for 10 days after being marked as stale. If you believe this is still relevant, feel free to reopen it or open a new issue with updated context.

  7. removed
    stale
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/breaking-change 💥kind/enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions