Commit 75eaff4
RCTReactNativeFactory remove RCTBridge methods and bridge property (facebook#57067)
Summary:
Pull Request resolved: facebook#57067
Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.
Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.
## Changelog:
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header
Reviewed By: andrewdacenko
Differential Revision: D107417684
fbshipit-source-id: 2f6f66a49502250c15c5c62d9abbbdfe10884d551 parent 6eb07a8 commit 75eaff4
7 files changed
Lines changed: 0 additions & 76 deletions
File tree
- packages/react-native/Libraries/AppDelegate
- scripts/cxx-api/api-snapshots
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 43 | | |
49 | 44 | | |
50 | 45 | | |
| |||
Lines changed: 0 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 34 | | |
40 | 35 | | |
41 | 36 | | |
| |||
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 55 | | |
76 | 56 | | |
77 | 57 | | |
| |||
Lines changed: 0 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 49 | | |
83 | 50 | | |
84 | 51 | | |
| |||
107 | 74 | | |
108 | 75 | | |
109 | 76 | | |
110 | | - | |
111 | | - | |
112 | 77 | | |
113 | 78 | | |
114 | 79 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | 241 | | |
250 | 242 | | |
251 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1583 | 1583 | | |
1584 | 1584 | | |
1585 | 1585 | | |
1586 | | - | |
1587 | 1586 | | |
1588 | 1587 | | |
1589 | 1588 | | |
| |||
2980 | 2979 | | |
2981 | 2980 | | |
2982 | 2981 | | |
2983 | | - | |
2984 | | - | |
2985 | 2982 | | |
2986 | 2983 | | |
2987 | 2984 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2967 | 2967 | | |
2968 | 2968 | | |
2969 | 2969 | | |
2970 | | - | |
2971 | | - | |
2972 | 2970 | | |
2973 | 2971 | | |
2974 | 2972 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1583 | 1583 | | |
1584 | 1584 | | |
1585 | 1585 | | |
1586 | | - | |
1587 | 1586 | | |
1588 | 1587 | | |
1589 | 1588 | | |
| |||
2980 | 2979 | | |
2981 | 2980 | | |
2982 | 2981 | | |
2983 | | - | |
2984 | | - | |
2985 | 2982 | | |
2986 | 2983 | | |
2987 | 2984 | | |
| |||
0 commit comments