react-native-navigation
react-native-navigation copied to clipboard
[Breaking change] Remove layout.direction
Breaking change
layout.direction
is no longer needed as we can use react-native's I18n to detect the direction.
Examples
Forcing the layout direction:
I18nManager.forceRTL(true);
Syncing the layout direction with the system's direction:
I18nManager.allowRTL(true);
@yogevbd awesome, we might need to mention in docs/changes that calling
I18nManager.allowRTL(true);
should be the first thing before the app starts.