0.75.4 - 0.80.1 Android 15-16 for StatusBarModule (EdgeToEdge)
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C++
- Star
- 127k
- Fork
- 25.3k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
Description
Your app uses deprecated APIs or parameters for end-to-end display
One or more APIs you use or parameters you set for end-to-end screen and window display have been discontinued in Android 15. Your application uses the following deprecated APIs or parameters:
android.view.Window.getStatusBarColor
android.view.Window.setStatusBarColor
These start from:
com.facebook.react.modules.statusbar.StatusBarModule$setColor$1.runGuarded
com.facebook.react.modules.statusbar.StatusBarModule.getTypedExportedConstants
https://developer.android.com/about/versions/15/behavior-changes-15?hl=tr#edge-to-edge
React Native Version
0.75.4, - 0.80.1
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Memory: 15.45 GB / 31.96 GB
Binaries:
Node:
version: 22.9.0
path: C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm:
version: 10.9.1
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "31"
- "35"
Build Tools:
- 34.0.0
- 35.0.0
System Images:
- android-24 | Google Play Intel x86 Atom
- android-26 | Google APIs Intel x86 Atom
- android-27 | Intel x86 Atom
- android-27 | Google APIs Intel x86 Atom
- android-27 | Google Play Intel x86 Atom
- android-28 | Google Play Intel x86 Atom
- android-34 | Google Play Intel x86_64 Atom
- android-35 | Google Play Intel x86_64 Atom
- android-35 | Pre-Release 16 KB Page Size Google Play ARM Intel x86_64
Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-242.23339.11.2421.12700392
Visual Studio: Not Found
Languages:
Java: 17.0.9
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.75.4
wanted: 0.75.4
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với com.facebook.react.modules.statusbar.StatusBarModule, đặc biệt là setColor và getTypedExportedConstants, sau đó đọc các thay đổi liên quan đến hành vi edge-to-edge của Android 15. Xác định cách xử lý được hỗ trợ cho các API thanh trạng thái được báo cáo và xác minh trên Android 15 hoặc 16 rằng cảnh báo về API đã lỗi thời đã được giải quyết mà không làm hỏng hành vi của thanh trạng thái.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, react-native
- Lĩnh vực
- mobile
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 42/100