MARKETPLACE
PLUGINS
GENIFY SCREEN ORIENTATION LOCK
Genify Screen Orientation Lock logo

Genify Screen Orientation Lock

Published October 2026
   •    Updated October 2026

Plugin details

Lock your Bubble native mobile app to portrait or landscape on iOS and Android, stop unwanted screen rotation, and run workflows when the device turns. Free and open source (MIT).
What you can do
• Keep your whole app in portrait mode with one setting, so layouts never break when the phone is turned sideways
• Force landscape on a single screen (videos, charts, games, signatures) and return to portrait when the user leaves it
• Lock, unlock or allow any orientation from any workflow
• Know at any moment whether the screen is in portrait or landscape
• Run workflows when the orientation changes
• Read the current screen width and height to adapt your layout
• No permissions, no app store setup and no code

Perfect for: portrait-only apps, video and media players, dashboards and charts, games and kiosk-style screens.

Works with: Bubble native mobile apps (iOS & Android). It does not run in web preview or BubbleGo. Test it on the Simulated device (Rebuild after installing) or in a native build.

Good to know: Android 16 and later ignores orientation locks on tablets and foldables (an Android rule); phones are not affected.

FAQ
How do I lock my Bubble mobile app to portrait? Put the Orientation Lock element on your first page with "Lock when this element loads" = portrait.
Can one page be landscape? Yes; add a second element set to landscape and "restore previous".

Technical: built on expo-screen-orientation ~57.0.2 (Expo SDK 57).

Free

For everyone

stars   •   0 ratings
2 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Native mobile

Contributor details

Genify logo
Genify
Joined 2026   •   14 Plugins
View contributor profile

Instructions

1. Install the plugin, then Rebuild the Simulated device or make a new build. The native library has to be compiled into your app. 2. Drag the "Orientation Lock" element onto your first page. Keep it visible; your users never see it, and it can be small (40x40).
3. Portrait-only app: set "Lock when this element loads" to portrait and "When this element leaves the screen" to keep lock. The lock applies to the whole app.
4. One landscape screen: add another Orientation Lock element on that screen, set to landscape and "restore previous". If that screen stays open in the background (tabs, sheets), also run "Lock orientation" (portrait) in the workflow that leaves it.
5. In workflows, use "Lock orientation" (portrait, landscape or any), "Unlock orientation" and "Refresh orientation".
6. Use the element's states (Orientation, Is landscape, Is portrait, Window width/height, Current lock) and its events "Orientation changed", "Lock applied" and "Error" (see Last error).
7. Test on the Simulated device or a dev build. In web preview, "Is supported" is no and nothing is locked.
8. App store: no permission texts are needed. Bubble apps are iPhone-only; on an iPad they run in iPhone mode and keep the lock. Optional (iOS): in your app's native settings, change this plugin's EXDefaultScreenOrientationMask value to UIInterfaceOrientationMaskPortrait to start in portrait from the very first frame.

Types

This plugin can be found under the following types:
Background Services   •   Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
Technical   •   Productivity   •   Media   •   Video   •   Visual Elements

Resources

Support contact

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble