Skip to content
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

feat!: remove shouldUseActivityState flag #2414

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Oct 17, 2024

Description

This PR removes shouldUseActivityState flag from public API (and in general).

The flag was initially introduced in #624, as a mean for downstream library developers
to differentiate between different screen versions. This was introduced over 4 years ago
and currently does not serve any role in react-navigation implementation.

Changes

  • Removed shouldUseActivityState flag from public API,
  • added comment for compatibilityFlags object.

Test code and steps to reproduce

N/A

Checklist

  • Ensured that CI passes

I've checked - this is no longer used in neither native-stack v5,
react-navigation/native-stack@v6 nor v7.
Copy link
Member

@alduzy alduzy left a comment

Choose a reason for hiding this comment

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

LGTM!
I found a commit that removed it from navigation: react-navigation/react-navigation@64bcd58

Copy link
Contributor

@maciekstosio maciekstosio left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@WoLewicki WoLewicki left a comment

Choose a reason for hiding this comment

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

It was only needed for react-navigation, so if it's no longer used in the supported versions, then let's merge it.

@kkafar kkafar merged commit cb759f6 into main Oct 17, 2024
3 checks passed
@kkafar kkafar deleted the @kkafar/unify-compatibility-flags branch October 17, 2024 14:22
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.

4 participants