From 178c8e02ffb89e699ae3333be06ba401160b3a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 22 Dec 2017 10:25:36 +0100 Subject: [PATCH] [RN] Disable the XHR backend on mobile All language assets will need to be bundled. --- react/features/base/i18n/i18next.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/base/i18n/i18next.js b/react/features/base/i18n/i18next.js index 07ea8eca2..6c8f32e9c 100644 --- a/react/features/base/i18n/i18next.js +++ b/react/features/base/i18n/i18next.js @@ -58,7 +58,7 @@ const options = { }; i18next - .use(I18nextXHRBackend) + .use(navigator.product === 'ReactNative' ? {} : I18nextXHRBackend) .use(languageDetector) .use({ name: 'resolveAppName',