Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
The status bar's style is not getting updated correctly on Android 10 when navigating between pages that you have already navigated to and that have different styles configured.
I can reproduce the issue on Android 10 but not on Android 13.
Expected Behavior
The status bar color and style should update.
Steps To Reproduce
- Run the repo project
- Navigate to the second and then the third page.
- Press the second page's tab and you will see that the style is light, even though it should be dark (white status bar).
- Navigate to any of the other pages and you will see that the style is becoming the previous's page's style.
Link to public reproduction project repository
https://github.com/Cybrosys/Sandbox/tree/master/MauiAppStatusBarBehavior
Environment
- .NET MAUI CommunityToolkit: 6.0.0
- OS: Android 10
- .NET MAUI: 8.0.0-rc.2.9373/8.0.100-rc.2
Anything else?
It works as expected on Android 13 or if I set the color and style in OnAppearing on the actual page.
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
The status bar's style is not getting updated correctly on Android 10 when navigating between pages that you have already navigated to and that have different styles configured.
I can reproduce the issue on Android 10 but not on Android 13.
Expected Behavior
The status bar color and style should update.
Steps To Reproduce
Link to public reproduction project repository
https://github.com/Cybrosys/Sandbox/tree/master/MauiAppStatusBarBehavior
Environment
Anything else?
It works as expected on Android 13 or if I set the color and style in OnAppearing on the actual page.