Skip to content
Discussion options

You must be logged in to vote

In Android apps you can't set the orientation for the whole app, but for the activities in your app.

But since Capacitor has a single activity you can configure it's orientation by adding this to the activity tag in AndroidManifest.xml

android:screenOrientation="portrait" (replace portrait with the desired orientation)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sampath-Lokuge
Comment options

Answer selected by Sampath-Lokuge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants