[RN] Disable the XHR backend on mobile

All language assets will need to be bundled.
This commit is contained in:
Saúl Ibarra Corretgé 2017-12-22 10:25:36 +01:00 committed by Paweł Domas
parent 43ac039fd6
commit 178c8e02ff
1 changed files with 1 additions and 1 deletions

View File

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