🎨Control Style & Colors

Styles and colors in your native mobile app enhance branding, user experience, accessibility, personalization, adaptability, provide a competitive edge while offering flexibility for future updates.

🧋 Bubble.io Plugin

[Action] Natively - Background Color

Updating the App background-color

[Action] Natively - Progress Color

Updating a progress bar color

[Action] Natively - Swipe Navigation [iOS]

Enable or disable Swipe Navigation

[Action] Natively - Status Bar Style [iOS]

Updating the Status Bar Style

[Action] Natively - Pull to refresh

Enable or disable Pull to refresh

[Action] Natively - Orientation

Change and lock device orientation in the app

[Action] Natively - Show Progress

Hide / show progress in the app

[Action] Natively - Close App

Closes (kill) the app

🛠 JavaScript SDK

Updating the App background-color

const color = "#000000";
window.natively.setAppBackgroundColor(color);

Updating a progress bar color

const color = "#000000";
window.natively.setAppProgressColor(color);

Enable or disable Swipe Navigation [iOS]

const toggle = true;
window.natively.setAppSwipeNavigationIOS(toggle);

Updating the Status Bar Style [iOS]

const style = "NONE"; // DARK, LIGHT or NONE
window.natively.setAppStatusBarStyleIOS(toggle);

Enable or disable Pull to refresh [iOS]

const toggle = true;
window.natively.setAppPullToRefresh(toggle);

Change and lock device orientation in the app

const orientation = "PORTRAIT"; // DEFAULT, PORTRAIT or LANDSCAPE
window.natively.setAppOrientation(orientation);

Show/Hide Progress in the app

const toggle = false;
window.natively.showProgress(toggle);

Close the app

window.natively.closeApp()

Last updated