Page MenuHomePhabricator

[native] Allow getDevServerHostname to be called from release mode
ClosedPublic

Authored by ashoat on Nov 20 2022, 11:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 13, 12:00 PM
Unknown Object (File)
May 10 2024, 8:56 PM
Unknown Object (File)
Apr 15 2024, 2:31 AM
Unknown Object (File)
Apr 15 2024, 2:31 AM
Unknown Object (File)
Apr 15 2024, 2:30 AM
Unknown Object (File)
Apr 15 2024, 2:25 AM
Unknown Object (File)
Mar 2 2024, 5:09 AM
Unknown Object (File)
Feb 28 2024, 12:30 AM
Subscribers
None

Details

Summary

We don't actually have any code that does this, but I was debugging a release build and wanted to use Reactrotron. Uncommenting the release condition around native/reactrotron.js led to this invariant firing, which I thought was kinda unnecessary.

Test Plan

Confirm the invariant no longer fires after uncommenting the release condition around native/reactotron.js

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/reactotron
Lint
No Lint Coverage
Unit
No Test Coverage