Skip to content

Conversation

scottrules44
Copy link
Contributor

No description provided.

@scottrules44 scottrules44 requested a review from Shchvova as a code owner July 28, 2025 17:15
Copy link
Contributor

@clang-clang-clang clang-clang-clang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed fix works on Android 15, thanks!
Use the following script to add in the sample StatusBar to test that the visible navigation bar transforms normally on Android 15.
Also works on Android 15 when removing window.setNavigationBarColor(), so you might want to check again to test this? After all, the latter was deprecated on API 35.

It's so weird that it doesn't work before Android 15.

local colors = {
    {1, 0, 0}, -- R
    {0, 1, 0}, -- G
    {0, 0, 1}  -- B
}
local colorIndex = 1

timer.performWithDelay(1000, function()
    native.setProperty("navigationBarColor", colors[colorIndex])
    print("rgb", unpack(colors[colorIndex]))

    colorIndex = colorIndex % #colors + 1
end, 0)

@scottrules44 scottrules44 merged commit 5d83ee8 into coronalabs:master Jul 30, 2025
1 check passed
zero-meta pushed a commit to zero-meta/corona that referenced this pull request Aug 22, 2025
zero-meta pushed a commit to labolado/corona that referenced this pull request Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants