firstly i worked on android and the RTL working good,i added the following code:
I18nUtil sharedI18nUtilInstance = I18nUtil.getInstance(); sharedI18nUtilInstance.setAllowRTL(context, true);
to MainActivity.javaand
android:supportsRtl="true"
to AndroidManifest.xml
and in the js code:
I18nManager.forceRTL(true);
Now is the problem:i tried to set rtl on ios but its not workingi added
// in AppDelegate.m [[RCTI18nUtil sharedInstance] allowRTL:YES];
and
I18nManager.forceRTL(true);
in js codebut all the text and flex are still ltr...what can i do?