Commit 3c149e4
authored
Fix nightly builds (#2872)
# Summary
Fixes build issue with latest react-native nightlies by passing
`std::shared_ptr<RCTImageResponseObserverProxy>` to the
`observerCoordinator::removeObserver` and
`observerCoordinator::addObserver`. Interfaces of these methods were
changed in this
[commit](facebook/react-native@3b46755).
The fix is backward compatible with older versions of react native.
## Test Plan
Tested on latest react native nightly
`0.85.0-nightly-20260218-51dc568d2`.1 parent 8cdf01b commit 3c149e4
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
125 | 128 | | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
132 | 139 | | |
| 140 | + | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
| |||
0 commit comments