Skip to content

Commit 9dc2bec

Browse files
authored
Merge branch 'develop' into modal-container-style
2 parents 77943cd + 7bc94c3 commit 9dc2bec

File tree

26 files changed

+33
-8
lines changed

26 files changed

+33
-8
lines changed

android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public class CustomPushNotification {
5151
public static final String KEY_REPLY = "KEY_REPLY";
5252
public static final String NOTIFICATION_ID = "NOTIFICATION_ID";
5353
private static final String CHANNEL_ID = "rocketchatrn_channel_01";
54-
private static final String CHANNEL_NAME = "All";
54+
private static final String CHANNEL_NAME = "Messages";
55+
private static final String CALLS_CHANNEL_ID = "rocketchatrn_channel_calls";
56+
private static final String CALLS_CHANNEL_NAME = "Calls";
5557

5658
// Instance fields
5759
private final Context mContext;
@@ -299,13 +301,19 @@ private void postNotification(int notificationId) {
299301

300302
private void createNotificationChannel() {
301303
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
302-
NotificationChannel channel = new NotificationChannel(
304+
NotificationChannel messagesChannel = new NotificationChannel(
303305
CHANNEL_ID,
304306
CHANNEL_NAME,
305307
NotificationManager.IMPORTANCE_HIGH
306308
);
309+
NotificationChannel callsChannel = new NotificationChannel(
310+
CALLS_CHANNEL_ID,
311+
CALLS_CHANNEL_NAME,
312+
NotificationManager.IMPORTANCE_HIGH
313+
);
307314
if (notificationManager != null) {
308-
notificationManager.createNotificationChannel(channel);
315+
notificationManager.createNotificationChannel(messagesChannel);
316+
notificationManager.createNotificationChannel(callsChannel);
309317
}
310318
}
311319
}

app/i18n/locales/ar.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@
586586
"topic": "عنوان",
587587
"Translate": "ترجمة",
588588
"Travel_and_places": "السفر والأماكن",
589+
"Troubleshooting": "استكشاف الأخطاء وإصلاحها",
589590
"Try_again": "حاول مجدداً",
590591
"Turn_camera_off": "إيقاف تشغيل الكاميرا",
591592
"Turn_camera_on": "تشغيل الكاميرا",

app/i18n/locales/bn-IN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@
812812
"totp-invalid": "কোড বা পাসওয়ার্ড অবৈধ",
813813
"Translate": "অনুবাদ করুন",
814814
"Travel_and_places": "ভ্রমণ এবং স্থানসমূহ",
815+
"Troubleshooting": "সমস্যা সমাধান",
815816
"Try_again": "আবার চেষ্টা করুন",
816817
"Turn_camera_off": "ক্যামেরা বন্ধ করুন",
817818
"Turn_camera_on": "ক্যামেরা চালু করুন",

app/i18n/locales/cs.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,6 @@
660660
"Push_gateway_not_connected_description": "Nemůžeme se připojit k bráně push. Pokud problém přetrvává, obraťte se na správce pracovního prostoru.",
661661
"Push_Notifications": "Oznámení push",
662662
"Push_Notifications_Alert_Info": "Tato oznámení se vám doručují, když aplikace není otevřená",
663-
"Push_Troubleshooting": "Odstraňování problémů push",
664663
"Queued_chats": "Chaty ve frontě",
665664
"Quote": "Citát",
666665
"React_with_emojjname": "Reagujte pomocí {{emojiName}}",

app/i18n/locales/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,7 @@
805805
"totp-invalid": "Code oder Passwort ist falsch",
806806
"Translate": "Übersetzen",
807807
"Travel_and_places": "Reisen und Orte",
808+
"Troubleshooting": "Fehlerbehebung",
808809
"Try_again": "Versuchen Sie es nochmal",
809810
"Turn_camera_off": "Kamera ausschalten",
810811
"Turn_camera_on": "Kamera einschalten",

app/i18n/locales/en.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,6 @@
683683
"Push_gateway_not_connected_description": "We're not able to connect to the push gateway. If this issue persists please check with your workspace administrator.",
684684
"Push_Notifications": "Push notifications",
685685
"Push_Notifications_Alert_Info": "These notifications are delivered to you when the app is not open",
686-
"Push_Troubleshooting": "Push Troubleshooting",
687686
"Queued_chats": "Queued chats",
688687
"Quote": "Quote",
689688
"React_with_emojjname": "React with {{emojiName}}",

app/i18n/locales/es.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@
429429
"topic": "asunto",
430430
"Translate": "Traducir",
431431
"Travel_and_places": "Viajes y lugares",
432+
"Troubleshooting": "Resolución de problemas",
432433
"Try_again": "Intentar de nuevo",
433434
"Turn_camera_off": "Apagar cámara",
434435
"Turn_camera_on": "Activar cámara",

app/i18n/locales/fi.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,7 @@
780780
"totp-invalid": "Koodi tai salasana virheellinen",
781781
"Translate": "Käännä",
782782
"Travel_and_places": "Matkustaminen ja paikat",
783+
"Troubleshooting": "Vianmääritys",
783784
"Try_again": "Yritä uudelleen",
784785
"Turn_camera_off": "Sammuta kamera",
785786
"Turn_camera_on": "Kytke kamera päälle",

app/i18n/locales/fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@
711711
"topic": "sujet",
712712
"Translate": "Traduire",
713713
"Travel_and_places": "Voyage et lieux",
714+
"Troubleshooting": "Dépannage",
714715
"Try_again": "Réessayer",
715716
"Turn_camera_off": "Éteindre la caméra",
716717
"Turn_camera_on": "Allumer la caméra",

app/i18n/locales/hi-IN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@
812812
"totp-invalid": "कोड या पासवर्ड अमान्य",
813813
"Translate": "अनुवाद करें",
814814
"Travel_and_places": "यात्रा और स्थान",
815+
"Troubleshooting": "समस्या निवारण",
815816
"Try_again": "फिर कोशिश करें",
816817
"Turn_camera_off": "कैमरा बंद करें",
817818
"Turn_camera_on": "कैमरा चालू करें",

0 commit comments

Comments
 (0)