Commit 1d93455
fix(ios): resolve native asset registration issues in New Architecture
This commit fixes an issue where native ad assets could not be found via their react tags when the New Architecture (Fabric) was enabled.
- Added a recursive findViewByTag:inView: helper method to navigate the view hierarchy.
- Updated registerAsset:reactTag: to use the new lookup logic in New Architecture.
- The lookup now searches within both the _nativeAdView and the component itself.1 parent e7bc2cc commit 1d93455
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
107 | 124 | | |
108 | 125 | | |
109 | 126 | | |
| |||
128 | 145 | | |
129 | 146 | | |
130 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
131 | 154 | | |
| 155 | + | |
132 | 156 | | |
133 | 157 | | |
134 | 158 | | |
| |||
0 commit comments