mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
96de161304
Summary: We're now enabling RTL layout by default assuming the app has the proper localized assets. Previously, this was disabled by default to minimize surprise. Apps that don't want this RTL support can still manually disable them by using `RCTI18nUtil.allowRTL(false)` (iOS) or `I18nUtil.allowRTL(false)` (android) in the apps start-up logic, as outlined in the blog post: http://facebook.github.io/react-native/blog/2016/08/19/right-to-left-support-for-react-native-apps.html iOS Util function:f0fb228ec7/React/Modules/RCTI18nUtil.m (L53)
Android Util function:380830e4aa/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/I18nUtil.java (L63)
Differential Revision: D3825054 fbshipit-source-id: 88b355fef9e3847939a414f80d2285979e27af08