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
F2080510: D5692.id18708.diff
Sat, Jun 22, 7:41 PM
Unknown Object (File)
Fri, Jun 21, 3:21 AM
Unknown Object (File)
Thu, Jun 20, 2:17 PM
Unknown Object (File)
Wed, Jun 19, 7:20 AM
Unknown Object (File)
Sat, Jun 15, 11:54 PM
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
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