Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

178
Views
How to force react native app to be just RTL? for both Android and iOS

I want to make the app starts by default in RTL,

I tried to put [[RCTI18nUtil sharedInstance] allowRTL:YES]; in AppDelegate.m file in iOS and nothing changed it's shill LTR

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You need to write something like below

In Android you need to write below code in Android Native side onCreate method at file location MainApplication.java in the directory android/app/src/main/java/com/YOUR_PROJECT_NAME

I18nUtil mI18nUtil = I18nUtil.getInstance();
mI18nUtil.forceRTL(this,true);
mI18nUtil.allowRTL(this, true);

in iOS you need to write code in AppDelegate.m file

[[RCTI18nUtil sharedInstance] allowRTL:YES]
[[RCTI18nUtil sharedInstance] forceRTL:YES]

React Native Side

import { I18nManager } from 'react-native';

useEffect(()=>{
  I18nManager.forceRTL(true);
})
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!