stream-chat-react-native-core 5.25.0-beta.4 → 5.25.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/lib/commonjs/components/Chat/Chat.js +10 -6
  2. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  3. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js +4 -3
  4. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  5. package/lib/commonjs/components/ImageGallery/ImageGallery.js +22 -21
  6. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  7. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +2 -0
  8. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
  9. package/lib/commonjs/i18n/es.json +22 -22
  10. package/lib/commonjs/i18n/fr.json +22 -22
  11. package/lib/commonjs/i18n/he.json +22 -22
  12. package/lib/commonjs/i18n/hi.json +22 -22
  13. package/lib/commonjs/i18n/it.json +22 -22
  14. package/lib/commonjs/i18n/ja.json +22 -22
  15. package/lib/commonjs/i18n/ko.json +22 -22
  16. package/lib/commonjs/i18n/nl.json +22 -22
  17. package/lib/commonjs/i18n/ru.json +22 -22
  18. package/lib/commonjs/i18n/tr.json +22 -22
  19. package/lib/commonjs/version.json +1 -1
  20. package/lib/module/components/Chat/Chat.js +10 -6
  21. package/lib/module/components/Chat/Chat.js.map +1 -1
  22. package/lib/module/components/Chat/hooks/useSyncDatabase.js +4 -3
  23. package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  24. package/lib/module/components/ImageGallery/ImageGallery.js +22 -21
  25. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  26. package/lib/module/components/ImageGallery/components/ImageGrid.js +2 -0
  27. package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
  28. package/lib/module/i18n/es.json +22 -22
  29. package/lib/module/i18n/fr.json +22 -22
  30. package/lib/module/i18n/he.json +22 -22
  31. package/lib/module/i18n/hi.json +22 -22
  32. package/lib/module/i18n/it.json +22 -22
  33. package/lib/module/i18n/ja.json +22 -22
  34. package/lib/module/i18n/ko.json +22 -22
  35. package/lib/module/i18n/nl.json +22 -22
  36. package/lib/module/i18n/ru.json +22 -22
  37. package/lib/module/i18n/tr.json +22 -22
  38. package/lib/module/version.json +1 -1
  39. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +2 -1
  40. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +1 -0
  41. package/lib/typescript/i18n/es.json +22 -22
  42. package/lib/typescript/i18n/fr.json +22 -22
  43. package/lib/typescript/i18n/he.json +22 -22
  44. package/lib/typescript/i18n/hi.json +22 -22
  45. package/lib/typescript/i18n/it.json +22 -22
  46. package/lib/typescript/i18n/ja.json +22 -22
  47. package/lib/typescript/i18n/ko.json +22 -22
  48. package/lib/typescript/i18n/nl.json +22 -22
  49. package/lib/typescript/i18n/ru.json +22 -22
  50. package/lib/typescript/i18n/tr.json +22 -22
  51. package/package.json +1 -1
  52. package/src/components/Chat/Chat.tsx +5 -0
  53. package/src/components/Chat/hooks/useSyncDatabase.ts +4 -2
  54. package/src/components/ImageGallery/ImageGallery.tsx +3 -1
  55. package/src/components/ImageGallery/components/ImageGrid.tsx +2 -2
  56. package/src/i18n/es.json +22 -22
  57. package/src/i18n/fr.json +22 -22
  58. package/src/i18n/he.json +22 -22
  59. package/src/i18n/hi.json +22 -22
  60. package/src/i18n/it.json +22 -22
  61. package/src/i18n/ja.json +22 -22
  62. package/src/i18n/ko.json +22 -22
  63. package/src/i18n/nl.json +22 -22
  64. package/src/i18n/ru.json +22 -22
  65. package/src/i18n/tr.json +22 -22
  66. package/src/version.json +1 -1
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
2
+ "1 Reply": "1件の返信",
3
+ "1 Thread Reply": "1件のスレッド返信",
4
+ "Allow access to your Gallery": "ギャラリーへのアクセスを許可する",
5
+ "Allow camera access in device settings": "デバイス設定でカメラへのアクセスを許可する",
6
+ "Also send to channel": "チャンネルにも送信",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -13,22 +13,22 @@
13
13
  "Copy Message": "",
14
14
  "Delete": "",
15
15
  "Delete Message": "",
16
- "Device camera is used to take photos or videos.": "",
16
+ "Device camera is used to take photos or videos.": "デバイスのカメラは写真やビデオの撮影に使用されます。",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
18
  "Edit Message": "",
19
19
  "Editing Message": "",
20
- "Emoji matching": "絵文字マッチング",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "サポートされていないファイルです",
26
+ "File type not supported": "",
27
27
  "Flag": "",
28
28
  "Flag Message": "",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "",
30
30
  "How about sending your first message to a friend?": "",
31
- "Instant Commands": "インスタントコマンド",
31
+ "Instant Commands": "",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "リンク機能が無効になっています",
34
34
  "Loading channels...": "",
@@ -39,23 +39,23 @@
39
39
  "Message deleted": "",
40
40
  "Message flagged": "",
41
41
  "Mute User": "",
42
- "Not supported": "サポートしていません",
42
+ "Not supported": "",
43
43
  "Nothing yet...": "",
44
44
  "Ok": "",
45
- "Only visible to you": "",
46
- "Open Settings": "",
45
+ "Only visible to you": "あなただけに見える",
46
+ "Open Settings": "設定を開く",
47
47
  "Photo": "",
