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
F3492298: D5692.diff
Wed, Dec 18, 10:59 PM
Unknown Object (File)
Tue, Nov 19, 3:11 AM
Unknown Object (File)
Nov 18 2024, 7:59 PM
Unknown Object (File)
Nov 18 2024, 6:27 PM
Unknown Object (File)
Nov 18 2024, 3:56 PM
Unknown Object (File)
Nov 15 2024, 8:24 PM
Unknown Object (File)
Nov 15 2024, 11:59 AM
Unknown Object (File)
Oct 26 2024, 8:55 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable