-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
iOS: Unable to Modify Status Bar After Using BarCodeScanner
Description
When the BarCodeScanner is activated on iOS devices, any attempts to modify the status bar after closing the BarCodeScanner (e.g., changing its color or visibility) have no effect.The status bar remains in its last state and does not respond to changes.
This issue occurs exclusively on iOS. On Android, modifications to the status bar work as expected.
Steps to Reproduce
- Launch the app on an iOS device.
- Open the
BarCodeScanner. - Close the scanner
- Attempt to change the status bar (e.g., adjust color, visibility, or style).
Expected Behavior
- The status bar should update when
StatusBarmethods are called, even after opening and closing theBarCodeScanner. StatusBar.getInfo()should return correct values that reflect the actual status bar state.
Actual Behavior
- All
StatusBarmethods return success, but no changes are applied. StatusBar.getInfo()returns incorrect values.- After opening the barcode scanner once, the status bar always stays in a mode with dark icons and a transparent background, even if different styles are set.
Affected Versions
"@capacitor/status-bar": "^7.0.0",
"@capacitor-community/safe-area": "^7.0.0-alpha.1",
"@capacitor/barcode-scanner": "^2.0.0"Metadata
Metadata
Assignees
Labels
No labels