Browse Source

[RN] Disable the XHR backend on mobile

All language assets will need to be bundled.
master
Saúl Ibarra Corretgé 7 years ago
parent
commit
178c8e02ff
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      react/features/base/i18n/i18next.js

+ 1
- 1
react/features/base/i18n/i18next.js View File

@@ -58,7 +58,7 @@ const options = {
58 58
 };
59 59
 
60 60
 i18next
61
-    .use(I18nextXHRBackend)
61
+    .use(navigator.product === 'ReactNative' ? {} : I18nextXHRBackend)
62 62
     .use(languageDetector)
63 63
     .use({
64 64
         name: 'resolveAppName',

Loading…
Cancel
Save