Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ public class CustomPushNotification {
public static final String KEY_REPLY = "KEY_REPLY";
public static final String NOTIFICATION_ID = "NOTIFICATION_ID";
private static final String CHANNEL_ID = "rocketchatrn_channel_01";
private static final String CHANNEL_NAME = "All";
private static final String CHANNEL_NAME = "Messages";
private static final String CALLS_CHANNEL_ID = "rocketchatrn_channel_calls";
private static final String CALLS_CHANNEL_NAME = "Calls";

// Instance fields
private final Context mContext;
Expand Down Expand Up @@ -299,13 +301,19 @@ private void postNotification(int notificationId) {

private void createNotificationChannel() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
NotificationChannel channel = new NotificationChannel(
NotificationChannel messagesChannel = new NotificationChannel(
CHANNEL_ID,
CHANNEL_NAME,
NotificationManager.IMPORTANCE_HIGH
);
NotificationChannel callsChannel = new NotificationChannel(
CALLS_CHANNEL_ID,
CALLS_CHANNEL_NAME,
NotificationManager.IMPORTANCE_HIGH
);
if (notificationManager != null) {
notificationManager.createNotificationChannel(channel);
notificationManager.createNotificationChannel(messagesChannel);
notificationManager.createNotificationChannel(callsChannel);
}
}
}
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@
"topic": "عنوان",
"Translate": "ترجمة",
"Travel_and_places": "السفر والأماكن",
"Troubleshooting": "استكشاف الأخطاء وإصلاحها",
"Try_again": "حاول مجدداً",
"Turn_camera_off": "إيقاف تشغيل الكاميرا",
"Turn_camera_on": "تشغيل الكاميرا",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/bn-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@
"totp-invalid": "কোড বা পাসওয়ার্ড অবৈধ",
"Translate": "অনুবাদ করুন",
"Travel_and_places": "ভ্রমণ এবং স্থানসমূহ",
"Troubleshooting": "সমস্যা সমাধান",
"Try_again": "আবার চেষ্টা করুন",
"Turn_camera_off": "ক্যামেরা বন্ধ করুন",
"Turn_camera_on": "ক্যামেরা চালু করুন",
Expand Down
1 change: 0 additions & 1 deletion app/i18n/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@
"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.",
"Push_Notifications": "Oznámení push",
"Push_Notifications_Alert_Info": "Tato oznámení se vám doručují, když aplikace není otevřená",
"Push_Troubleshooting": "Odstraňování problémů push",
"Queued_chats": "Chaty ve frontě",
"Quote": "Citát",
"React_with_emojjname": "Reagujte pomocí {{emojiName}}",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@
"totp-invalid": "Code oder Passwort ist falsch",
"Translate": "Übersetzen",
"Travel_and_places": "Reisen und Orte",
"Troubleshooting": "Fehlerbehebung",
"Try_again": "Versuchen Sie es nochmal",
"Turn_camera_off": "Kamera ausschalten",
"Turn_camera_on": "Kamera einschalten",
Expand Down
1 change: 0 additions & 1 deletion app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,6 @@
"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.",
"Push_Notifications": "Push notifications",
"Push_Notifications_Alert_Info": "These notifications are delivered to you when the app is not open",
"Push_Troubleshooting": "Push Troubleshooting",
"Queued_chats": "Queued chats",
"Quote": "Quote",
"React_with_emojjname": "React with {{emojiName}}",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@
"topic": "asunto",
"Translate": "Traducir",
"Travel_and_places": "Viajes y lugares",
"Troubleshooting": "Resolución de problemas",
"Try_again": "Intentar de nuevo",
"Turn_camera_off": "Apagar cámara",
"Turn_camera_on": "Activar cámara",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@
"totp-invalid": "Koodi tai salasana virheellinen",
"Translate": "Käännä",
"Travel_and_places": "Matkustaminen ja paikat",
"Troubleshooting": "Vianmääritys",
"Try_again": "Yritä uudelleen",
"Turn_camera_off": "Sammuta kamera",
"Turn_camera_on": "Kytke kamera päälle",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@
"topic": "sujet",
"Translate": "Traduire",
"Travel_and_places": "Voyage et lieux",
"Troubleshooting": "Dépannage",
"Try_again": "Réessayer",
"Turn_camera_off": "Éteindre la caméra",
"Turn_camera_on": "Allumer la caméra",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@
"totp-invalid": "कोड या पासवर्ड अमान्य",
"Translate": "अनुवाद करें",
"Travel_and_places": "यात्रा और स्थान",
"Troubleshooting": "समस्या निवारण",
"Try_again": "फिर कोशिश करें",
"Turn_camera_off": "कैमरा बंद करें",
"Turn_camera_on": "कैमरा चालू करें",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,7 @@
"totp-invalid": "A kód vagy a jelszó érvénytelen",
"Translate": "Fordítás",
"Travel_and_places": "Utazás és helyek",
"Troubleshooting": "Hibaelhárítás",
"Try_again": "Próbálja újra",
"Turn_camera_off": "Kapcsolja ki a kamerát",
"Turn_camera_on": "Kapcsolja be a kamerát",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@
"topic": "argomento",
"Translate": "Traduci",
"Travel_and_places": "Viaggi e luoghi",
"Troubleshooting": "Risoluzione dei problemi",
"Try_again": "Riprova",
"Turn_camera_off": "Disattiva la fotocamera",
"Turn_camera_on": "Accendi la fotocamera",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@
"topic": "トピック",
"Translate": "翻訳",
"Travel_and_places": "旅行と場所",
"Troubleshooting": "トラブルシューティング",
"Try_again": "再度お試しください。",
"Turn_camera_off": "カメラをオフにする",
"Turn_camera_on": "カメラをオンにする",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@
"topic": "onderwerp",
"Translate": "Vertalen",
"Travel_and_places": "Reizen en plaatsen",
"Troubleshooting": "Probleemoplossing",
"Try_again": "Probeer het opnieuw",
"Turn_camera_off": "Camera uitzetten",
"Turn_camera_on": "Camera inschakelen",
Expand Down
1 change: 0 additions & 1 deletion app/i18n/locales/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,6 @@
"Push_gateway_not_connected_description": "Vi kan ikke koble til push-gatewayen. Hvis dette problemet vedvarer, sjekk med serveradministratoren din.",
"Push_Notifications": "Push-varsler",
"Push_Notifications_Alert_Info": "Disse varslene leveres til deg når appen ikke er åpen",
"Push_Troubleshooting": "Push feilsøking",
"Queued_chats": "Chatter i kø",
"Quote": "Sitere",
"Reactions_are_disabled": "Reaksjoner er deaktivert",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@
"Push_gateway_not_connected_description": "Não conseguimos conectar ao gateway de push. Se esse problema persistir, por favor, verifique com o administrador do seu workspace.",
"Push_Notifications": "Notificações push",
"Push_Notifications_Alert_Info": "Essas notificações são entregues a você quando o aplicativo não está aberto",
"Push_Troubleshooting": "Solucionar Problemas de Push",
"Queued_chats": "Bate-papos na fila",
"Quote": "Citar",
"React_with_emojjname": "Reagir com {{emojiName}}",
Expand Down Expand Up @@ -887,6 +886,7 @@
"totp-invalid": "Código ou senha inválida",
"Translate": "Traduzir",
"Travel_and_places": "Viagem e lugares",
"Troubleshooting": "Resolução de Problemas",
"Try_again": "Tentar novamente",
"Turn_camera_off": "Desligar câmera",
"Turn_camera_on": "Ligar câmera",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@
"Topic": "Tópico",
"topic": "tópico",
"Travel_and_places": "Viagens e locais",
"Troubleshooting": "Resolução de problemas",
"Try_again": "Tente novamente",
"Turn_camera_off": "Desligar câmara",
"Turn_camera_on": "Ligar câmara",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@
"totp-invalid": "Код или пароль не верны",
"Translate": "Перевести",
"Travel_and_places": "Путешествия и места",
"Troubleshooting": "Траблшутинг",
"Try_again": "Попробуйте еще раз",
"Turn_camera_off": "Отключить камеру",
"Turn_camera_on": "Включить камеру",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/sl-SI.json
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@
"totp-invalid": "Koda ali geslo neveljavno",
"Translate": "Prevesti",
"Travel_and_places": "Potovanja in kraji",
"Troubleshooting": "Odpravljanje težav",
"Try_again": "Poskusi ponovno",
"Turn_camera_off": "Izklopi kamero",
"Turn_camera_on": "Vklopi kamero",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,7 @@
"totp-invalid": "Koden eller lösenordet är ogiltigt",
"Translate": "Översätt",
"Travel_and_places": "Resor och platser",
"Troubleshooting": "Felsökning",
"Try_again": "Försök igen",
"Turn_camera_off": "Stäng av kameran",
"Turn_camera_on": "Aktivera kameran",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ta-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@
"totp-invalid": "குறியீடு அல்லது கடவுச்சொல் தவறானது",
"Translate": "மொழிபெயர்",
"Travel_and_places": "பயணம் மற்றும் இடங்கள்",
"Troubleshooting": "திருத்தல்",
"Try_again": "மீண்டும் முயற்சி செய்",
"Turn_camera_off": "கேமராவை அணைக்கவும்",
"Turn_camera_on": "கேமராவை இயக்கவும்",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/te-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@
"totp-invalid": "కోడ్ లేదా పాస్‌వర్డ్ చెల్లదు",
"Translate": "అనువాదం",
"Travel_and_places": "ప్రయాణం మరియు స్థలాలు",
"Troubleshooting": "సమస్యా పరిష్కారం",
"Try_again": "ప్రయత్నించండి",
"Turn_camera_off": "కెమెరాను ఆపివెయ్యి",
"Turn_camera_on": "కెమెరాను ఆన్ చేయండి",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@
"topic": "konu",
"Translate": "Çevir",
"Travel_and_places": "Seyahat ve yerler",
"Troubleshooting": "Sorun giderme",
"Try_again": "Tekrar deneyin",
"Turn_camera_off": "Kamerayı kapat",
"Turn_camera_on": "Kamerayı aç",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@
"topic": "主题",
"Translate": "翻译",
"Travel_and_places": "旅行和地点",
"Troubleshooting": "故障排除",
"Try_again": "再试一次",
"Turn_camera_off": "关闭摄像头",
"Turn_camera_on": "打开摄像头",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@
"topic": "主題",
"Translate": "翻譯",
"Travel_and_places": "旅遊與地點",
"Troubleshooting": "疑難排解",
"Try_again": "再試一次",
"Turn_camera_off": "關閉相機",
"Turn_camera_on": "開啟攝影機",
Expand Down
2 changes: 1 addition & 1 deletion app/views/PushTroubleshootView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const PushTroubleshootView = ({ navigation }: IPushTroubleshootViewProps): JSX.E

useEffect(() => {
navigation.setOptions({
title: I18n.t('Push_Troubleshooting')
title: I18n.t('Troubleshooting')
});
}, [navigation]);

Expand Down