Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatusBar.setTranslucent don't work on Android 13 #37682

Closed
Bardiamist opened this issue Jun 5, 2023 · 2 comments
Closed

StatusBar.setTranslucent don't work on Android 13 #37682

Bardiamist opened this issue Jun 5, 2023 · 2 comments

Comments

@Bardiamist
Copy link
Contributor

Bardiamist commented Jun 5, 2023

Description

Noticed that StatusBar.setTranslucent(true) don't work on Anroid 13. onApplyWindowInsets triggers but status bar looks not translucent. It works in Android 12.

React Native Version

0.71.8

Output of npx react-native info

Details
System:
    OS: macOS 13.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 46.14 MB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.2.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.6.6 - /opt/homebrew/bin/npm
    Watchman: 2023.05.22.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.12.1 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.2 AI-222.4459.24.2221.10121639
    Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.19 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0 
    react-native: 0.71.8 => 0.71.8 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

Call StatusBar.setTranslucent(true) on Anrdoid 13

Snack, code example, screenshot, or link to a repository

StatusBar.setTranslucent(true)

@Bardiamist
Copy link
Contributor Author

Another problem

@keshavkatwe
Copy link

keshavkatwe commented Sep 23, 2023

Any update on this? I am facing same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants