🧋 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
Enable or disable Swipe Navigation
[Action] Natively - Status Bar Style
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
[Action] Natively - Enable Wake Lock
Keeps the screen unlocked
[Action] Natively - DIsable Wake Lock
Allows screen to auto lock
🛠 JavaScript SDK
Updating the App background-color
Copy const color = "#000000";
window.natively.setAppBackgroundColor(color);
Updating a progress bar color
Copy const color = "#000000";
window.natively.setAppProgressColor(color);
Enable or disable Swipe Navigation
Copy const toggle = true;
window.natively.setAppSwipeNavigationIOS(toggle);
Updating the Status Bar Style
Copy const style = "NONE"; // DARK, LIGHT or NONE
window.natively.setAppStatusBarStyleIOS(toggle);
Enable or disable Pull to refresh
Copy const toggle = true;
window.natively.setAppPullToRefresh(toggle);
Change and lock device orientation in the app
Copy const orientation = "PORTRAIT"; // DEFAULT, PORTRAIT or LANDSCAPE
window.natively.setAppOrientation(orientation);
Show/Hide Progress in the app
Copy const toggle = false;
window.natively.showProgress(toggle);
Close the app
Copy window.natively.closeApp()
Wake Lock
Copy window.natively.enableWakelock(); // Keeps the screen unlocked
and window.natively.disableWakelock(); // Allows screen to auto lock