Skip to content

Commit 632fae5

Browse files
committed
Merge branch 'develop' of github.com:GetStream/stream-chat-react-native into develop
2 parents e73a91d + 22a541c commit 632fae5

File tree

14 files changed

+9007
-311
lines changed

14 files changed

+9007
-311
lines changed

.github/workflows/docusaurus.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches:
66
- main # default branch name for each repo that docs should be push from
77
- develop
8-
paths:
9-
- docusaurus/**
108
env:
119
branch_map: '{"refs/heads/main": "production", "refs/heads/develop": "staging"}'
1210
jobs:

.github/workflows/sample-distribution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Build and release Testflight QA
4343
env:
4444
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
45-
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
45+
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.DOCUSAURUS_GH_TOKEN }}
4646
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
4747
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
4848
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}

docusaurus/docs/reactnative/basics/getting_started.mdx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,18 @@ For RNCLI, on iOS on a Mac install the pods `npx pod-install ios`.
115115

116116
To be able to use the Stream Chat React Native SDK, a few dependencies must meet the following version requirements:
117117

118-
| react-native | stream-chat-react-native/stream-chat-expo (min required) | react-native-reanimated (min required) |
119-
| ------------ | -------------------------------------------------------- | -------------------------------------- |
120-
| 0.70 | 5.3.1 | 2.10.0 |
121-
| 0.69 | 4.13.0 | 2.9.1 |
122-
| 0.68 | 4.11.0 | 2.7.0 |
123-
| 0.67 | 4.2.0 | 2.4.0 |
124-
| 0.66 | 3.9.0 | 2.2.3 |
125-
| 0.65 | 3.9.0 | 2.2.1 |
126-
| 0.64 | 3.6.2 | 2.2.0 |
127-
| 0.63 | 3.0.0 | 2.2.0 |
118+
| react-native | stream-chat-react-native/stream-chat-expo (min required) | react-native-reanimated (min required) | react-native-quick-sqlite (min required) |
119+
| ------------ | -------------------------------------------------------- | -------------------------------------- | ---------------------------------------- |
120+
| 0.71 | 5.14.0 | 2.13.0 | 8.0.2 |
121+
| 0.70 | 5.6.1 | 2.10.0 | 5.1.0 |
122+
| 0.70 | 5.3.1 | 2.10.0 | 4.0.0 |
123+
| 0.69 | 4.13.0 | 2.9.1 | N/A |
124+
| 0.68 | 4.11.0 | 2.7.0 | N/A |
125+
| 0.67 | 4.2.0 | 2.4.0 | N/A |
126+
| 0.66 | 3.9.0 | 2.2.3 | N/A |
127+
| 0.65 | 3.9.0 | 2.2.1 | N/A |
128+
| 0.64 | 3.6.2 | 2.2.0 | N/A |
129+
| 0.63 | 3.0.0 | 2.2.0 | N/A |
128130

129131
#### Platform compatibilities
130132

examples/SampleApp/fastlane/Matchfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
git_url("https://github.com/GetStream/ios-certificates")
33

44
storage_mode("git")
@@ -14,4 +14,4 @@ team_id("EHV7XZLAHA")
1414
# For all available options run `fastlane match --help`
1515
# Remove the # in the beginning of the line to enable the other options
1616

17-
# The docs are available on https://docs.fastlane.tools/actions/match
17+
# The docs are available on https://docs.fastlane.tools/actions/match

examples/SampleApp/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7499,10 +7499,10 @@ [email protected]:
74997499
resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4"
75007500
integrity sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==
75017501

7502-
stream-chat-react-native-core@5.12.1:
7503-
version "5.12.1"
7504-
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.12.1.tgz#cd2b803ee0aa140164b827ca6dfd9f47e4435550"
7505-
integrity sha512-lRtyzFuAGJzZcHIJLbnJ0fp9qUQjVN6WBFhQFX9r9P78GAEj8B8WA6svR1O95YxSgf/IJj9qVyEqYQzorT5o5Q==
7502+
stream-chat-react-native-core@5.13.0:
7503+
version "5.13.0"
7504+
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.13.0.tgz#9425b3aec314e2183bdff5ed0141ddae0fbfaff3"
7505+
integrity sha512-dqdq4nInUPIDOXyK55vk4mrOgZTox/aRr7rRxZnQBAivuGOLnrcrv2d2RqWdVG6fC1YX7iatXKDLTThCBH2dUQ==
75067506
dependencies:
75077507
"@babel/runtime" "^7.12.5"
75087508
"@gorhom/bottom-sheet" "4.4.5"

examples/TypeScriptMessaging/App.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ const App = () => {
205205

206206
useEffect(() => {
207207
const setupClient = async () => {
208-
await chatClient.connectUser(user, userToken);
209-
210-
return setClientReady(true);
208+
const connectPromise = chatClient.connectUser(user, userToken);
209+
setClientReady(true);
210+
await connectPromise;
211211
};
212212

213213
setupClient();
@@ -231,7 +231,7 @@ const App = () => {
231231
i18nInstance={streami18n}
232232
value={{ style: theme }}
233233
>
234-
<Chat client={chatClient} i18nInstance={streami18n}>
234+
<Chat client={chatClient} i18nInstance={streami18n} enableOfflineSupport>
235235
{clientReady && (
236236
<Stack.Navigator
237237
initialRouteName='ChannelList'

examples/TypeScriptMessaging/ios/Podfile.lock

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ PODS:
7878
- hermes-engine/Pre-built (0.71.6)
7979
- libevent (2.1.12)
8080
- OpenSSL-Universal (1.1.1100)
81-
- PromisesObjC (2.1.1)
82-
- PromisesSwift (2.1.1):
83-
- PromisesObjC (= 2.1.1)
81+
- PromisesObjC (2.2.0)
82+
- PromisesSwift (2.2.0):
83+
- PromisesObjC (= 2.2.0)
8484
- RCT-Folly (2021.07.22.00):
8585
- boost
8686
- DoubleConversion
@@ -332,17 +332,21 @@ PODS:
332332
- React-jsinspector (0.71.6)
333333
- React-logger (0.71.6):
334334
- glog
335-
- react-native-cameraroll (5.2.4):
335+
- react-native-cameraroll (5.3.1):
336336
- React-Core
337-
- react-native-document-picker (8.1.3):
337+
- react-native-document-picker (8.2.0):
338338
- React-Core
339339
- react-native-flipper (0.158.0):
340340
- React-Core
341341
- react-native-image-resizer (1.4.5):
342342
- React-Core
343343
- react-native-netinfo (9.3.0):
344344
- React-Core
345-
- react-native-safe-area-context (4.5.0):
345+
- react-native-quick-sqlite (8.0.2):
346+
- React
347+
- React-callinvoker
348+
- React-Core
349+
- react-native-safe-area-context (4.5.1):
346350
- RCT-Folly
347351
- RCTRequired
348352
- RCTTypeSafety
@@ -438,7 +442,7 @@ PODS:
438442
- React-jsi (= 0.71.6)
439443
- React-logger (= 0.71.6)
440444
- React-perflogger (= 0.71.6)
441-
- RNCClipboard (1.11.1):
445+
- RNCClipboard (1.11.2):
442446
- React-Core
443447
- RNCMaskedView (0.1.11):
444448
- React
@@ -457,7 +461,7 @@ PODS:
457461
- TOCropViewController
458462
- RNReactNativeHapticFeedback (1.14.0):
459463
- React-Core
460-
- RNReanimated (2.14.4):
464+
- RNReanimated (2.15.0):
461465
- DoubleConversion
462466
- FBLazyVector
463467
- FBReactNativeSpec
@@ -487,7 +491,7 @@ PODS:
487491
- RNScreens (3.20.0):
488492
- React-Core
489493
- React-RCTImage
490-
- RNShare (8.2.0):
494+
- RNShare (8.2.2):
491495
- React-Core
492496
- RNSVG (12.5.1):
493497
- React-Core
@@ -548,6 +552,7 @@ DEPENDENCIES:
548552
- react-native-flipper (from `../node_modules/react-native-flipper`)
549553
- react-native-image-resizer (from `../node_modules/react-native-image-resizer`)
550554
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
555+
- react-native-quick-sqlite (from `../node_modules/react-native-quick-sqlite`)
551556
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
552557
- react-native-video (from `../node_modules/react-native-video`)
553558
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
@@ -647,6 +652,8 @@ EXTERNAL SOURCES:
647652
:path: "../node_modules/react-native-image-resizer"
648653
react-native-netinfo:
649654
:path: "../node_modules/@react-native-community/netinfo"
655+
react-native-quick-sqlite:
656+
:path: "../node_modules/react-native-quick-sqlite"
650657
react-native-safe-area-context:
651658
:path: "../node_modules/react-native-safe-area-context"
652659
react-native-video:
@@ -720,8 +727,8 @@ SPEC CHECKSUMS:
720727
hermes-engine: b434cea529ad0152c56c7cb6486b0c4c0b23b5de
721728
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
722729
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
723-
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
724-
PromisesSwift: 99fddfe4a0ec88a56486644c0da106694c92a604
730+
PromisesObjC: 09985d6d70fbe7878040aa746d78236e6946d2ef
731+
PromisesSwift: cf9eb58666a43bbe007302226e510b16c1e10959
725732
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
726733
RCTRequired: 5c6fd63b03abb06947d348dadac51c93e3485bd8
727734
RCTTypeSafety: 1c66daedd66f674e39ce9f40782f0d490c78b175
@@ -736,12 +743,13 @@ SPEC CHECKSUMS:
736743
React-jsiexecutor: 7894956638ff3e00819dd3f9f6f4a84da38f2409
737744
React-jsinspector: d5ce2ef3eb8fd30c28389d0bc577918c70821bd6
738745
React-logger: 9332c3e7b4ef007a0211c0a9868253aac3e1da82
739-
react-native-cameraroll: cb752fda6d5268f1646b4390bd5be1f27706b9a0
740-
react-native-document-picker: 958e2bc82e128be69055be261aeac8d872c8d34c
746+
react-native-cameraroll: f3050460fe1708378698c16686bfaa5f34099be2
747+
react-native-document-picker: 495c444c0c773c6e83a5d91165890ecb1c0a399a
741748
react-native-flipper: bbe3c862a02dab5e0f71b639855a180b699a590a
742749
react-native-image-resizer: d9fb629a867335bdc13230ac2a58702bb8c8828f
743750
react-native-netinfo: 129bd99f607a2dc5bb096168f3e5c150fd1f1c95
744-
react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc
751+
react-native-quick-sqlite: 2b225dadc63b670f027111e58f6f169773f6d755
752+
react-native-safe-area-context: f5549f36508b1b7497434baa0cd97d7e470920d4
745753
react-native-video: bb6f12a7198db53b261fefb5d609dc77417acc8b
746754
React-perflogger: 43392072a5b867a504e2b4857606f8fc5a403d7f
747755
React-RCTActionSheet: c7b67c125bebeda9fb19fc7b200d85cb9d6899c4
@@ -756,15 +764,15 @@ SPEC CHECKSUMS:
756764
React-RCTVibration: 73d201599a64ea14b4e0b8f91b64970979fd92e6
757765
React-runtimeexecutor: 8692ac548bec648fa121980ccb4304afd136d584
758766
ReactCommon: 0c43eaeaaee231d7d8dc24fc5a6e4cf2b75bf196
759-
RNCClipboard: 2834e1c4af68697089cdd455ee4a4cdd198fa7dd
767+
RNCClipboard: 3f0451a8100393908bea5c5c5b16f96d45f30bfc
760768
RNCMaskedView: 0e1bc4bfa8365eba5fbbb71e07fbdc0555249489
761769
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
762770
RNGestureHandler: 62232ba8f562f7dea5ba1b3383494eb5bf97a4d3
763771
RNImageCropPicker: 648356d68fbf9911a1016b3e3723885d28373eda
764772
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
765-
RNReanimated: cc5e3aa479cb9170bcccf8204291a6950a3be128
773+
RNReanimated: 29295af754cdd6f8e4428427d4195e02ea8766e0
766774
RNScreens: 218801c16a2782546d30bd2026bb625c0302d70f
767-
RNShare: b089c33619bbfb0a32bc4069c858b9274e694187
775+
RNShare: d82e10f6b7677f4b0048c23709bd04098d5aee6c
768776
RNSVG: d7d7bc8229af3842c9cfc3a723c815a52cdd1105
769777
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
770778
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863

examples/TypeScriptMessaging/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"react-native-haptic-feedback": "^1.14.0",
2828
"react-native-image-crop-picker": "^0.38.0",
2929
"react-native-image-resizer": "^1.4.5",
30+
"react-native-quick-sqlite": "^8.0.2",
3031
"react-native-reanimated": "^2.13.0",
3132
"react-native-safe-area-context": "^4.3.1",
3233
"react-native-screens": "^3.14.1",

0 commit comments

Comments
 (0)