48
- "Photos and Videos": "",
48
+ "Photos and Videos": "写真と動画",
49
49
  "Pin to Conversation": "",
50
- "Pinned by": "",
51
- "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
50
+ "Pinned by": "ピン留めされユーザー",
51
+ "Please enable access to your photos and videos so you can share them.": "写真やビデオへのアクセスを有効にして、共有できるようにしてください。",
52
+ "Please select a channel first": "最初にチャンネルを選択してください",
53
53
  "Reconnecting...": "",
54
54
  "Reply": "",
55
55
  "Reply to Message": "",
56
56
  "Resend": "",
57
57
  "Search GIFs": "",
58
- "Select More Photos": "",
58
+ "Select More Photos": "さらに写真を選択",
59
59
  "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "この会話ではリンク機能を使用できません。",
@@ -63,17 +63,17 @@
63
63
  "The message has been reported to a moderator.": "",
64
64
  "Thread Reply": "",
65
65
  "Unblock User": "",
66
- "Unknown User": "",
66
+ "Unknown User": "不明なユーザー",
67
67
  "Unmute User": "",
68
68
  "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "",
71
71
  "You": "",
72
- "You can't send messages in this channel": "",
72
+ "You can't send messages in this channel": "このチャンネルではメッセージを送信できません",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
- "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "",
76
- "{{ replyCount }} Thread Replies": "",
74
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
75
+ "{{ replyCount }} Replies": "{{ replyCount }}件の返信",
76
+ "{{ replyCount }} Thread Replies": "{{ replyCount }}件のスレッド返信",
77
77
  "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
2
+ "1 Reply": "답장 1개",
3
+ "1 Thread Reply": "1개의 스레드 답글",
4
+ "Allow access to your Gallery": "갤러리에 대한 액세스를 허용",
5
+ "Allow camera access in device settings": "기기 설정에서 카메라 액세스를 허용하세요.",
6
+ "Also send to channel": "채널에도 전송",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -13,22 +13,22 @@
13
13
  "Copy Message": "",
14
14
  "Delete": "",
15
15
  "Delete Message": "",
16
- "Device camera is used to take photos or videos.": "",
16
+ "Device camera is used to take photos or videos.": "기기 카메라는 사진이나 동영상을 촬영하는 데 사용됩니다.",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
18
  "Edit Message": "",
19
19
  "Editing Message": "",
20
- "Emoji matching": "이모티콘 매칭",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "지원하지 않는 파일입니다.",
26
+ "File type not supported": "",
27
27
  "Flag": "",
28
28
  "Flag Message": "",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "",
30
30
  "How about sending your first message to a friend?": "",
31
- "Instant Commands": "인스턴트 명령",
31
+ "Instant Commands": "",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "링크 기능이 비활성화되었습니다",
34
34
  "Loading channels...": "",
@@ -39,23 +39,23 @@
39
39
  "Message deleted": "",
40
40
  "Message flagged": "",
41
41
  "Mute User": "",
42
- "Not supported": "지원하지 않습니다",
42
+ "Not supported": "",
43
43
  "Nothing yet...": "",
44
44
  "Ok": "",
45
- "Only visible to you": "",
46
- "Open Settings": "",
45
+ "Only visible to you": "당신만 볼 수 있습니다",
46
+ "Open Settings": "설정 열기",
47
47
  "Photo": "",
48
- "Photos and Videos": "",
48
+ "Photos and Videos": "사진과 동영상",
49
49
  "Pin to Conversation": "",
50
- "Pinned by": "",
51
- "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
50
+ "Pinned by": "고정된 사용자",
51
+ "Please enable access to your photos and videos so you can share them.": "사진 및 비디오에 대한 액세스를 사용하여 공유 할 수 있도록합니다.",
52
+ "Please select a channel first": "먼저 채널을 선택하십시오",
53
53
  "Reconnecting...": "",
54
54
  "Reply": "",
55
55
  "Reply to Message": "",
56
56
  "Resend": "",
57
57
  "Search GIFs": "",
58
- "Select More Photos": "",
58
+ "Select More Photos": "추가 사진 선택",
59
59
  "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "이 대화에서는 링크 기능을 사용할 수 없습니다",
@@ -63,17 +63,17 @@
63
63
  "The message has been reported to a moderator.": "",
64
64
  "Thread Reply": "",
65
65
  "Unblock User": "",
66
- "Unknown User": "",
66
+ "Unknown User": "알 수없는 사용자",
67
67
  "Unmute User": "",
68
68
  "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "",
71
71
  "You": "",
72
- "You can't send messages in this channel": "",
72
+ "You can't send messages in this channel": "이 채널에서는 메세지를 전송할 수 없습니다",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
- "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "",
76
- "{{ replyCount }} Thread Replies": "",
74
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
75
+ "{{ replyCount }} Replies": "{{ replyCount }} 답글",
76
+ "{{ replyCount }} Thread Replies": "{{ replyCount }} 스레드 답글",
77
77
  "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
2
+ "1 Reply": "1 Antwoord",
3
+ "1 Thread Reply": "1 thread antwoord",
4
+ "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
+ "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
6
+ "Also send to channel": "Stuur ook naar kanaal",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -13,22 +13,22 @@
13
13
  "Copy Message": "",
14
14
  "Delete": "",
15
15
  "Delete Message": "",
16
- "Device camera is used to take photos or videos.": "",
16
+ "Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
18
  "Edit Message": "",
19
19
  "Editing Message": "",
20
- "Emoji matching": "Emoji-overeenkomsten",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "Bestandstype niet ondersteund",
26
+ "File type not supported": "",
27
27
  "Flag": "",
28
28
  "Flag Message": "",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "",
30
30
  "How about sending your first message to a friend?": "",
31
- "Instant Commands": "Directe Opdrachten",
31
+ "Instant Commands": "",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "Het versturen van links staat uit",
34
34
  "Loading channels...": "",
@@ -39,23 +39,23 @@
39
39
  "Message deleted": "",
40
40
  "Message flagged": "",
41
41
  "Mute User": "",
42
- "Not supported": "niet ondersteund",
42
+ "Not supported": "",
43
43
  "Nothing yet...": "",
44
44
  "Ok": "",
45
- "Only visible to you": "",
46
- "Open Settings": "",
45
+ "Only visible to you": "Alleen zichtbaar voor jou",
46
+ "Open Settings": "Open instellingen",
47
47
  "Photo": "",
48
- "Photos and Videos": "",
48
+ "Photos and Videos": "Foto's en video's",
49
49
  "Pin to Conversation": "",
50
- "Pinned by": "",
51
- "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
50
+ "Pinned by": "Vastgemaakt door",
51
+ "Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
52
+ "Please select a channel first": "Selecteer eerst een kanaal",
53
53
  "Reconnecting...": "",
54
54
  "Reply": "",
55
55
  "Reply to Message": "",
56
56
  "Resend": "",
57
57
  "Search GIFs": "",
58
- "Select More Photos": "",
58
+ "Select More Photos": "Selecteer Meer foto's",
59
59
  "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
@@ -63,17 +63,17 @@
63
63
  "The message has been reported to a moderator.": "",
64
64
  "Thread Reply": "",
65
65
  "Unblock User": "",
66
- "Unknown User": "",
66
+ "Unknown User": "Onbekende gebruiker",
67
67
  "Unmute User": "",
68
68
  "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "",
71
71
  "You": "",
72
- "You can't send messages in this channel": "",
72
+ "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
- "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "",
76
- "{{ replyCount }} Thread Replies": "",
74
+ "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
75
+ "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
76
+ "{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
77
77
  "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
2
+ "1 Reply": "1 Ответ",
3
+ "1 Thread Reply": "1 тема Ответить",
4
+ "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
+ "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
+ "Also send to channel": "Также отправить на канал",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -13,22 +13,22 @@
13
13
  "Copy Message": "",
14
14
  "Delete": "",
15
15
  "Delete Message": "",
16
- "Device camera is used to take photos or videos.": "",
16
+ "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
18
  "Edit Message": "",
19
19
  "Editing Message": "",
20
- "Emoji matching": "Соответствие эмодзи",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "Тип файла не поддерживается",
26
+ "File type not supported": "",
27
27
  "Flag": "",
28
28
  "Flag Message": "",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "",
30
30
  "How about sending your first message to a friend?": "",
31
- "Instant Commands": "Мгновенные Команды",
31
+ "Instant Commands": "",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "Ссылки отключены",
34
34
  "Loading channels...": "",
@@ -39,23 +39,23 @@
39
39
  "Message deleted": "",
40
40
  "Message flagged": "",
41
41
  "Mute User": "",
42
- "Not supported": "не поддерживается",
42
+ "Not supported": "",
43
43
  "Nothing yet...": "",
44
44
  "Ok": "",
45
- "Only visible to you": "",
46
- "Open Settings": "",
45
+ "Only visible to you": "Видно только вам",
46
+ "Open Settings": "Открыть настройки",
47
47
  "Photo": "",
48
- "Photos and Videos": "",
48
+ "Photos and Videos": "Фото и видео",
49
49
  "Pin to Conversation": "",
50
- "Pinned by": "",
51
- "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
50
+ "Pinned by": "Закреплено пользователем",
51
+ "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
52
+ "Please select a channel first": "Пожалуйста, сначала выберите канал",
53
53
  "Reconnecting...": "",
54
54
  "Reply": "",
55
55
  "Reply to Message": "",
56
56
  "Resend": "",
57
57
  "Search GIFs": "",
58
- "Select More Photos": "",
58
+ "Select More Photos": "Выбрать больше фотографий",
59
59
  "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
@@ -63,17 +63,17 @@
63
63
  "The message has been reported to a moderator.": "",
64
64
  "Thread Reply": "",
65
65
  "Unblock User": "",
66
- "Unknown User": "",
66
+ "Unknown User": "Неизвестный пользователь",
67
67
  "Unmute User": "",
68
68
  "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "",
71
71
  "You": "",
72
- "You can't send messages in this channel": "",
72
+ "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
- "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "",
76
- "{{ replyCount }} Thread Replies": "",
74
+ "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
75
+ "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
76
+ "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
77
77
  "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
2
+ "1 Reply": "1 Cevap",
3
+ "1 Thread Reply": "1 Konu Yanıtı",
4
+ "Allow access to your Gallery": "Galerinize erişime izin verin",
5
+ "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
+ "Also send to channel": "Kanala da gönder",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
9
  "Block User": "",
@@ -13,22 +13,22 @@
13
13
  "Copy Message": "",
14
14
  "Delete": "",
15
15
  "Delete Message": "",
16
- "Device camera is used to take photos or videos.": "",
16
+ "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
18
  "Edit Message": "",
19
19
  "Editing Message": "",
20
- "Emoji matching": "Emoji eşleştirme",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "Dosya türü desteklenmiyor",
26
+ "File type not supported": "",
27
27
  "Flag": "",
28
28
  "Flag Message": "",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "",
30
30
  "How about sending your first message to a friend?": "",
31
- "Instant Commands": "Anlık Komutlar",
31
+ "Instant Commands": "",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "Bağlantılar devre dışı",
34
34
  "Loading channels...": "",
@@ -39,23 +39,23 @@
39
39
  "Message deleted": "",
40
40
  "Message flagged": "",
41
41
  "Mute User": "",
42
- "Not supported": "Desteklenmiyor",
42
+ "Not supported": "",
43
43
  "Nothing yet...": "",
44
44
  "Ok": "",
45
- "Only visible to you": "",
46
- "Open Settings": "",
45
+ "Only visible to you": "Sadece siz görebilirsiniz",
46
+ "Open Settings": "Ayarları aç",
47
47
  "Photo": "",
48
- "Photos and Videos": "",
48
+ "Photos and Videos": "Fotoğraflar ve Videolar",
49
49
  "Pin to Conversation": "",
50
- "Pinned by": "",
51
- "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
50
+ "Pinned by": "Tarafından sabitlendi",
51
+ "Please enable access to your photos and videos so you can share them.": "Paylaşım yapabilmek için lutfen fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
52
+ "Please select a channel first": "Lütfen önce bir kanal seçiniz",
53
53
  "Reconnecting...": "",
54
54
  "Reply": "",
55
55
  "Reply to Message": "",
56
56
  "Resend": "",
57
57
  "Search GIFs": "",
58
- "Select More Photos": "",
58
+ "Select More Photos": "Daha Fazla Fotoğraf Seçin",
59
59
  "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
@@ -63,17 +63,17 @@
63
63
  "The message has been reported to a moderator.": "",
64
64
  "Thread Reply": "",
65
65
  "Unblock User": "",
66
- "Unknown User": "",
66
+ "Unknown User": "Bilinmeyen kullanıcı",
67
67
  "Unmute User": "",
68
68
  "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "",
71
71
  "You": "",
72
- "You can't send messages in this channel": "",
72
+ "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
- "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "",
76
- "{{ replyCount }} Thread Replies": "",
74
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
75
+ "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
76
+ "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
77
77
  "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.25.0-beta.4"
2
+ "version": "5.25.0-beta.6"
3
3
  }
@@ -97,14 +97,18 @@ var ChatWithContext = function ChatWithContext(props) {
97
97
  });
98
98
  (0, _useSyncDatabase.useSyncDatabase)({
99
99
  client: client,
100
- enableOfflineSupport: enableOfflineSupport
100
+ enableOfflineSupport: enableOfflineSupport,
101
+ initialisedDatabase: initialisedDatabase
101
102
  });
103
+ if (enableOfflineSupport && !initialisedDatabase) {
104
+ return null;
105
+ }
102
106
  return _react["default"].createElement(_ChatContext.ChatProvider, {
103
107
  value: chatContext,
104
108
  __self: _this,
105
109
  __source: {
106
110
  fileName: _jsxFileName,
107
- lineNumber: 221,
111
+ lineNumber: 226,
108
112
  columnNumber: 5
109
113
  }
110
114
  }, _react["default"].createElement(_TranslationContext.TranslationProvider, {
@@ -114,7 +118,7 @@ var ChatWithContext = function ChatWithContext(props) {
114
118
  __self: _this,
115
119
  __source: {
116
120
  fileName: _jsxFileName,
117
- lineNumber: 222,
121
+ lineNumber: 227,
118
122
  columnNumber: 7
119
123
  }
120
124
  }, _react["default"].createElement(_ThemeContext.ThemeProvider, {
@@ -122,14 +126,14 @@ var ChatWithContext = function ChatWithContext(props) {
122
126
  __self: _this,
123
127
  __source: {
124
128
  fileName: _jsxFileName,
125
- lineNumber: 225,
129
+ lineNumber: 230,
126
130
  columnNumber: 9
127
131
  }
128
132
  }, _react["default"].createElement(_ChannelsStateContext.ChannelsStateProvider, {
129
133
  __self: _this,
130
134
  __source: {
131
135
  fileName: _jsxFileName,
132
- lineNumber: 226,
136
+ lineNumber: 231,
133
137
  columnNumber: 11
134
138
  }
135
139
  }, children))));
@@ -143,7 +147,7 @@ var Chat = function Chat(props) {
143
147
  __self: _this,
144
148
  __source: {
145
149
  fileName: _jsxFileName,
146
- lineNumber: 261,
150
+ lineNumber: 266,
147
151
  columnNumber: 10
148
152
  }
149
153
  }));
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_useAppSettings","_useCreateChatContext","_useIsOnline2","_useMutedUsers","_useSyncDatabase","_ChannelsStateContext","_ChatContext","_DebugContext","_OverlayContext","_ThemeContext","_TranslationContext","_useStreami18n","_init","_interopRequireDefault","_native","_QuickSqliteClient","_DBSyncManager","_version","_this","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","init","ChatWithContext","props","_client$user2","_client$user3","children","client","_props$closeConnectio","closeConnectionOnBackground","_props$enableOfflineS","enableOfflineSupport","i18nInstance","_props$ImageComponent","ImageComponent","Image","style","_useState","useState","_useState2","_slicedToArray2","channel","setChannel","translators","useStreami18n","_useIsOnline","useIsOnline","connectionRecovering","isOnline","_useState3","_useState4","initialisedDatabase","setInitialisedDatabase","mutedUsers","useMutedUsers","debugRef","useDebugContext","isDebugModeEnabled","__DEV__","current","useEffect","setUserAgent","SDK","Platform","OS","version","recoverStateOnReconnect","persistUserOnConnectionFailure","setEventType","setSendEventParams","action","data","user","setActiveChannel","newChannel","_client$user","id","QuickSqliteClient","initializeDatabase","DBSyncManager","appSettings","useAppSettings","chatContext","useCreateChatContext","useSyncDatabase","createElement","ChatProvider","value","__self","__source","fileName","lineNumber","columnNumber","TranslationProvider","_extends2","userLanguage","language","DEFAULT_USER_LANGUAGE","ThemeProvider","ChannelsStateProvider","Chat","_useOverlayContext","useOverlayContext","exports"],"sources":["Chat.tsx"],"sourcesContent":["import React, { PropsWithChildren, useEffect, useState } from 'react';\nimport { Image, Platform } from 'react-native';\n\nimport type { Channel, StreamChat } from 'stream-chat';\n\nimport { useAppSettings } from './hooks/useAppSettings';\nimport { useCreateChatContext } from './hooks/useCreateChatContext';\nimport { useIsOnline } from './hooks/useIsOnline';\nimport { useMutedUsers } from './hooks/useMutedUsers';\n\nimport { useSyncDatabase } from './hooks/useSyncDatabase';\n\nimport { ChannelsStateProvider } from '../../contexts/channelsStateContext/ChannelsStateContext';\nimport { ChatContextValue, ChatProvider } from '../../contexts/chatContext/ChatContext';\nimport { useDebugContext } from '../../contexts/debugContext/DebugContext';\nimport { useOverlayContext } from '../../contexts/overlayContext/OverlayContext';\nimport { DeepPartial, ThemeProvider } from '../../contexts/themeContext/ThemeContext';\nimport type { Theme } from '../../contexts/themeContext/utils/theme';\nimport {\n DEFAULT_USER_LANGUAGE,\n TranslationProvider,\n} from '../../contexts/translationContext/TranslationContext';\nimport { useStreami18n } from '../../hooks/useStreami18n';\nimport init from '../../init';\n\nimport { SDK } from '../../native';\nimport { QuickSqliteClient } from '../../store/QuickSqliteClient';\nimport type { DefaultStreamChatGenerics } from '../../types/types';\nimport { DBSyncManager } from '../../utils/DBSyncManager';\nimport type { Streami18n } from '../../utils/Streami18n';\nimport { version } from '../../version.json';\n\ninit();\n\nexport type ChatProps<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = Pick<ChatContextValue<StreamChatGenerics>, 'client'> &\n Partial<Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'>> & {\n /**\n * When false, ws connection won't be disconnection upon backgrounding the app.\n * To receive push notifications, its necessary that user doesn't have active\n * websocket connection. So by default, we disconnect websocket connection when\n * app goes to background, and reconnect when app comes to foreground.\n */\n closeConnectionOnBackground?: boolean;\n /**\n * Enables offline storage and loading for chat data.\n */\n enableOfflineSupport?: boolean;\n /**\n * Instance of Streami18n class should be provided to Chat component to enable internationalization.\n *\n * Stream provides following list of in-built translations:\n * 1. English (en)\n * 2. Dutch (nl)\n * 3. ...\n * 4. ...\n *\n * Simplest way to start using chat components in one of the in-built languages would be following:\n *\n * ```\n * const i18n = new Streami18n('nl');\n * <Chat client={chatClient} i18nInstance={i18n}>\n * ...\n * </Chat>\n * ```\n *\n * If you would like to override certain keys in in-built translation.\n * UI will be automatically updated in this case.\n *\n * ```\n * const i18n = new Streami18n('nl');\n *\n * i18n.registerTranslation('nl', {\n * 'Nothing yet...': 'Nog Niet ...',\n * '{{ firstUser }} and {{ secondUser }} are typing...': '{{ firstUser }} en {{ secondUser }} zijn aan het typen...',\n * });\n *\n * <Chat client={chatClient} i18nInstance={i18n}>\n * ...\n * </Chat>\n * ```\n *\n * You can use the same function to add whole new language.\n *\n * ```\n * const i18n = new Streami18n('it');\n *\n * i18n.registerTranslation('it', {\n * 'Nothing yet...': 'Non ancora ...',\n * '{{ firstUser }} and {{ secondUser }} are typing...': '{{ firstUser }} a {{ secondUser }} stanno scrivendo...',\n * });\n *\n * // Make sure to call setLanguage to reflect new language in UI.\n * i18n.setLanguage('it');\n * <Chat client={chatClient} i18nInstance={i18n}>\n * ...\n * </Chat>\n * ```\n */\n i18nInstance?: Streami18n;\n /**\n * You can pass the theme object to customize the styles of Chat components. You can check the default theme in [theme.ts](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/contexts/themeContext/utils/theme.ts)\n *\n * Please check section about [themes in cookbook](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#theme) for details.\n *\n * ```\n * import type { DeepPartial, Theme } from 'stream-chat-react-native';\n *\n * const theme: DeepPartial<Theme> = {\n * messageSimple: {\n * file: {\n * container: {\n * backgroundColor: 'red',\n * },\n * icon: {\n * height: 16,\n * width: 16,\n * },\n * },\n * },\n * };\n *\n * <Chat style={theme}>\n * </Chat>\n * ```\n *\n * @overrideType object\n */\n style?: DeepPartial<Theme>;\n };\n\nconst ChatWithContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n props: PropsWithChildren<ChatProps<StreamChatGenerics>>,\n) => {\n const {\n children,\n client,\n closeConnectionOnBackground = true,\n enableOfflineSupport = false,\n i18nInstance,\n ImageComponent = Image,\n style,\n } = props;\n\n const [channel, setChannel] = useState<Channel<StreamChatGenerics>>();\n\n // Setup translators\n const translators = useStreami18n(i18nInstance);\n\n /**\n * Setup connection event listeners\n */\n const { connectionRecovering, isOnline } = useIsOnline<StreamChatGenerics>(\n client,\n closeConnectionOnBackground,\n );\n\n const [initialisedDatabase, setInitialisedDatabase] = useState(false);\n\n /**\n * Setup muted user listener\n * TODO: reimplement\n */\n const mutedUsers = useMutedUsers<StreamChatGenerics>(client);\n\n const debugRef = useDebugContext();\n const isDebugModeEnabled = __DEV__ && debugRef && debugRef.current;\n\n useEffect(() => {\n if (client) {\n client.setUserAgent(`${SDK}-${Platform.OS}-${version}`);\n // This is to disable recovery related logic in js client, since we handle it in this SDK\n client.recoverStateOnReconnect = false;\n client.persistUserOnConnectionFailure = enableOfflineSupport;\n }\n\n if (isDebugModeEnabled) {\n if (debugRef.current.setEventType) debugRef.current.setEventType('send');\n if (debugRef.current.setSendEventParams)\n debugRef.current.setSendEventParams({\n action: 'Client',\n data: client.user,\n });\n }\n }, [client, enableOfflineSupport]);\n\n const setActiveChannel = (newChannel?: Channel<StreamChatGenerics>) => setChannel(newChannel);\n\n useEffect(() => {\n if (client.user?.id && enableOfflineSupport) {\n setInitialisedDatabase(false);\n QuickSqliteClient.initializeDatabase();\n DBSyncManager.init(client as unknown as StreamChat);\n setInitialisedDatabase(true);\n }\n }, [client?.user?.id, enableOfflineSupport]);\n\n const appSettings = useAppSettings(client, isOnline, enableOfflineSupport, initialisedDatabase);\n\n const chatContext = useCreateChatContext({\n appSettings,\n channel,\n client,\n connectionRecovering,\n enableOfflineSupport,\n ImageComponent,\n isOnline,\n mutedUsers,\n setActiveChannel,\n });\n\n useSyncDatabase({\n client,\n enableOfflineSupport,\n });\n\n return (\n <ChatProvider<StreamChatGenerics> value={chatContext}>\n <TranslationProvider\n value={{ ...translators, userLanguage: client.user?.language || DEFAULT_USER_LANGUAGE }}\n >\n <ThemeProvider style={style}>\n <ChannelsStateProvider<StreamChatGenerics>>{children}</ChannelsStateProvider>\n </ThemeProvider>\n </TranslationProvider>\n </ChatProvider>\n );\n};\n\n/**\n * Chat - Wrapper component for Chat. The needs to be placed around any other chat components.\n * This Chat component provides the ChatContext to all other components.\n *\n * The ChatContext provides the following props:\n *\n * - channel - currently active channel\n * - client - client connection\n * - connectionRecovering - whether or not websocket is reconnecting\n * - isOnline - whether or not set user is active\n * - setActiveChannel - function to set the currently active channel\n *\n * The Chat Component takes the following generics in order:\n * - At (AttachmentType) - custom Attachment object extension\n * - Ct (ChannelType) - custom Channel object extension\n * - Co (CommandType) - custom Command string union extension\n * - Ev (EventType) - custom Event object extension\n * - Me (MessageType) - custom Message object extension\n * - Re (ReactionType) - custom Reaction object extension\n * - Us (UserType) - custom User object extension\n */\nexport const Chat = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n props: PropsWithChildren<ChatProps<StreamChatGenerics>>,\n) => {\n const { style } = useOverlayContext();\n\n return <ChatWithContext {...{ style }} {...props} />;\n};\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAA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ers","_useSyncDatabase","_ChannelsStateContext","_ChatContext","_DebugContext","_OverlayContext","_ThemeContext","_TranslationContext","_useStreami18n","_init","_interopRequireDefault","_native","_QuickSqliteClient","_DBSyncManager","_version","_this","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","init","ChatWithContext","props","_client$user2","_client$user3","children","client","_props$closeConnectio","closeConnectionOnBackground","_props$enableOfflineS","enableOfflineSupport","i18nInstance","_props$ImageComponent","ImageComponent","Image","style","_useState","useState","_useState2","_slicedToArray2","channel","setChannel","translators","useStreami18n","_useIsOnline","useIsOnline","connectionRecovering","isOnline","_useState3","_useState4","initialisedDatabase","setInitialisedDatabase","mutedUsers","useMutedUsers","debugRef","useDebugContext","isDebugModeEnabled","__DEV__","current","useEffect","setUserAgent","SDK","Platform","OS","version","recoverStateOnReconnect","persistUserOnConnectionFailure","setEventType","setSendEventParams","action","data","user","setActiveChannel","newChannel","_client$user","id","QuickSqliteClient","initializeDatabase","DBSyncManager","appSettings","useAppSettings","chatContext","useCreateChatContext","useSyncDatabase","createElement","ChatProvider","value","__self","__source","fileName","lineNumber","columnNumber","TranslationProvider","_extends2","userLanguage","language","DEFAULT_USER_LANGUAGE","ThemeProvider","ChannelsStateProvider","Chat","_useOverlayContext","useOverlayContext","exports"],"sources":["Chat.tsx"],"sourcesContent":["import React, { PropsWithChildren, useEffect, useState } from 'react';\nimport { Image, Platform } from 'react-native';\n\nimport type { Channel, StreamChat } from 'stream-chat';\n\nimport { useAppSettings } from './hooks/useAppSettings';\nimport { useCreateChatContext } from './hooks/useCreateChatContext';\nimport { useIsOnline } from './hooks/useIsOnline';\nimport { useMutedUsers } from './hooks/useMutedUsers';\n\nimport { useSyncDatabase } from './hooks/useSyncDatabase';\n\nimport { ChannelsStateProvider } from '../../contexts/channelsStateContext/ChannelsStateContext';\nimport { ChatContextValue, ChatProvider } from '../../contexts/chatContext/ChatContext';\nimport { useDebugContext } from '../../contexts/debugContext/DebugContext';\nimport { useOverlayContext } from '../../contexts/overlayContext/OverlayContext';\nimport { DeepPartial, ThemeProvider } from '../../contexts/themeContext/ThemeContext';\nimport type { Theme } from '../../contexts/themeContext/utils/theme';\nimport {\n DEFAULT_USER_LANGUAGE,\n TranslationProvider,\n} from '../../contexts/translationContext/TranslationContext';\nimport { useStreami18n } from '../../hooks/useStreami18n';\nimport init from '../../init';\n\nimport { SDK } from '../../native';\nimport { QuickSqliteClient } from '../../store/QuickSqliteClient';\nimport type { DefaultStreamChatGenerics } from '../../types/types';\nimport { DBSyncManager } from '../../utils/DBSyncManager';\nimport type { Streami18n } from '../../utils/Streami18n';\nimport { version } from '../../version.json';\n\ninit();\n\nexport type ChatProps<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = Pick<ChatContextValue<StreamChatGenerics>, 'client'> &\n Partial<Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'>> & {\n /**\n * When false, ws connection won't be disconnection upon backgrounding the app.\n * To receive push notifications, its necessary that user doesn't have active\n * websocket connection. So by default, we disconnect websocket connection when\n * app goes to background, and reconnect when app comes to foreground.\n */\n closeConnectionOnBackground?: boolean;\n /**\n * Enables offline storage and loading for chat data.\n */\n enableOfflineSupport?: boolean;\n /**\n * Instance of Streami18n class should be provided to Chat component to enable internationalization.\n *\n * Stream provides following list of in-built translations:\n * 1. English (en)\n * 2. Dutch (nl)\n * 3. ...\n * 4. ...\n *\n * Simplest way to start using chat components in one of the in-built languages would be following:\n *\n * ```\n * const i18n = new Streami18n('nl');\n * <Chat client={chatClient} i18nInstance={i18n}>\n * ...\n * </Chat>\n * ```\n *\n * If you would like to override certain keys in in-built translation.\n * UI will be automatically updated in this case.\n *\n * ```\n * const i18n = new Streami18n('nl');\n *\n * i18n.registerTranslation('nl', {\n * 'Nothing yet...': 'Nog Niet ...',\n * '{{ firstUser }} and {{ secondUser }} are typing...': '{{ firstUser }} en {{ secondUser }} zijn aan het typen...',\n * });\n *\n * <Chat client={chatClient} i18nInstance={i18n}>\n * ...\n * </Chat>\n * ```\n *\n * You can use the same function to add whole new language.\n *\n * ```\n * const i18n = new Streami18n('it');\n *\n * i18n.registerTranslation('it', {\n * 'Nothing yet...': 'Non ancora ...',\n * '{{ firstUser }} and {{ secondUser }} are typing...': '{{ firstUser }} a {{ secondUser }} stanno scrivendo...',\n * });\n *\n * // Make sure to call setLanguage to reflect new language in UI.\n * i18n.setLanguage('it');\n * <Chat client={chatClient} i18nInstance={i18n}>\n * ...\n * </Chat>\n * ```\n */\n i18nInstance?: Streami18n;\n /**\n * You can pass the theme object to customize the styles of Chat components. You can check the default theme in [theme.ts](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/contexts/themeContext/utils/theme.ts)\n *\n * Please check section about [themes in cookbook](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#theme) for details.\n *\n * ```\n * import type { DeepPartial, Theme } from 'stream-chat-react-native';\n *\n * const theme: DeepPartial<Theme> = {\n * messageSimple: {\n * file: {\n * container: {\n * backgroundColor: 'red',\n * },\n * icon: {\n * height: 16,\n * width: 16,\n * },\n * },\n * },\n * };\n *\n * <Chat style={theme}>\n * </Chat>\n * ```\n *\n * @overrideType object\n */\n style?: DeepPartial<Theme>;\n };\n\nconst ChatWithContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n props: PropsWithChildren<ChatProps<StreamChatGenerics>>,\n) => {\n const {\n children,\n client,\n closeConnectionOnBackground = true,\n enableOfflineSupport = false,\n i18nInstance,\n ImageComponent = Image,\n style,\n } = props;\n\n const [channel, setChannel] = useState<Channel<StreamChatGenerics>>();\n\n // Setup translators\n const translators = useStreami18n(i18nInstance);\n\n /**\n * Setup connection event listeners\n */\n const { connectionRecovering, isOnline } = useIsOnline<StreamChatGenerics>(\n client,\n closeConnectionOnBackground,\n );\n\n const [initialisedDatabase, setInitialisedDatabase] = useState(false);\n\n /**\n * Setup muted user listener\n * TODO: reimplement\n */\n const mutedUsers = useMutedUsers<StreamChatGenerics>(client);\n\n const debugRef = useDebugContext();\n const isDebugModeEnabled = __DEV__ && debugRef && debugRef.current;\n\n useEffect(() => {\n if (client) {\n client.setUserAgent(`${SDK}-${Platform.OS}-${version}`);\n // This is to disable recovery related logic in js client, since we handle it in this SDK\n client.recoverStateOnReconnect = false;\n client.persistUserOnConnectionFailure = enableOfflineSupport;\n }\n\n if (isDebugModeEnabled) {\n if (debugRef.current.setEventType) debugRef.current.setEventType('send');\n if (debugRef.current.setSendEventParams)\n debugRef.current.setSendEventParams({\n action: 'Client',\n data: client.user,\n });\n }\n }, [client, enableOfflineSupport]);\n\n const setActiveChannel = (newChannel?: Channel<StreamChatGenerics>) => setChannel(newChannel);\n\n useEffect(() => {\n if (client.user?.id && enableOfflineSupport) {\n setInitialisedDatabase(false);\n QuickSqliteClient.initializeDatabase();\n DBSyncManager.init(client as unknown as StreamChat);\n setInitialisedDatabase(true);\n }\n }, [client?.user?.id, enableOfflineSupport]);\n\n const appSettings = useAppSettings(client, isOnline, enableOfflineSupport, initialisedDatabase);\n\n const chatContext = useCreateChatContext({\n appSettings,\n channel,\n client,\n connectionRecovering,\n enableOfflineSupport,\n ImageComponent,\n isOnline,\n mutedUsers,\n setActiveChannel,\n });\n\n useSyncDatabase({\n client,\n enableOfflineSupport,\n initialisedDatabase,\n });\n\n if (enableOfflineSupport && !initialisedDatabase) {\n return null;\n }\n\n return (\n <ChatProvider<StreamChatGenerics> value={chatContext}>\n <TranslationProvider\n value={{ ...translators, userLanguage: client.user?.language || DEFAULT_USER_LANGUAGE }}\n >\n <ThemeProvider style={style}>\n <ChannelsStateProvider<StreamChatGenerics>>{children}</ChannelsStateProvider>\n </ThemeProvider>\n </TranslationProvider>\n </ChatProvider>\n );\n};\n\n/**\n * Chat - Wrapper component for Chat. The needs to be placed around any other chat components.\n * This Chat component provides the ChatContext to all other components.\n *\n * The ChatContext provides the following props:\n *\n * - channel - currently active channel\n * - client - client connection\n * - connectionRecovering - whether or not websocket is reconnecting\n * - isOnline - whether or not set user is active\n * - setActiveChannel - function to set the currently active channel\n *\n * The Chat Component takes the following generics in order:\n * - At (AttachmentType) - custom Attachment object extension\n * - Ct (ChannelType) - custom Channel object extension\n * - Co (CommandType) - custom Command string union extension\n * - Ev (EventType) - custom Event object extension\n * - Me (MessageType) - custom Message object extension\n * - Re (ReactionType) - custom Reaction object extension\n * - Us (UserType) - custom User object extension\n */\nexport const Chat = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n props: PropsWithChildren<ChatProps<StreamChatGenerics>>,\n) => {\n const { style } = useOverlayContext();\n\n return <ChatWithContext {...{ style }} {...props} />;\n};\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,qBAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AAEA,IAAAM,gBAAA,GAAAN,OAAA;AAEA,IAAAO,qBAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AACA,IAAAW,aAAA,GAAAX,OAAA;AAEA,IAAAY,mBAAA,GAAAZ,OAAA;AAIA,IAAAa,cAAA,GAAAb,OAAA;AACA,IAAAc,KAAA,GAAAC,sBAAA,CAAAf,OAAA;AAEA,IAAAgB,OAAA,GAAAhB,OAAA;AACA,IAAAiB,kBAAA,GAAAjB,OAAA;AAEA,IAAAkB,cAAA,GAAAlB,OAAA;AAEA,IAAAmB,QAAA,GAAAnB,OAAA;AAA6C,IAAAoB,KAAA;EAAAC,YAAA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