Commit e6ae811
committed
Declare RCTBundleURLProviderAllowPackagerServerAccess unconditionally
The function is declared only under RCT_DEV_MENU |
RCT_PACKAGER_LOADING_FUNCTIONALITY, so it vanishes in Release and any
out-of-tree caller fails with "call to undeclared function" (broke
expo/expo Release CI, worked around in expo/expo#47688). Mirror the
RCTDevLoadingViewSetEnabled shape: unconditional declaration and
definition, every read of the flag stays gated, so builds without
packager support get a no-op instead of a compile error.1 parent e979b0e commit e6ae811
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments