Skip to content

fix(android): replace onCatalystInstanceDestroy with invalidate #1124

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

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

tido64
Copy link
Member

@tido64 tido64 commented Jul 18, 2024

Summary

onCatalystInstanceDestroy was removed in 0.74, replaced by invalidate.

However, invalidate was introduced in 0.65: facebook/react-native@18c8417#diff-736ae7997f3da9751f0f5cf756d8ce4401190bda205c894acc77efe959bd1ecb

And our package.json says we still support 0.60:

"react-native": "^0.0.0-0 || >=0.60 <1.0"

In order to make this change, we will also need to bump the minimum version to 0.65. This means we will have to make a major release.

Resolves #1106.

Test Plan

CI should pass.

@tido64 tido64 requested a review from krizzu as a code owner July 18, 2024 13:03
Copy link

changeset-bot bot commented Jul 18, 2024

🦋 Changeset detected

Latest commit: 5e63a73

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@react-native-async-storage/async-storage Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tido64 tido64 force-pushed the tido/support-0.74 branch from 63a7339 to 5e63a73 Compare July 18, 2024 13:05
@tido64 tido64 merged commit c319205 into main Jul 19, 2024
8 checks passed
@tido64 tido64 deleted the tido/support-0.74 branch July 19, 2024 05:56
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.

ReactNative 0.74 remove internal references of onCatalystInstanceDestroy
2 participants