Skip to content

Commit 5fe309e

Browse files
authored
Merge pull request #3287 from GetStream/develop
Next Release
2 parents 950b9ba + 745f541 commit 5fe309e

File tree

15 files changed

+188
-161
lines changed

15 files changed

+188
-161
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![NPM](https://img.shields.io/npm/v/stream-chat-react-native.svg)](https://www.npmjs.com/package/stream-chat-react-native)
1111
[![Build Status](https://github.com/GetStream/stream-chat-react-native/actions/workflows/release.yml/badge.svg)](https://github.com/GetStream/stream-chat-react-native/actions)
1212
[![Component Reference](https://img.shields.io/badge/docs-component%20reference-blue.svg)](https://getstream.io/chat/docs/sdk/reactnative)
13-
![JS Bundle Size](https://img.shields.io/badge/js_bundle_size-291%20KB-blue)
13+
![JS Bundle Size](https://img.shields.io/badge/js_bundle_size-292%20KB-blue)
1414

1515
<img align="right" src="https://getstream.imgix.net/images/ios-chat-tutorial/[email protected]?auto=format,enhance" width="50%" />
1616

examples/SampleApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"devDependencies": {
6464
"@babel/core": "^7.27.4",
6565
"@babel/runtime": "^7.27.6",
66-
"@react-native-community/cli": "19.1.1",
66+
"@react-native-community/cli": "19.1.2",
6767
"@react-native-community/cli-platform-android": "19.1.1",
6868
"@react-native-community/cli-platform-ios": "19.1.1",
6969
"@react-native/babel-preset": "0.80.2",

examples/SampleApp/src/components/ChannelInfoOverlay.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect } from 'react';
2-
import { FlatList, Keyboard, SafeAreaView, StyleSheet, Text, View, ViewStyle } from 'react-native';
2+
import { FlatList, Keyboard, StyleSheet, Text, View, ViewStyle } from 'react-native';
33
import dayjs from 'dayjs';
44
import relativeTime from 'dayjs/plugin/relativeTime';
55
import { Gesture, GestureDetector, Pressable } from 'react-native-gesture-handler';
@@ -30,6 +30,7 @@ import { useChannelInfoOverlayContext } from '../context/ChannelInfoOverlayConte
3030
import { Archive } from '../icons/Archive';
3131
import { Pin } from '../icons/Pin';
3232
import { useChannelInfoOverlayActions } from '../hooks/useChannelInfoOverlayActions';
33+
import { SafeAreaView } from 'react-native-safe-area-context';
3334

3435
dayjs.extend(relativeTime);
3536

@@ -274,7 +275,7 @@ export const ChannelInfoOverlay = (props: ChannelInfoOverlayProps) => {
274275
<Animated.View
275276
style={[styles.containerInner, { backgroundColor: white }, showScreenStyle]}
276277
>
277-
<SafeAreaView>
278+
<SafeAreaView edges={['bottom']}>
278279
{channel && (
279280
<>
280281
<View style={styles.detailsContainer}>

examples/SampleApp/src/components/MenuDrawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useCallback, useEffect, useState } from 'react';
22
import {
33
Image,
4-
SafeAreaView,
54
StyleSheet,
65
Text,
76
TouchableOpacity,
@@ -14,6 +13,7 @@ import { useAppContext } from '../context/AppContext';
1413
import { SecretMenu } from './SecretMenu.tsx';
1514

1615
import type { DrawerContentComponentProps } from '@react-navigation/drawer';
16+
import { SafeAreaView } from 'react-native-safe-area-context';
1717

1818
export const styles = StyleSheet.create({
1919
avatar: {

examples/SampleApp/src/components/UserInfoOverlay.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect } from 'react';
2-
import { Keyboard, SafeAreaView, StyleSheet, Text, View, ViewStyle } from 'react-native';
2+
import { Keyboard, StyleSheet, Text, View, ViewStyle } from 'react-native';
33
import dayjs from 'dayjs';
44
import relativeTime from 'dayjs/plugin/relativeTime';
55
import { Gesture, GestureDetector, Pressable } from 'react-native-gesture-handler';
@@ -31,6 +31,7 @@ import { useUserInfoOverlayContext } from '../context/UserInfoOverlayContext';
3131
import { useAppContext } from '../context/AppContext';
3232
import { UserResponse } from 'stream-chat';
3333
import { useUserInfoOverlayActions } from '../hooks/useUserInfoOverlayActions';
34+
import { SafeAreaView } from 'react-native-safe-area-context';
3435

3536
dayjs.extend(relativeTime);
3637

@@ -255,7 +256,7 @@ export const UserInfoOverlay = (props: UserInfoOverlayProps) => {
255256
<Animated.View
256257
style={[styles.containerInner, { backgroundColor: white }, showScreenStyle]}
257258
>
258-
<SafeAreaView>
259+
<SafeAreaView edges={['bottom']}>
259260
{channel && (
260261
<>
261262
<View style={styles.detailsContainer}>

examples/SampleApp/src/screens/OneOnOneChannelDetailScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useState } from 'react';
22
import {
33
Image,
4-
SafeAreaView,
54
ScrollView,
65
StyleSheet,
76
Switch,
@@ -28,6 +27,7 @@ import type { RouteProp } from '@react-navigation/native';
2827
import type { NativeStackNavigationProp } from '@react-navigation/native-stack';
2928

3029
import type { StackNavigatorParamList } from '../types';
30+
import { SafeAreaView } from 'react-native-safe-area-context';
3131

3232
const styles = StyleSheet.create({
3333
actionContainer: {

examples/SampleApp/yarn.lock

Lines changed: 126 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,12 +2163,12 @@
21632163
resolved "https://registry.yarnpkg.com/@react-native-camera-roll/camera-roll/-/camera-roll-7.10.0.tgz#5e9518d78a9cd87ddc8e68d03e31a608df5033ab"
21642164
integrity sha512-Zm1yHxxTQS2APsnnxUFoLnK+DMMTPqmIQ2z2pGtNyHRXAG40Nt4MLVB3tDJTWnuJLAG87BpTCEvpz49+u0YkUw==
21652165

2166-
"@react-native-community/[email protected].1":
2167-
version "19.1.1"
2168-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-19.1.1.tgz#574ada0956ac506431a84e45b5fa36f22b9a510d"
2169-
integrity sha512-pP7SmK+PNw5B1Aa2c6y06FBNc9iGah/leFFM2uewpyZRJQ4zycX6Zz1UANpq9YZfp65n7NZKV9Gct2uaVRuP/Q==
2166+
"@react-native-community/[email protected].2":
2167+
version "19.1.2"
2168+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-19.1.2.tgz#10be56a6ab966c141090176e54937cb7b7618a9b"
2169+
integrity sha512-LI/bTLtosbDyHtIs+HxlmHp+5Nbjz+IIEEqrBO2tUeA+ENX01YEnIgGIv4z7giNWkHSiqywjdOyYNqg27ydy2g==
21702170
dependencies:
2171-
"@react-native-community/cli-tools" "19.1.1"
2171+
"@react-native-community/cli-tools" "19.1.2"
21722172
chalk "^4.1.2"
21732173
execa "^5.0.0"
21742174
fast-glob "^3.3.2"
@@ -2183,6 +2183,16 @@
21832183
fast-glob "^3.3.2"
21842184
fast-xml-parser "^4.4.1"
21852185

2186+
"@react-native-community/[email protected]":
2187+
version "19.1.2"
2188+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config-android/-/cli-config-android-19.1.2.tgz#f8a03a0a49cd89a4e6bffed46396b3a2ea7690df"
2189+
integrity sha512-IIhzhDUmT53RT45Qrxc/OfvkTD4U7IrfkfoIdKmBT6O0X0QaoegK4OE6aAuc86D2GXlD5rbVcPMSuN4TY8Hmlw==
2190+
dependencies:
2191+
"@react-native-community/cli-tools" "19.1.2"
2192+
chalk "^4.1.2"
2193+
fast-glob "^3.3.2"
2194+
fast-xml-parser "^4.4.1"
2195+
21862196
"@react-native-community/[email protected]":
21872197
version "19.1.1"
21882198
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config-apple/-/cli-config-apple-19.1.1.tgz#f805588235f1504546ab26dfeb708e20d4e144b0"
@@ -2193,28 +2203,38 @@
21932203
execa "^5.0.0"
21942204
fast-glob "^3.3.2"
21952205

2196-
"@react-native-community/[email protected].1":
2197-
version "19.1.1"
2198-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-19.1.1.tgz#566fab3438a8d90ec8976927b7030f3a1f1d3d8a"
2199-
integrity sha512-qGLYCFf3whCa/we3iKd5BY4RlcAUhSykwGpnJpjseXLaI5iJzIn/IMd70EBG8QvhV/KQxM7VFMQj6KgGcoNKYg==
2206+
"@react-native-community/cli-config-apple@19.1.2":
2207+
version "19.1.2"
2208+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config-apple/-/cli-config-apple-19.1.2.tgz#d251fc18043f2e202d681a8ac911b8b1688409f4"
2209+
integrity sha512-91upuYMLgEtJE6foWQFgGDpT3ZDTc5bX6rMY5cJMqiAE5svgh1q0kbbpRuv/ptBYzcxLplL7wZWpA77TlJdm9A==
22002210
dependencies:
2201-
"@react-native-community/cli-tools" "19.1.1"
2211+
"@react-native-community/cli-tools" "19.1.2"
2212+
chalk "^4.1.2"
2213+
execa "^5.0.0"
2214+
fast-glob "^3.3.2"
2215+
2216+
"@react-native-community/[email protected]":
2217+
version "19.1.2"
2218+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-19.1.2.tgz#d6432c3100d2a7cb1e92d47b39bf3688fd712970"
2219+
integrity sha512-o0cc6R6r9nY9MiLFeLIN797fBLWwKW9cee/NCm6nBBzPk/paro6HEbcXE02xnVzMb+nhQPrbPOzp3qE7WhtwRA==
2220+
dependencies:
2221+
"@react-native-community/cli-tools" "19.1.2"
22022222
chalk "^4.1.2"
22032223
cosmiconfig "^9.0.0"
22042224
deepmerge "^4.3.0"
22052225
fast-glob "^3.3.2"
22062226
joi "^17.2.1"
22072227

2208-
"@react-native-community/[email protected].1":
2209-
version "19.1.1"
2210-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-19.1.1.tgz#e09749815f0baea17e4fc04b9897051829149f42"
2211-
integrity sha512-P6JgTpa8fn6SfGiotyRhiCqBlRlKx8MUUdMESPGyPzvMb8omz+Jv0ibdNg9CVT11/0x5oRsoGv07os/o+Eg0zQ==
2228+
"@react-native-community/[email protected].2":
2229+
version "19.1.2"
2230+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-19.1.2.tgz#b318d000a12d029d65f829aba5e6f14f5c6132b8"
2231+
integrity sha512-uUV/1QrWA1Cx7dqkTCcarqfya/7gBmKXd9BzVCEl6bzAn1jd1Q5UaZ+DmZgAoLVKlbAjpPTJTfqjD44aqUdjyA==
22122232
dependencies:
2213-
"@react-native-community/cli-config" "19.1.1"
2214-
"@react-native-community/cli-platform-android" "19.1.1"
2215-
"@react-native-community/cli-platform-apple" "19.1.1"
2216-
"@react-native-community/cli-platform-ios" "19.1.1"
2217-
"@react-native-community/cli-tools" "19.1.1"
2233+
"@react-native-community/cli-config" "19.1.2"
2234+
"@react-native-community/cli-platform-android" "19.1.2"
2235+
"@react-native-community/cli-platform-apple" "19.1.2"
2236+
"@react-native-community/cli-platform-ios" "19.1.2"
2237+
"@react-native-community/cli-tools" "19.1.2"
22182238
chalk "^4.1.2"
22192239
command-exists "^1.2.8"
22202240
deepmerge "^4.3.0"
@@ -2237,6 +2257,17 @@
22372257
execa "^5.0.0"
22382258
logkitty "^0.7.1"
22392259

2260+
"@react-native-community/[email protected]":
2261+
version "19.1.2"
2262+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-19.1.2.tgz#72d3dd69730a18373c4185f1f17e65c49fbc2b39"
2263+
integrity sha512-eMryTlSSTl3JK/tZTaMaMgHec9qu+eQj+3A15qmBdj2ac3p/hiauwAe4q35rz5XABw1cJCuyn+s469YsdTllaw==
2264+
dependencies:
2265+
"@react-native-community/cli-config-android" "19.1.2"
2266+
"@react-native-community/cli-tools" "19.1.2"
2267+
chalk "^4.1.2"
2268+
execa "^5.0.0"
2269+
logkitty "^0.7.1"
2270+
22402271
"@react-native-community/[email protected]":
22412272
version "19.1.1"
22422273
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-apple/-/cli-platform-apple-19.1.1.tgz#931c85425e53ea67627adcace06a6bbc676f0448"
@@ -2248,19 +2279,37 @@
22482279
execa "^5.0.0"
22492280
fast-xml-parser "^4.4.1"
22502281

2282+
"@react-native-community/[email protected]":
2283+
version "19.1.2"
2284+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-apple/-/cli-platform-apple-19.1.2.tgz#42f8eb69e870f132ffa1383930c53c93b4949783"
2285+
integrity sha512-TtaF8Pyrs4dnIH3LTvuPnPjGDsSVaZLu+8s4y5bngzZIf9r7M/HJTlpnhm8+bQPsahxNhNQZBGUBrQJqfmg7Ww==
2286+
dependencies:
2287+
"@react-native-community/cli-config-apple" "19.1.2"
2288+
"@react-native-community/cli-tools" "19.1.2"
2289+
chalk "^4.1.2"
2290+
execa "^5.0.0"
2291+
fast-xml-parser "^4.4.1"
2292+
22512293
"@react-native-community/[email protected]":
22522294
version "19.1.1"
22532295
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-19.1.1.tgz#c3e8eb512530469fc6d48881f5265af3f0c2c63f"
22542296
integrity sha512-QHw/eBszq+62xUBorVqjgDYsVrZ5JAYJZkc6UKO327LnVn10OUB/bPGA/FzDWZdGB77pt0IalNP8nxyGOytMfg==
22552297
dependencies:
22562298
"@react-native-community/cli-platform-apple" "19.1.1"
22572299

2258-
"@react-native-community/cli-server-api@19.1.1":
2259-
version "19.1.1"
2260-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-19.1.1.tgz#24f4a7b4c4a527e850ed6bb3fc959a9fd0fa4f4c"
2261-
integrity sha512-p0FFm82uPrtLZBWTD3bZ43mMBIV5mXwvGFYMcsfGiuMoS9SNbw4ImEFTG2IutVpr7Qb6NMjx6SbgYYMnTdZXmw==
2300+
"@react-native-community/cli-platform-ios@19.1.2":
2301+
version "19.1.2"
2302+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-19.1.2.tgz#2925279acbfa22dc6e05f189f8908cb0c6427f6e"
2303+
integrity sha512-rmLZjwpI+mV3bbd6FgR6yM/ekFNr4QM/Dgzmatkh8k94B5uGtw5Me4EKlY+MrqR3lIyjzqWtLoefcJxA1c9d2w==
22622304
dependencies:
2263-
"@react-native-community/cli-tools" "19.1.1"
2305+
"@react-native-community/cli-platform-apple" "19.1.2"
2306+
2307+
"@react-native-community/[email protected]":
2308+
version "19.1.2"
2309+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-19.1.2.tgz#adc5353314d40c50d1bfddbc1b85a29e3650ce03"
2310+
integrity sha512-K6UIvtw6VtcKxCX+rJ5mKQYiqcSSRKODPQ2nbIeIxjjO5nDjDriGkFC/ypHHk38oZuJYOLbOySqnnCNkdEI4uQ==
2311+
dependencies:
2312+
"@react-native-community/cli-tools" "19.1.2"
22642313
body-parser "^1.20.3"
22652314
compression "^1.7.1"
22662315
connect "^3.6.5"
@@ -2287,24 +2336,40 @@
22872336
prompts "^2.4.2"
22882337
semver "^7.5.2"
22892338

2290-
"@react-native-community/cli-types@19.1.1":
2291-
version "19.1.1"
2292-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-19.1.1.tgz#b48aa60d9dbc16f3bc4ccd5405504d80efce0835"
2293-
integrity sha512-rOGiYjeDM9tkYBEuK6TJrnxpMhmaId1Un8pjQJswz7W9w2Vb6+nnLfWja7X7VmDIvqIK5GhVobRHsmKCKIdDEA==
2339+
"@react-native-community/cli-tools@19.1.2":
2340+
version "19.1.2"
2341+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-19.1.2.tgz#970e952d373432b2a9cc109ba3f99f8c7d812700"
2342+
integrity sha512-AsDuZu/7R/QX+vGpJIRK97v24X+zqkmwA9/uLRguLTHM175nUxb/byXmAKWuZylG2FAikVvf7EqV8MFGbwM7Wg==
22942343
dependencies:
2295-
joi "^17.2.1"
2344+
"@vscode/sudo-prompt" "^9.0.0"
2345+
appdirsjs "^1.2.4"
2346+
chalk "^4.1.2"
2347+
execa "^5.0.0"
2348+
find-up "^5.0.0"
2349+
launch-editor "^2.9.1"
2350+
mime "^2.4.1"
2351+
ora "^5.4.1"
2352+
prompts "^2.4.2"
2353+
semver "^7.5.2"
22962354

2297-
"@react-native-community/[email protected].1":
2298-
version "19.1.1"
2299-
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-19.1.1.tgz#d1bd8c477b0c878682b34b9bfc45bb62ab40db7c"
2300-
integrity sha512-H17sV83KPg2H2GCNuUSMM1ZM2sy6msVSmxrhJSycH8ua3i9Iixja8DeYtGIcJUzjdU/4U2eSDs6PjOSZUVn8CQ==
2355+
"@react-native-community/cli-types@19.1.2":
2356+
version "19.1.2"
2357+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-19.1.2.tgz#a59911cac2fb2043c70b093e0e61ebc0ac105619"
2358+
integrity sha512-Ze6fi6jE+JPvMlISWbZ/eCPOkRuuEs1SX4rJGWOXPcDzEVF6gs1ePsAjdzQ3RJYRMqQ49vo6iGiOZs//z5kuVw==
23012359
dependencies:
2302-
"@react-native-community/cli-clean" "19.1.1"
2303-
"@react-native-community/cli-config" "19.1.1"
2304-
"@react-native-community/cli-doctor" "19.1.1"
2305-
"@react-native-community/cli-server-api" "19.1.1"
2306-
"@react-native-community/cli-tools" "19.1.1"
2307-
"@react-native-community/cli-types" "19.1.1"
2360+
joi "^17.2.1"
2361+
2362+
"@react-native-community/[email protected]":
2363+
version "19.1.2"
2364+
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-19.1.2.tgz#f83bbecb2c1217a07270afdd9173d74453b3ec49"
2365+
integrity sha512-b28TLqODMgQRx6f4gbHoHYpnKyFbWzJkIk3+Ggpad/at493KfGQ+WvKg1sts/st8mxzmbk0T6lCc/9A3QoFKkQ==
2366+
dependencies:
2367+
"@react-native-community/cli-clean" "19.1.2"
2368+
"@react-native-community/cli-config" "19.1.2"
2369+
"@react-native-community/cli-doctor" "19.1.2"
2370+
"@react-native-community/cli-server-api" "19.1.2"
2371+
"@react-native-community/cli-tools" "19.1.2"
2372+
"@react-native-community/cli-types" "19.1.2"
23082373
chalk "^4.1.2"
23092374
commander "^9.4.1"
23102375
deepmerge "^4.3.0"
@@ -7914,7 +7979,7 @@ [email protected], scheduler@^0.26.0:
79147979
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.26.0.tgz#4ce8a8c2a2095f13ea11bf9a445be50c555d6337"
79157980
integrity sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==
79167981

7917-
[email protected], semver@^7.7.2:
7982+
[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:
79187983
version "7.7.2"
79197984
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58"
79207985
integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==
@@ -7924,11 +7989,6 @@ semver@^6.3.0, semver@^6.3.1:
79247989
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
79257990
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
79267991

7927-
semver@^7.1.3, semver@^7.3.7, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0:
7928-
version "7.7.1"
7929-
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f"
7930-
integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==
7931-
79327992
79337993
version "0.19.0"
79347994
resolved "https://registry.yarnpkg.com/send/-/send-0.19.0.tgz#bbc5a388c8ea6c048967049dbeac0e4a3f09d7f8"
@@ -8200,12 +8260,29 @@ [email protected]:
82008260
use-sync-external-store "^1.5.0"
82018261

82028262
"stream-chat-react-native-core@link:../../package":
8203-
version "0.0.0"
8204-
uid ""
8263+
version "8.1.0"
8264+
dependencies:
8265+
"@gorhom/bottom-sheet" "^5.1.8"
8266+
"@ungap/structured-clone" "^1.3.0"
8267+
dayjs "1.11.13"
8268+
emoji-regex "^10.4.0"
8269+
i18next "^25.2.1"
8270+
intl-pluralrules "^2.0.1"
8271+
linkifyjs "^4.3.1"
8272+
lodash-es "4.17.21"
8273+
mime-types "^2.1.35"
8274+
path "0.12.7"
8275+
react-native-markdown-package "1.8.2"
8276+
react-native-url-polyfill "^2.0.0"
8277+
stream-chat "^9.23.0"
8278+
use-sync-external-store "^1.5.0"
82058279

82068280
"stream-chat-react-native@link:../../package/native-package":
8207-
version "0.0.0"
8208-
uid ""
8281+
version "8.1.0"
8282+
dependencies:
8283+
es6-symbol "^3.1.3"
8284+
mime "^4.0.7"
8285+
stream-chat-react-native-core "8.1.0"
82098286

82108287
stream-chat@^9.23.0:
82118288
version "9.23.0"

examples/TypeScriptMessaging/App.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ import {
44
I18nManager,
55
LogBox,
66
Platform,
7-
SafeAreaView,
87
useColorScheme,
98
View,
109
} from 'react-native';
1110
import { DarkTheme, DefaultTheme, NavigationContainer, RouteProp } from '@react-navigation/native';
1211
import { createStackNavigator, StackNavigationProp } from '@react-navigation/stack';
1312
import { useHeaderHeight } from '@react-navigation/elements';
14-
import { SafeAreaProvider } from 'react-native-safe-area-context';
13+
import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context';
1514
import { Channel as ChannelType, ChannelSort } from 'stream-chat';
1615
import {
1716
Channel,
@@ -118,7 +117,7 @@ const ChannelScreen: React.FC<ChannelScreenProps> = ({ navigation }) => {
118117
}
119118

120119
return (
121-
<SafeAreaView>
120+
<SafeAreaView edges={['bottom']}>
122121
<Channel
123122
audioRecordingEnabled={true}
124123
channel={channel}
@@ -162,7 +161,7 @@ const ThreadScreen: React.FC<ThreadScreenProps> = ({ navigation }) => {
162161
}
163162

164163
return (
165-
<SafeAreaView>
164+
<SafeAreaView edges={['bottom']}>
166165
<Channel
167166
audioRecordingEnabled={true}
168167
channel={channel}

0 commit comments

Comments
 (0)