Skip to content

Commit 7f0fe8a

Browse files
committed
Merge branch 'develop' of github.com:GetStream/stream-chat-react-native into develop
2 parents 5e84ba9 + f1f208a commit 7f0fe8a

File tree

7 files changed

+191
-132
lines changed

7 files changed

+191
-132
lines changed

examples/TypeScriptMessaging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"devDependencies": {
3939
"@babel/core": "^7.27.4",
4040
"@babel/runtime": "^7.27.6",
41-
"@react-native-community/cli": "19.1.1",
41+
"@react-native-community/cli": "19.1.2",
4242
"@react-native-community/cli-platform-android": "19.1.1",
4343
"@react-native-community/cli-platform-ios": "19.1.1",
4444
"@react-native/babel-preset": "0.80.2",

examples/TypeScriptMessaging/yarn.lock

Lines changed: 126 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,12 +1482,12 @@
14821482
resolved "https://registry.yarnpkg.com/@react-native-clipboard/clipboard/-/clipboard-1.16.2.tgz#d8517eea937d336b8fe1ca44e955e691d27f5ba4"
14831483
integrity sha512-VqUYwVxo7DyHMz7v2LxLMaAOSu3pKFvzpqR4jQezdH0VyaudILTTcUf7dR4TroARU/lLkTU8nZA11UniTvGVXg==
14841484

1485-
"@react-native-community/[email protected].1":
1486-
version "19.1.1"
1487-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-19.1.1.tgz#574ada0956ac506431a84e45b5fa36f22b9a510d"
1488-
integrity sha512-pP7SmK+PNw5B1Aa2c6y06FBNc9iGah/leFFM2uewpyZRJQ4zycX6Zz1UANpq9YZfp65n7NZKV9Gct2uaVRuP/Q==
1485+
"@react-native-community/[email protected].2":
1486+
version "19.1.2"
1487+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-19.1.2.tgz#10be56a6ab966c141090176e54937cb7b7618a9b"
1488+
integrity sha512-LI/bTLtosbDyHtIs+HxlmHp+5Nbjz+IIEEqrBO2tUeA+ENX01YEnIgGIv4z7giNWkHSiqywjdOyYNqg27ydy2g==
14891489
dependencies:
1490-
"@react-native-community/cli-tools" "19.1.1"
1490+
"@react-native-community/cli-tools" "19.1.2"
14911491
chalk "^4.1.2"
14921492
execa "^5.0.0"
14931493
fast-glob "^3.3.2"
@@ -1502,6 +1502,16 @@
15021502
fast-glob "^3.3.2"
15031503
fast-xml-parser "^4.4.1"
15041504

1505+
"@react-native-community/[email protected]":
1506+
version "19.1.2"
1507+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config-android/-/cli-config-android-19.1.2.tgz#f8a03a0a49cd89a4e6bffed46396b3a2ea7690df"
1508+
integrity sha512-IIhzhDUmT53RT45Qrxc/OfvkTD4U7IrfkfoIdKmBT6O0X0QaoegK4OE6aAuc86D2GXlD5rbVcPMSuN4TY8Hmlw==
1509+
dependencies:
1510+
"@react-native-community/cli-tools" "19.1.2"
1511+
chalk "^4.1.2"
1512+
fast-glob "^3.3.2"
1513+
fast-xml-parser "^4.4.1"
1514+
15051515
"@react-native-community/[email protected]":
15061516
version "19.1.1"
15071517
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config-apple/-/cli-config-apple-19.1.1.tgz#f805588235f1504546ab26dfeb708e20d4e144b0"
@@ -1512,28 +1522,38 @@
15121522
execa "^5.0.0"
15131523
fast-glob "^3.3.2"
15141524

1515-
"@react-native-community/[email protected].1":
1516-
version "19.1.1"
1517-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-19.1.1.tgz#566fab3438a8d90ec8976927b7030f3a1f1d3d8a"
1518-
integrity sha512-qGLYCFf3whCa/we3iKd5BY4RlcAUhSykwGpnJpjseXLaI5iJzIn/IMd70EBG8QvhV/KQxM7VFMQj6KgGcoNKYg==
1525+
"@react-native-community/cli-config-apple@19.1.2":
1526+
version "19.1.2"
1527+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config-apple/-/cli-config-apple-19.1.2.tgz#d251fc18043f2e202d681a8ac911b8b1688409f4"
1528+
integrity sha512-91upuYMLgEtJE6foWQFgGDpT3ZDTc5bX6rMY5cJMqiAE5svgh1q0kbbpRuv/ptBYzcxLplL7wZWpA77TlJdm9A==
15191529
dependencies:
1520-
"@react-native-community/cli-tools" "19.1.1"
1530+
"@react-native-community/cli-tools" "19.1.2"
1531+
chalk "^4.1.2"
1532+
execa "^5.0.0"
1533+
fast-glob "^3.3.2"
1534+
1535+
"@react-native-community/[email protected]":
1536+
version "19.1.2"
1537+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-19.1.2.tgz#d6432c3100d2a7cb1e92d47b39bf3688fd712970"
1538+
integrity sha512-o0cc6R6r9nY9MiLFeLIN797fBLWwKW9cee/NCm6nBBzPk/paro6HEbcXE02xnVzMb+nhQPrbPOzp3qE7WhtwRA==
1539+
dependencies:
1540+
"@react-native-community/cli-tools" "19.1.2"
15211541
chalk "^4.1.2"
15221542
cosmiconfig "^9.0.0"
15231543
deepmerge "^4.3.0"
15241544
fast-glob "^3.3.2"
15251545
joi "^17.2.1"
15261546

1527-
"@react-native-community/[email protected].1":
1528-
version "19.1.1"
1529-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-19.1.1.tgz#e09749815f0baea17e4fc04b9897051829149f42"
1530-
integrity sha512-P6JgTpa8fn6SfGiotyRhiCqBlRlKx8MUUdMESPGyPzvMb8omz+Jv0ibdNg9CVT11/0x5oRsoGv07os/o+Eg0zQ==
1547+
"@react-native-community/[email protected].2":
1548+
version "19.1.2"
1549+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-19.1.2.tgz#b318d000a12d029d65f829aba5e6f14f5c6132b8"
1550+
integrity sha512-uUV/1QrWA1Cx7dqkTCcarqfya/7gBmKXd9BzVCEl6bzAn1jd1Q5UaZ+DmZgAoLVKlbAjpPTJTfqjD44aqUdjyA==
15311551
dependencies:
1532-
"@react-native-community/cli-config" "19.1.1"
1533-
"@react-native-community/cli-platform-android" "19.1.1"
1534-
"@react-native-community/cli-platform-apple" "19.1.1"
1535-
"@react-native-community/cli-platform-ios" "19.1.1"
1536-
"@react-native-community/cli-tools" "19.1.1"
1552+
"@react-native-community/cli-config" "19.1.2"
1553+
"@react-native-community/cli-platform-android" "19.1.2"
1554+
"@react-native-community/cli-platform-apple" "19.1.2"
1555+
"@react-native-community/cli-platform-ios" "19.1.2"
1556+
"@react-native-community/cli-tools" "19.1.2"
15371557
chalk "^4.1.2"
15381558
command-exists "^1.2.8"
15391559
deepmerge "^4.3.0"
@@ -1556,6 +1576,17 @@
15561576
execa "^5.0.0"
15571577
logkitty "^0.7.1"
15581578

1579+
"@react-native-community/[email protected]":
1580+
version "19.1.2"
1581+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-19.1.2.tgz#72d3dd69730a18373c4185f1f17e65c49fbc2b39"
1582+
integrity sha512-eMryTlSSTl3JK/tZTaMaMgHec9qu+eQj+3A15qmBdj2ac3p/hiauwAe4q35rz5XABw1cJCuyn+s469YsdTllaw==
1583+
dependencies:
1584+
"@react-native-community/cli-config-android" "19.1.2"
1585+
"@react-native-community/cli-tools" "19.1.2"
1586+
chalk "^4.1.2"
1587+
execa "^5.0.0"
1588+
logkitty "^0.7.1"
1589+
15591590
"@react-native-community/[email protected]":
15601591
version "19.1.1"
15611592
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-apple/-/cli-platform-apple-19.1.1.tgz#931c85425e53ea67627adcace06a6bbc676f0448"
@@ -1567,19 +1598,37 @@
15671598
execa "^5.0.0"
15681599
fast-xml-parser "^4.4.1"
15691600

1601+
"@react-native-community/[email protected]":
1602+
version "19.1.2"
1603+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-apple/-/cli-platform-apple-19.1.2.tgz#42f8eb69e870f132ffa1383930c53c93b4949783"
1604+
integrity sha512-TtaF8Pyrs4dnIH3LTvuPnPjGDsSVaZLu+8s4y5bngzZIf9r7M/HJTlpnhm8+bQPsahxNhNQZBGUBrQJqfmg7Ww==
1605+
dependencies:
1606+
"@react-native-community/cli-config-apple" "19.1.2"
1607+
"@react-native-community/cli-tools" "19.1.2"
1608+
chalk "^4.1.2"
1609+
execa "^5.0.0"
1610+
fast-xml-parser "^4.4.1"
1611+
15701612
"@react-native-community/[email protected]":
15711613
version "19.1.1"
15721614
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-19.1.1.tgz#c3e8eb512530469fc6d48881f5265af3f0c2c63f"
15731615
integrity sha512-QHw/eBszq+62xUBorVqjgDYsVrZ5JAYJZkc6UKO327LnVn10OUB/bPGA/FzDWZdGB77pt0IalNP8nxyGOytMfg==
15741616
dependencies:
15751617
"@react-native-community/cli-platform-apple" "19.1.1"
15761618

1577-
"@react-native-community/cli-server-api@19.1.1":
1578-
version "19.1.1"
1579-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-19.1.1.tgz#24f4a7b4c4a527e850ed6bb3fc959a9fd0fa4f4c"
1580-
integrity sha512-p0FFm82uPrtLZBWTD3bZ43mMBIV5mXwvGFYMcsfGiuMoS9SNbw4ImEFTG2IutVpr7Qb6NMjx6SbgYYMnTdZXmw==
1619+
"@react-native-community/cli-platform-ios@19.1.2":
1620+
version "19.1.2"
1621+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-19.1.2.tgz#2925279acbfa22dc6e05f189f8908cb0c6427f6e"
1622+
integrity sha512-rmLZjwpI+mV3bbd6FgR6yM/ekFNr4QM/Dgzmatkh8k94B5uGtw5Me4EKlY+MrqR3lIyjzqWtLoefcJxA1c9d2w==
15811623
dependencies:
1582-
"@react-native-community/cli-tools" "19.1.1"
1624+
"@react-native-community/cli-platform-apple" "19.1.2"
1625+
1626+
"@react-native-community/[email protected]":
1627+
version "19.1.2"
1628+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-19.1.2.tgz#adc5353314d40c50d1bfddbc1b85a29e3650ce03"
1629+
integrity sha512-K6UIvtw6VtcKxCX+rJ5mKQYiqcSSRKODPQ2nbIeIxjjO5nDjDriGkFC/ypHHk38oZuJYOLbOySqnnCNkdEI4uQ==
1630+
dependencies:
1631+
"@react-native-community/cli-tools" "19.1.2"
15831632
body-parser "^1.20.3"
15841633
compression "^1.7.1"
15851634
connect "^3.6.5"
@@ -1606,24 +1655,40 @@
16061655
prompts "^2.4.2"
16071656
semver "^7.5.2"
16081657

1609-
"@react-native-community/cli-types@19.1.1":
1610-
version "19.1.1"
1611-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-19.1.1.tgz#b48aa60d9dbc16f3bc4ccd5405504d80efce0835"
1612-
integrity sha512-rOGiYjeDM9tkYBEuK6TJrnxpMhmaId1Un8pjQJswz7W9w2Vb6+nnLfWja7X7VmDIvqIK5GhVobRHsmKCKIdDEA==
1658+
"@react-native-community/cli-tools@19.1.2":
1659+
version "19.1.2"
1660+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-19.1.2.tgz#970e952d373432b2a9cc109ba3f99f8c7d812700"
1661+
integrity sha512-AsDuZu/7R/QX+vGpJIRK97v24X+zqkmwA9/uLRguLTHM175nUxb/byXmAKWuZylG2FAikVvf7EqV8MFGbwM7Wg==
16131662
dependencies:
1614-
joi "^17.2.1"
1663+
"@vscode/sudo-prompt" "^9.0.0"
1664+
appdirsjs "^1.2.4"
1665+
chalk "^4.1.2"
1666+
execa "^5.0.0"
1667+
find-up "^5.0.0"
1668+
launch-editor "^2.9.1"
1669+
mime "^2.4.1"
1670+
ora "^5.4.1"
1671+
prompts "^2.4.2"
1672+
semver "^7.5.2"
16151673

1616-
"@react-native-community/[email protected].1":
1617-
version "19.1.1"
1618-
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-19.1.1.tgz#d1bd8c477b0c878682b34b9bfc45bb62ab40db7c"
1619-
integrity sha512-H17sV83KPg2H2GCNuUSMM1ZM2sy6msVSmxrhJSycH8ua3i9Iixja8DeYtGIcJUzjdU/4U2eSDs6PjOSZUVn8CQ==
1674+
"@react-native-community/cli-types@19.1.2":
1675+
version "19.1.2"
1676+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-19.1.2.tgz#a59911cac2fb2043c70b093e0e61ebc0ac105619"
1677+
integrity sha512-Ze6fi6jE+JPvMlISWbZ/eCPOkRuuEs1SX4rJGWOXPcDzEVF6gs1ePsAjdzQ3RJYRMqQ49vo6iGiOZs//z5kuVw==
16201678
dependencies:
1621-
"@react-native-community/cli-clean" "19.1.1"
1622-
"@react-native-community/cli-config" "19.1.1"
1623-
"@react-native-community/cli-doctor" "19.1.1"
1624-
"@react-native-community/cli-server-api" "19.1.1"
1625-
"@react-native-community/cli-tools" "19.1.1"
1626-
"@react-native-community/cli-types" "19.1.1"
1679+
joi "^17.2.1"
1680+
1681+
"@react-native-community/[email protected]":
1682+
version "19.1.2"
1683+
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-19.1.2.tgz#f83bbecb2c1217a07270afdd9173d74453b3ec49"
1684+
integrity sha512-b28TLqODMgQRx6f4gbHoHYpnKyFbWzJkIk3+Ggpad/at493KfGQ+WvKg1sts/st8mxzmbk0T6lCc/9A3QoFKkQ==
1685+
dependencies:
1686+
"@react-native-community/cli-clean" "19.1.2"
1687+
"@react-native-community/cli-config" "19.1.2"
1688+
"@react-native-community/cli-doctor" "19.1.2"
1689+
"@react-native-community/cli-server-api" "19.1.2"
1690+
"@react-native-community/cli-tools" "19.1.2"
1691+
"@react-native-community/cli-types" "19.1.2"
16271692
chalk "^4.1.2"
16281693
commander "^9.4.1"
16291694
deepmerge "^4.3.0"
@@ -7040,7 +7105,7 @@ [email protected], scheduler@^0.26.0:
70407105
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.26.0.tgz#4ce8a8c2a2095f13ea11bf9a445be50c555d6337"
70417106
integrity sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==
70427107

7043-
[email protected], semver@^7.7.2:
7108+
[email protected], semver@^7.1.3, semver@^7.3.7, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.7.2:
70447109
version "7.7.2"
70457110
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58"
70467111
integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==
@@ -7050,11 +7115,6 @@ semver@^6.3.0, semver@^6.3.1:
70507115
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
70517116
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
70527117

7053-
semver@^7.1.3, semver@^7.3.7, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0:
7054-
version "7.7.1"
7055-
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f"
7056-
integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==
7057-
70587118
70597119
version "0.19.0"
70607120
resolved "https://registry.yarnpkg.com/send/-/send-0.19.0.tgz#bbc5a388c8ea6c048967049dbeac0e4a3f09d7f8"
@@ -7321,12 +7381,29 @@ [email protected]:
73217381
use-sync-external-store "^1.5.0"
73227382

73237383
"stream-chat-react-native-core@link:../../package":
7324-
version "0.0.0"
7325-
uid ""
7384+
version "8.1.0"
7385+
dependencies:
7386+
"@gorhom/bottom-sheet" "^5.1.8"
7387+
"@ungap/structured-clone" "^1.3.0"
7388+
dayjs "1.11.13"
7389+
emoji-regex "^10.4.0"
7390+
i18next "^25.2.1"
7391+
intl-pluralrules "^2.0.1"
7392+
linkifyjs "^4.3.1"
7393+
lodash-es "4.17.21"
7394+
mime-types "^2.1.35"
7395+
path "0.12.7"
7396+
react-native-markdown-package "1.8.2"
7397+
react-native-url-polyfill "^2.0.0"
7398+
stream-chat "^9.23.0"
7399+
use-sync-external-store "^1.5.0"
73267400

73277401
"stream-chat-react-native@link:../../package/native-package":
7328-
version "0.0.0"
7329-
uid ""
7402+
version "8.1.0"
7403+
dependencies:
7404+
es6-symbol "^3.1.3"
7405+
mime "^4.0.7"
7406+
stream-chat-react-native-core "8.1.0"
73307407

73317408
stream-chat@^9.23.0:
73327409
version "9.24.0"

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"path": "0.12.7",
8080
"react-native-markdown-package": "1.8.2",
8181
"react-native-url-polyfill": "^2.0.0",
82-
"stream-chat": "^9.23.0",
82+
"stream-chat": "^9.26.0",
8383
"use-sync-external-store": "^1.5.0"
8484
},
8585
"peerDependencies": {

package/src/components/ImageGallery/ImageGallery.tsx

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -210,20 +210,18 @@ export const ImageGallery = (props: Props) => {
210210
() =>
211211
messages.reduce((acc: Photo[], cur) => {
212212
const attachmentImages =
213-
cur.attachments
214-
?.filter(
215-
(attachment) =>
216-
(attachment.type === FileTypes.Giphy &&
217-
(attachment.giphy?.[giphyVersion]?.url ||
218-
attachment.thumb_url ||
219-
attachment.image_url)) ||
220-
(attachment.type === FileTypes.Image &&
221-
!attachment.title_link &&
222-
!attachment.og_scrape_url &&
223-
getUrlOfImageAttachment(attachment)) ||
224-
(isVideoPlayerAvailable() && attachment.type === FileTypes.Video),
225-
)
226-
.reverse() || [];
213+
cur.attachments?.filter(
214+
(attachment) =>
215+
(attachment.type === FileTypes.Giphy &&
216+
(attachment.giphy?.[giphyVersion]?.url ||
217+
attachment.thumb_url ||
218+
attachment.image_url)) ||
219+
(attachment.type === FileTypes.Image &&
220+
!attachment.title_link &&
221+
!attachment.og_scrape_url &&
222+
getUrlOfImageAttachment(attachment)) ||
223+
(isVideoPlayerAvailable() && attachment.type === FileTypes.Video),
224+
) || [];
227225

228226
const attachmentPhotos = attachmentImages.map((a) => {
229227
const imageUrl = getUrlOfImageAttachment(a) as string;

0 commit comments

Comments
 (0)