Saeed Heidarizarei
Saeed Heidarizarei

Reputation: 8916

LTR in RTL Devices in react native

New Question

My App is Left to Right but When Someone with Arabic Phone open my app, all of Styles Gets Right to Left

How Can I make My APP Fix Static Left to Right in all languages?

Upvotes: 10

Views: 4261

Answers (2)

Ahmed Imam
Ahmed Imam

Reputation: 1358

You can simply add the following to your app.js or to your firstscreen.js if you are on Expo

import { I18nManager} from 'react-native';
I18nManager.allowRTL(false);

export default class <className> extends Component {



}

Upvotes: 8

Saeed Heidarizarei
Saeed Heidarizarei

Reputation: 8916

I Added This: android:supportsRtl="false" in the AndroidManifest.xml and Solved

Upvotes: 1

Related Questions