How to disable landscape mode in React Native Android dev mode?

Posted by Jennifer | Updated on

Want to disable landscape mode in React Native Android dev mode? Add android:screenOrientation=”portrait” to the activity section in android/app/src/main/AndroidManifest.xml file, so that it end up looking like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers