Restore getUIImplementation() stub for backwards compatibility#55798
Closed
sammy-SC wants to merge 1 commit intofacebook:mainfrom
Closed
Restore getUIImplementation() stub for backwards compatibility#55798sammy-SC wants to merge 1 commit intofacebook:mainfrom
sammy-SC wants to merge 1 commit intofacebook:mainfrom
Conversation
Summary: D93806249 removed `getUIImplementation()` from `UIManagerModule` as part of the Legacy Architecture cleanup. However, third-party libraries like `react-native-safe-area-context` still reference this method, causing build failures in the e2e template app tests (https://github.com/facebook/react-native/actions/runs/22461280936/job/65112346970) This restores the method as a deprecated stub that returns `null`, maintaining backwards compatibility while keeping the Legacy Architecture cleanup intact. Libraries that depend on this method will need to handle the `null` return value or update to newer versions that don't use this deprecated API. Changelog: [Android][Fixed] - Restore getUIImplementation() stub for backwards compatibility with third-party libraries Reviewed By: cipolleschi Differential Revision: D94654682
sammy-SC
added a commit
to sammy-SC/react-native
that referenced
this pull request
Feb 27, 2026
…ook#55798) Summary: D93806249 removed `getUIImplementation()` from `UIManagerModule` as part of the Legacy Architecture cleanup. However, third-party libraries like `react-native-safe-area-context` still reference this method, causing build failures in the e2e template app tests (https://github.com/facebook/react-native/actions/runs/22461280936/job/65112346970) This restores the method as a deprecated stub that returns `null`, maintaining backwards compatibility while keeping the Legacy Architecture cleanup intact. Libraries that depend on this method will need to handle the `null` return value or update to newer versions that don't use this deprecated API. Changelog: [Android][Fixed] - Restore getUIImplementation() stub for backwards compatibility with third-party libraries Reviewed By: cipolleschi Differential Revision: D94654682
|
This pull request has been merged in e5d2d95. |
Collaborator
|
This pull request was successfully merged by @sammy-SC in e5d2d95 When will my fix make it into a release? | How to file a pick request? |
zoontek
pushed a commit
to zoontek/react-native
that referenced
this pull request
Mar 9, 2026
…ook#55798) Summary: Pull Request resolved: facebook#55798 D93806249 removed `getUIImplementation()` from `UIManagerModule` as part of the Legacy Architecture cleanup. However, third-party libraries like `react-native-safe-area-context` still reference this method, causing build failures in the e2e template app tests (https://github.com/facebook/react-native/actions/runs/22461280936/job/65112346970) This restores the method as a deprecated stub that returns `null`, maintaining backwards compatibility while keeping the Legacy Architecture cleanup intact. Libraries that depend on this method will need to handle the `null` return value or update to newer versions that don't use this deprecated API. Changelog: [Android][Fixed] - Restore getUIImplementation() stub for backwards compatibility with third-party libraries Reviewed By: cipolleschi Differential Revision: D94654682 fbshipit-source-id: b00bccb74ef8a2c39005630fcabe6c3ad1702206
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
D93806249 removed
getUIImplementation()fromUIManagerModuleas part of theLegacy Architecture cleanup. However, third-party libraries like
react-native-safe-area-contextstill reference this method, causing buildfailures in the e2e template app tests (https://github.com/facebook/react-native/actions/runs/22461280936/job/65112346970)
This restores the method as a deprecated stub that returns
null, maintainingbackwards compatibility while keeping the Legacy Architecture cleanup intact.
Libraries that depend on this method will need to handle the
nullreturn valueor update to newer versions that don't use this deprecated API.
Changelog: [Android][Fixed] - Restore getUIImplementation() stub for backwards compatibility with third-party libraries
Reviewed By: cipolleschi
Differential Revision: D94654682