I tried to add RTL support to NativeScript-Vue js using the official plugin and other methods like this but still no luck due to poor documentation.
I fount a snippet that force the app to RTL in runtime but it seems just working on Andriod devices:
app.android.addEventListener(app.AndroidApplication.activityCreatedEvent, (event: app.AndroidActivityEventData) => {
event.activity.getWindow().getDecorView().setLayoutDirection(android.view.View.LAYOUT_DIRECTION_RTL);
});
How can we add this plugin to NativeScript-Vue for IOS and Android the easy way?