2023-02-06
1218
#react native
Nitish Sharma
158303
111
Feb 6, 2023 â‹… 4 min read

Managing orientation changes in React Native apps

Nitish Sharma I am a mobile and web developer proficient in React, React Native, and other libraries. I am currently employed as a React Native developer.

Recent posts:

How to use the Swiper.js slider library

Learn how to use Swiper, a powerful JavaScript slider library, to create responsive, interactive, and smooth UI experiences for websites.

Jude Miracle
Mar 18, 2025 â‹… 14 min read
A Complete Guide to Fetch API In Javascript

A complete guide to Fetch API in JavaScript

Learn how to use the Fetch API, an easy method for fetching resources from a remote or local server through a JavaScript interface.

Njong Emy
Mar 17, 2025 â‹… 8 min read
typescript enums

TypeScript enums: Usage, advantages, and best practices

Learn how TypeScript enums work, the difference between numeric and string enums, and when to use enums vs. other alternatives.

Clara Ekekenta
Mar 14, 2025 â‹… 7 min read
how to handle react-scripts in a fast-changing React landscape

How to handle react-scripts in a fast-changing React landscape

Review the basics of react-scripts, its functionality, status in the React ecosystem, and alternatives for modern React development.

Ibrahima Ndaw
Mar 13, 2025 â‹… 9 min read
View all posts

2 Replies to "Managing orientation changes in React Native apps"

  1. Would be better if you mentioned commenting out the default orientation: portrait inside app.json on iOS. If this isn’t done, then the code doesn’t work, as orientation modes don’t change.

    Suggest add to the beginning. Otherwise its a reasonably good article.

  2. Will the library works without expo? I mean I have an app in react native and I’m not using expo. I want one screen in both orientations and rest of the app in portrait. How I can do that ? Can you update the article for this? I need solution for both ios and android

Leave a Reply