Skip to content

Conversation

@arushikesarwani94
Copy link
Contributor

@arushikesarwani94 arushikesarwani94 commented Apr 30, 2024

Summary:
In #43520, this was moved to supply with the relevant DevSupportManager, however this check for useDeveloperSupport is already part of https://github.com/facebook/react-native/blob/0.74-stable/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java#L263

https://github.com/facebook/react-native/blob/0.74-stable/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/DefaultDevSupportManagerFactory.java#L68-L70

Having this check here was causing early exit for Bridge RELEASE mode instead of returning the ReleaseDevSupportManager.

Changelog:
[ANDROID][FIXED] - Fixed getDevSupportManager() in ReactDelegate

Differential Revision: D56739764

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Apr 30, 2024
Summary:
In facebook#43520, this was moved to supply with the relevant DevSupportManager, however in Bridge mode in case of RELEASE(useDeveloperSupport = false), it would not provide BridgeDevSupportManager because of this check.

Changelog:
[ANDROID][FIXED] - Fixed `getDevSupportManager()` in ReactDelegate

Differential Revision: D56739764
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 19,429,386 -6
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 22,801,922 +10
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 9cfc71d
Branch: main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants