stream-chat-react-native-core 5.27.0-beta.2 → 5.27.0-beta.3

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 (62) hide show
  1. package/lib/commonjs/components/Chat/Chat.js +25 -16
  2. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  3. package/lib/commonjs/components/Chat/hooks/useAppSettings.js +18 -12
  4. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  5. package/lib/commonjs/i18n/en.json +1 -1
  6. package/lib/commonjs/i18n/es.json +35 -35
  7. package/lib/commonjs/i18n/fr.json +35 -35
  8. package/lib/commonjs/i18n/he.json +35 -35
  9. package/lib/commonjs/i18n/hi.json +35 -35
  10. package/lib/commonjs/i18n/it.json +35 -35
  11. package/lib/commonjs/i18n/ja.json +35 -35
  12. package/lib/commonjs/i18n/ko.json +35 -35
  13. package/lib/commonjs/i18n/nl.json +35 -35
  14. package/lib/commonjs/i18n/pt-BR.json +35 -35
  15. package/lib/commonjs/i18n/ru.json +35 -35
  16. package/lib/commonjs/i18n/tr.json +35 -35
  17. package/lib/commonjs/version.json +1 -1
  18. package/lib/module/components/Chat/Chat.js +25 -16
  19. package/lib/module/components/Chat/Chat.js.map +1 -1
  20. package/lib/module/components/Chat/hooks/useAppSettings.js +18 -12
  21. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  22. package/lib/module/i18n/en.json +1 -1
  23. package/lib/module/i18n/es.json +35 -35
  24. package/lib/module/i18n/fr.json +35 -35
  25. package/lib/module/i18n/he.json +35 -35
  26. package/lib/module/i18n/hi.json +35 -35
  27. package/lib/module/i18n/it.json +35 -35
  28. package/lib/module/i18n/ja.json +35 -35
  29. package/lib/module/i18n/ko.json +35 -35
  30. package/lib/module/i18n/nl.json +35 -35
  31. package/lib/module/i18n/pt-BR.json +35 -35
  32. package/lib/module/i18n/ru.json +35 -35
  33. package/lib/module/i18n/tr.json +35 -35
  34. package/lib/module/version.json +1 -1
  35. package/lib/typescript/i18n/en.json +1 -1
  36. package/lib/typescript/i18n/es.json +35 -35
  37. package/lib/typescript/i18n/fr.json +35 -35
  38. package/lib/typescript/i18n/he.json +35 -35
  39. package/lib/typescript/i18n/hi.json +35 -35
  40. package/lib/typescript/i18n/it.json +35 -35
  41. package/lib/typescript/i18n/ja.json +35 -35
  42. package/lib/typescript/i18n/ko.json +35 -35
  43. package/lib/typescript/i18n/nl.json +35 -35
  44. package/lib/typescript/i18n/pt-BR.json +35 -35
  45. package/lib/typescript/i18n/ru.json +35 -35
  46. package/lib/typescript/i18n/tr.json +35 -35
  47. package/package.json +1 -1
  48. package/src/components/Chat/Chat.tsx +17 -6
  49. package/src/components/Chat/hooks/useAppSettings.ts +3 -1
  50. package/src/i18n/en.json +1 -1
  51. package/src/i18n/es.json +35 -35
  52. package/src/i18n/fr.json +35 -35
  53. package/src/i18n/he.json +35 -35
  54. package/src/i18n/hi.json +35 -35
  55. package/src/i18n/it.json +35 -35
  56. package/src/i18n/ja.json +35 -35
  57. package/src/i18n/ko.json +35 -35
  58. package/src/i18n/nl.json +35 -35
  59. package/src/i18n/pt-BR.json +35 -35
  60. package/src/i18n/ru.json +35 -35
  61. package/src/i18n/tr.json +35 -35
  62. package/src/version.json +1 -1
@@ -4,76 +4,76 @@
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Weet u zeker dat u dit bericht definitief wilt verwijderen?",
7
+ "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "Weet je het zeker?",
9
- "Block User": "Blokkeer Gebruiker",
10
- "Cancel": "Annuleer",
11
- "Cannot Flag Message": "Kan bericht niet rapporteren",
9
+ "Block User": "",
10
+ "Cancel": "",
11
+ "Cannot Flag Message": "",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Denk na over hoe jouw opmerking anderen zou kunnen laten voelen en zorg ervoor dat je onze Community-richtlijnen volgt",
13
- "Copy Message": "Bericht kopiëren",
14
- "Delete": "Verwijderen",
15
- "Delete Message": "Verwijder bericht",
13
+ "Copy Message": "",
14
+ "Delete": "",
15
+ "Delete Message": "",
16
16
  "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "Wil je een kopie van dit bericht naar een moderator sturen voor verder onderzoek?",
18
- "Edit Message": "Pas bericht aan",
19
- "Editing Message": "Bericht aanpassen",
20
- "Emoji matching": "Emoji-overeenkomsten",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
+ "Edit Message": "",
19
+ "Editing Message": "",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
- "Error loading messages for this channel...": "Probleem bij het laden van de berichten in dit kanaal...",
24
+ "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "",
27
- "Flag": "Markeer",
28
- "Flag Message": "Markeer bericht",
29
- "Flag action failed either due to a network issue or the message is already flagged": "Rapporteren mislukt door een netwerk fout of het berich is al gerapporteerd",
26
+ "File type not supported": "Bestandstype niet ondersteund",
27
+ "Flag": "",
28
+ "Flag Message": "",
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
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "Kanalen aan het laden...",
35
+ "Loading messages...": "Berichten aan het laden...",
36
+ "Loading...": "Aan het laden...",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
38
38
  "Message Reactions": "",
39
39
  "Message deleted": "Bericht verwijderd",
40
- "Message flagged": "Bericht gemarkeerd",
41
- "Mute User": "Gebruiker dempen",
40
+ "Message flagged": "",
41
+ "Mute User": "",
42
42
  "Not supported": "niet ondersteund",
43
43
  "Nothing yet...": "",
44
- "Ok": "Oké",
45
- "Only visible to you": "",
44
+ "Ok": "",
45
+ "Only visible to you": "Alleen zichtbaar voor jou",
46
46
  "Open Settings": "",
47
47
  "Photo": "Foto",
48
48
  "Photos and Videos": "",
49
- "Pin to Conversation": "Vastmaken aan gesprek",
49
+ "Pin to Conversation": "",
50
50
  "Pinned by": "",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
52
  "Please select a channel first": "Selecteer eerst een kanaal",
53
- "Reconnecting...": "Opnieuw Verbinding Maken...",
54
- "Reply": "Antwoord",
53
+ "Reconnecting...": "",
54
+ "Reply": "",
55
55
  "Reply to Message": "",
56
- "Resend": "Opnieuw versturen",
56
+ "Resend": "",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
59
  "Send Anyway": "Toch verzenden",
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",
62
62
  "Slow mode ON": "",
63
- "The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
64
- "Thread Reply": "Discussie beantwoorden",
65
- "Unblock User": "Deblokkeer gebruiker",
63
+ "The message has been reported to a moderator.": "",
64
+ "Thread Reply": "",
65
+ "Unblock User": "",
66
66
  "Unknown User": "",
67
- "Unmute User": "Dempen van gebruiker opheffen",
68
- "Unpin from Conversation": "Losmaken van gesprek",
67
+ "Unmute User": "",
68
+ "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "Video",
71
71
  "You": "U",
72
72
  "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
73
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
74
  "{{ index }} of {{ photoLength }}": "",
75
75
  "{{ replyCount }} Replies": "",
76
76
  "{{ replyCount }} Thread Replies": "",
77
- "{{ user }} is typing": "{{ user }} is aan het typen",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -4,76 +4,76 @@
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Tem certeza de que deseja excluir esta mensagem permanentemente?",
7
+ "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "Tem certeza?",
9
- "Block User": "Bloquear Usuário",
10
- "Cancel": "Cancelar",
11
- "Cannot Flag Message": "Não é possível reportar a mensagem",
9
+ "Block User": "",
10
+ "Cancel": "",
11
+ "Cannot Flag Message": "",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Considere como seu comentário pode fazer os outros se sentirem e certifique-se de seguir nossas Diretrizes da Comunidade",
13
- "Copy Message": "Copiar Mensagem",
14
- "Delete": "Excluir",
15
- "Delete Message": "Excluir Mensagem",
13
+ "Copy Message": "",
14
+ "Delete": "",
15
+ "Delete Message": "",
16
16
  "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "Deseja enviar uma cópia desta mensagem para um moderador para investigação adicional?",
