Ali Mert Çakar
Ali Mert Çakar

Reputation: 326

React native how to force/override min width / device dpi for my app?

I need to force device dpi to be at least 350px. App is almost unusable with 320dpi devices. I've manually changed dev settings of such devices to higher values and it works ok. Text and other ui stuff is smaller but thats totally acceptable.

Thats the setting I want to override within react native app: enter image description here

App at 392 dpi: enter image description here

At 320 dpi (some screens are worse) enter image description here

Upvotes: 0

Views: 450

Answers (1)

Freissell
Freissell

Reputation: 79

I don't think you can set this setting in the app, all you can do is try to code a responsive app using FlexBox and different units of length.

Upvotes: 1

Related Questions