Hello!
I am developing an application that will work only in HE, so I need it to be RTL only.
It works fine when the device language is HE, but when the language is EN (a ltr language), the application will be in LTR - only after a restart/refresh the RTL will be activated.
Does anyone have some ideas?
I have tried to force the RTL with I18nManager
I18nManager.allowRTL(true)
I18nManager.forceRTL(true)
Also, I have updated the AppDelegate.mm with:
#import <React/RCTI18nUtil.h>
[[RCTI18nUtil sharedInstance] allowRTL:YES];
[[RCTI18nUtil sharedInstance] forceRTL:YES];