Commit Graph

7 Commits

Author SHA1 Message Date
Quentin Valmori fb59f5f961 Fix RN 0.48+ warning about requiresMainQueueSetup
Warning: Module RNI18n requires main queue setup since it overrides constantsToExport but doesn't implement `requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
2017-10-09 14:25:40 +02:00
Mathieu Acthernoene de7bcfef94 Keep languages constants for faster I18n init 2017-05-25 17:52:40 +02:00
Mathieu Acthernoene 958ae660e6 Switch to Promise getLanguages on iOS instead of constants 2017-05-25 17:52:40 +02:00
Mathieu Acthernoene f7e5fb9caa Avoid useless computations on iOS 9+ 2017-05-25 17:52:40 +02:00
Mathieu Acthernoene 34d39e6341 Handle preferred languages list on iOS 2017-05-25 17:52:40 +02:00
Mathieu Acthernoene 524456d7ba Improve ios language detection 2017-05-25 17:52:39 +02:00
Mathieu Acthernoene 7bd5250051 Fix ios react-native link 2017-05-25 17:52:39 +02:00