18
- "Edit Message": "Editar Mensagem",
19
- "Editing Message": "Editando Mensagem",
20
- "Emoji matching": "Correspondência de Emoji",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
+ "Edit Message": "",
19
+ "Editing Message": "",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
- "Error loading messages for this channel...": "Erro ao carregar mensagens para este canal...",
24
+ "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "",
27
- "Flag": "Reportar",
28
- "Flag Message": "Reportar Mensagem",
29
- "Flag action failed either due to a network issue or the message is already flagged": "A ação para reportar a mensagem falhou devido a um problema de rede ou a mensagem já foi reportada.",
26
+ "File type not supported": "Tipo de arquivo não suportado",
27
+ "Flag": "",
28
+ "Flag Message": "",
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": "Comandos Instantâneos",
31
+ "Instant Commands": "",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "Links estão desabilitados",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "Carregando canais...",
35
+ "Loading messages...": "Carregando mensagens...",
36
+ "Loading...": "Carregando...",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Limite máximo de tamanho de arquivo atingido. Por favor, faça o upload de um arquivo abaixo de {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
38
38
  "Message Reactions": "",
39
39
  "Message deleted": "Mensagem excluída",
40
- "Message flagged": "Mensagem sinalizada",
41
- "Mute User": "Silenciar Usuário",
40
+ "Message flagged": "",
41
+ "Mute User": "",
42
42
  "Not supported": "Não suportado",
43
43
  "Nothing yet...": "",
44
- "Ok": "Ok",
45
- "Only visible to you": "",
44
+ "Ok": "",
45
+ "Only visible to you": "Apenas visível para você",
46
46
  "Open Settings": "",
47
47
  "Photo": "Foto",
48
48
  "Photos and Videos": "",
49
- "Pin to Conversation": "Fixar na Conversa",
49
+ "Pin to Conversation": "",
50
50
  "Pinned by": "",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
52
  "Please select a channel first": "Por favor, selecione um canal primeiro",
53
- "Reconnecting...": "Reconectando...",
54
- "Reply": "Responder",
53
+ "Reconnecting...": "",
54
+ "Reply": "",
55
55
  "Reply to Message": "",
56
- "Resend": "Reenviar",
56
+ "Resend": "",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
59
  "Send Anyway": "Enviar de qualquer maneira",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "Não é permitido enviar links nesta conversa",
62
62
  "Slow mode ON": "",
63
- "The message has been reported to a moderator.": "A mensagem foi relatada a um moderador.",
64
- "Thread Reply": "Respostas de Tópico",
65
- "Unblock User": "Desbloquear Usuário",
63
+ "The message has been reported to a moderator.": "",
64
+ "Thread Reply": "",
65
+ "Unblock User": "",
66
66
  "Unknown User": "",
67
- "Unmute User": "Remover usuário do modo silencioso",
68
- "Unpin from Conversation": "Desmarcar como fixado na conversa",
67
+ "Unmute User": "",
68
+ "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "Vídeo",
71
71
  "You": "Você",
72
72
  "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e mais {{ nonSelfUserLength }} pessoa(s) estão digitando",
73
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
74
  "{{ index }} of {{ photoLength }}": "",
75
75
  "{{ replyCount }} Replies": "",
76
76
  "{{ replyCount }} Thread Replies": "",
77
- "{{ user }} is typing": "{{ user }} está digitando",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -4,76 +4,76 @@
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
7
+ "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "Вы уверены?",
9
- "Block User": "Заблокировать пользователя",
10
- "Cancel": "Отмена",
11
- "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
9
+ "Block User": "",
10
+ "Cancel": "",
11
+ "Cannot Flag Message": "",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Обдумайте, как ваш комментарий может повлиять на других, и убедитесь, что вы следуете нашим правилам сообщества",
13
- "Copy Message": "Копировать сообщение",
14
- "Delete": "удалять",
15
- "Delete Message": "Удалить сообщение",
13
+ "Copy Message": "",
14
+ "Delete": "",
15
+ "Delete Message": "",
16
16
  "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
18
- "Edit Message": "Редактировать сообщение",
19
- "Editing Message": "Редактирование сообщения",
20
- "Emoji matching": "Соответствие эмодзи",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
+ "Edit Message": "",
19
+ "Editing Message": "",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
- "Error loading messages for this channel...": "Ошибка загрузки сообщений для этого канала...",
24
+ "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "",
27
- "Flag": "Пометить",
28
- "Flag Message": "Пометить сообщение",
29
- "Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
26
+ "File type not supported": "Тип файла не поддерживается",
27
+ "Flag": "",
28
+ "Flag Message": "",
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
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "Загружаю каналы...",
35
+ "Loading messages...": "Загружаю сообщения...",
36
+ "Loading...": "Загружаю...",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Достигнут предел максимального размера файла для загрузки. Загрузите файл размером менее {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} МБ.",
38
38
  "Message Reactions": "",
39
39
  "Message deleted": "Сообщение удалено",
40
- "Message flagged": "Сообщение отмечено",
41
- "Mute User": "Отключить пользователя",
40
+ "Message flagged": "",
41
+ "Mute User": "",
42
42
  "Not supported": "не поддерживается",
43
43
  "Nothing yet...": "",
44
- "Ok": "",
45
- "Only visible to you": "",
44
+ "Ok": "",
45
+ "Only visible to you": "Видно только вам",
46
46
  "Open Settings": "",
47
47
  "Photo": "Фото",
48
48
  "Photos and Videos": "",
49
- "Pin to Conversation": "Закрепить к беседе",
49
+ "Pin to Conversation": "",
50
50
  "Pinned by": "",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
52
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
53
- "Reconnecting...": "Переподключение...",
54
- "Reply": "Ответить",
53
+ "Reconnecting...": "",
54
+ "Reply": "",
55
55
  "Reply to Message": "",
56
- "Resend": "Отправить",
56
+ "Resend": "",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
59
  "Send Anyway": "Всё равно отправить",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
62
62
  "Slow mode ON": "",
63
- "The message has been reported to a moderator.": "Сообщение отправлено модератору.",
64
- "Thread Reply": "Тема Ответить",
65
- "Unblock User": "Разблокировать пользователя",
63
+ "The message has been reported to a moderator.": "",
64
+ "Thread Reply": "",
65
+ "Unblock User": "",
66
66
  "Unknown User": "",
67
- "Unmute User": "Включить микрофон",
68
- "Unpin from Conversation": "Открепить от беседы",
67
+ "Unmute User": "",
68
+ "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "видео",
71
71
  "You": "Вы",
72
72
  "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
73
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
74
  "{{ index }} of {{ photoLength }}": "",
75
75
  "{{ replyCount }} Replies": "",
76
76
  "{{ replyCount }} Thread Replies": "",
77
- "{{ user }} is typing": "{{ user }} пишет",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -4,76 +4,76 @@
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
7
+ "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "Emin misiniz?",
9
- "Block User": "Kullanıcıyı engelle",
10
- "Cancel": "İptal",
11
- "Cannot Flag Message": "Raporlama Başarısız",
9
+ "Block User": "",
10
+ "Cancel": "",
11
+ "Cannot Flag Message": "",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Yorumunuzun diğerlerini nasıl hissettirebileceğini düşünün ve topluluk kurallarımızı takip ettiğinizden emin olun",
13
- "Copy Message": "Mesajı Kopyala",
14
- "Delete": "Sil",
15
- "Delete Message": "Mesajı Sil",
13
+ "Copy Message": "",
14
+ "Delete": "",
15
+ "Delete Message": "",
16
16
  "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
18
- "Edit Message": "Mesajı Düzenle",
19
- "Editing Message": "Mesaj Düzenleniyor",
20
- "Emoji matching": "Emoji eşleştirme",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
+ "Edit Message": "",
19
+ "Editing Message": "",
20
+ "Emoji matching": "",
21
21
  "Empty message...": "",
22
22
  "Error loading": "",
23
23
  "Error loading channel list...": "",
24
- "Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
24
+ "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "",
27
- "Flag": "Raporla",
28
- "Flag Message": "Mesajı Raporla",
29
- "Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
26
+ "File type not supported": "Dosya türü desteklenmiyor",
27
+ "Flag": "",
28
+ "Flag Message": "",
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
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "Kanallar yükleniyor...",
35
+ "Loading messages...": "Mesajlar yükleniyor...",
36
+ "Loading...": "Yükleniyor...",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maksimum dosya boyutu yükleme sınırına ulaşıldı. Lütfen {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB'ın altında bir dosya yükleyin.",
38
38
  "Message Reactions": "",
39
39
  "Message deleted": "Mesaj silindi",
40
- "Message flagged": "Mesaj işaretlendi",
41
- "Mute User": "Kullanıcıyı sessize al",
40
+ "Message flagged": "",
41
+ "Mute User": "",
42
42
  "Not supported": "Desteklenmiyor",
43
43
  "Nothing yet...": "",
44
- "Ok": "Tamam",
45
- "Only visible to you": "",
44
+ "Ok": "",
45
+ "Only visible to you": "Sadece siz görebilirsiniz",
46
46
  "Open Settings": "",
47
47
  "Photo": "Fotoğraf",
48
48
  "Photos and Videos": "",
49
- "Pin to Conversation": "Konuşmaya sabitle",
49
+ "Pin to Conversation": "",
50
50
  "Pinned by": "",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
52
  "Please select a channel first": "Lütfen önce bir kanal seçiniz",
53
- "Reconnecting...": "Yeniden Bağlanılıyor...",
54
- "Reply": "Yanıtla",
53
+ "Reconnecting...": "",
54
+ "Reply": "",
55
55
  "Reply to Message": "",
56
- "Resend": "Yeniden gönder",
56
+ "Resend": "",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
59
  "Send Anyway": "Yine de Gönder",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
62
62
  "Slow mode ON": "",
63
- "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
64
- "Thread Reply": "Konu Yanıtı",
65
- "Unblock User": "Kullanıcının engelini kaldır",
63
+ "The message has been reported to a moderator.": "",
64
+ "Thread Reply": "",
65
+ "Unblock User": "",
66
66
  "Unknown User": "",
67
- "Unmute User": "Kullanıcının sesini aç",
68
- "Unpin from Conversation": "Sabitlemeyi kaldır",
67
+ "Unmute User": "",
68
+ "Unpin from Conversation": "",
69
69
  "Unread Messages": "",
70
70
  "Video": "Video",
71
71
  "You": "Sen",
72
72
  "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
73
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
74
  "{{ index }} of {{ photoLength }}": "",
75
75
  "{{ replyCount }} Replies": "",
76
76
  "{{ replyCount }} Thread Replies": "",
77
- "{{ user }} is typing": "{{ user }} yazıyor",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-react-native-core",
3
3
  "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4
- "version": "5.27.0-beta.2",
4
+ "version": "5.27.0-beta.3",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -160,7 +160,12 @@ const ChatWithContext = <
160
160
  closeConnectionOnBackground,
161
161
  );
162
162
 
163
- const [initialisedDatabase, setInitialisedDatabase] = useState(false);
163
+ const [initialisedDatabaseConfig, setInitialisedDatabaseConfig] = useState<{
164
+ initialised: boolean;
165
+ userID?: string;
166
+ }>({
167
+ initialised: false,
168
+ });
164
169
 
165
170
  /**
166
171
  * Setup muted user listener
@@ -171,6 +176,8 @@ const ChatWithContext = <
171
176
  const debugRef = useDebugContext();
172
177
  const isDebugModeEnabled = __DEV__ && debugRef && debugRef.current;
173
178
 
179
+ const userID = client.userID;
180
+
174
181
  // Set the `resizableCDNHosts` as per the prop.
175
182
  StreamChatRN.setConfig({ resizableCDNHosts });
176
183
 
@@ -195,13 +202,16 @@ const ChatWithContext = <
195
202
  const setActiveChannel = (newChannel?: Channel<StreamChatGenerics>) => setChannel(newChannel);
196
203
 
197
204
  useEffect(() => {
198
- if (client.user?.id && enableOfflineSupport) {
199
- setInitialisedDatabase(false);
205
+ if (userID && enableOfflineSupport) {
206
+ setInitialisedDatabaseConfig({ initialised: false, userID });
200
207
  QuickSqliteClient.initializeDatabase();
201
208
  DBSyncManager.init(client as unknown as StreamChat);
202
- setInitialisedDatabase(true);
209
+ setInitialisedDatabaseConfig({ initialised: true, userID });
203
210
  }
204
- }, [client?.user?.id, enableOfflineSupport]);
211
+ }, [userID, enableOfflineSupport]);
212
+
213
+ const initialisedDatabase =
214
+ initialisedDatabaseConfig.initialised && userID === initialisedDatabaseConfig.userID;
205
215
 
206
216
  const appSettings = useAppSettings(client, isOnline, enableOfflineSupport, initialisedDatabase);
207
217
 
@@ -224,7 +234,8 @@ const ChatWithContext = <
224
234
  initialisedDatabase,
225
235
  });
226
236
 
227
- if (enableOfflineSupport && !initialisedDatabase) {
237
+ if (userID && enableOfflineSupport && !initialisedDatabase) {
238
+ // if user id has been set and offline support is enabled, we need to wait for database to be initialised
228
239
  return null;
229
240
  }
230
241
 
@@ -19,7 +19,9 @@ export const useAppSettings = <
19
19
  async function enforeAppSettings() {
20
20
  if (!client.userID) return;
21
21
 
22
- if (!isOnline && enableOfflineSupport && initialisedDatabase) {
22
+ if (enableOfflineSupport && !initialisedDatabase) return;
23
+
24
+ if (!isOnline && enableOfflineSupport) {
23
25
  const appSettings = dbApi.getAppSettings({ currentUserId: client.userID });
24
26
  setAppSettings(appSettings);
25
27
  return;
package/src/i18n/en.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "File type not supported": "File type not supported",
27
27
  "Flag": "Flag",
28
28
  "Flag Message": "Flag Message",
29
- "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged.",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "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?": "How about sending your first message to a friend?",
31
31
  "Instant Commands": "Instant Commands",
32
32
  "Let's start chatting!": "Let's start chatting!",