Commit 90e1610
authored
fix: rn 0.85 compatibility (#3545)
## 🎯 Goal
This PR takes care of some general housekeeping for the incoming V9.
Namely, we:
- Bump back the `bottom-sheet` library's version to latest, as it
addresses the issues we had before
- It also cancels the need of a monkey patch any longer, so we can avoid
doing that as well
- Converts all `StyleSheet.absoluteFillObject` entries to
`StyleSheet.absoluteFill`
- We need to do this due to [this breaking
change](https://reactnative.dev/blog/2026/04/07/react-native-0.85#stylesheetabsolutefillobject-removed)
for RN `0.85`
- Destructuring no longer works, so we flatten those styles
- Direct usage is still allowed
- Where not directly applicable, we create our own `absoluteFillObject`s
and use those (not the cleanest but it'll do for now)
With this, we should be RN `0.85` compatible as well.
## 🛠 Implementation details
<!-- Provide a description of the implementation -->
## 🎨 UI Changes
<!-- Add relevant screenshots -->
<details>
<summary>iOS</summary>
<table>
<thead>
<tr>
<td>Before</td>
<td>After</td>
</tr>
</thead>
<tbody>
<tr>
<td>
<!--<img src="" /> -->
</td>
<td>
<!--<img src="" /> -->
</td>
</tr>
</tbody>
</table>
</details>
<details>
<summary>Android</summary>
<table>
<thead>
<tr>
<td>Before</td>
<td>After</td>
</tr>
</thead>
<tbody>
<tr>
<td>
<!--<img src="" /> -->
</td>
<td>
<!--<img src="" /> -->
</td>
</tr>
</tbody>
</table>
</details>
## 🧪 Testing
<!-- Explain how this change can be tested (or why it can't be tested)
-->
## ☑️ Checklist
- [ ] I have signed the [Stream
CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform)
(required)
- [ ] PR targets the `develop` branch
- [ ] Documentation is updated
- [ ] New code is tested in main example apps, including all possible
scenarios
- [ ] SampleApp iOS and Android
- [ ] Expo iOS and Android1 parent 7a7f927 commit 90e1610
20 files changed
Lines changed: 94 additions & 393 deletions
File tree
- examples/SampleApp
- src/components
- package
- bin
- __tests__
- src
- components
- AttachmentPicker/components/AttachmentMediaPicker
- Attachment
- Giphy
- ChannelList
- ImageGallery
- MessageInput/components/AttachmentPreview
- Reply
- ThreadList
- UIComponents
- contexts/overlayContext
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
116 | 124 | | |
117 | 125 | | |
118 | 126 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 127 | + | |
126 | 128 | | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
488 | 491 | | |
489 | 492 | | |
490 | 493 | | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 17 | + | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
| |||
251 | 246 | | |
252 | 247 | | |
253 | 248 | | |
254 | | - | |
| 249 | + | |
255 | 250 | | |
256 | 251 | | |
257 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
1632 | | - | |
1633 | | - | |
1634 | | - | |
1635 | | - | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
1636 | 1636 | | |
1637 | 1637 | | |
1638 | 1638 | | |
| |||
Lines changed: 0 additions & 80 deletions
This file was deleted.
0 commit comments