Repository navigation
Commit d7557f0
Deprecate currentBridge API and drop its last internal uses (#59428)
Summary:
`+[RCTBridge currentBridge]` always returns nil and `setCurrentBridge:` is a no-op, so remove the two `RCTInstance` call sites and their now-dead private-header imports. Keep the declarations for Expo's Swift `RCTBridge.current()` caller and mark them deprecated.
Changelog: [Internal]
Differential Revision: D1272655791 parent 1511188 commit d7557f0
2 files changed
Lines changed: 3 additions & 4 deletions
File tree
- packages/react-native
- ReactCommon/react/runtime/platform/ios/ReactCommon
- React/Base
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
329 | 328 | | |
330 | 329 | | |
331 | 330 | | |
332 | | - | |
333 | 331 | | |
334 | 332 | | |
335 | 333 | | |
| |||
0 commit comments