uni.getSystemInfoSync()在不同安卓版本中得到的结果不一样
Open
- Dominant language
- JavaScript
- Stars
- 41.6k
- Forks
- 3.7k
- Avg merge
- 7h 6m
- Merged PRs (30d)
- 6
Description
**问题描述**
uni.getSystemInfoSync()获取statusBarHeight高度,自定义导航栏,但是获取到的高度在安卓13中能读取到statusBarHeight的真实高度值,在安卓15和16中读取不到。
**预期结果**
要么都读取不到,要么就是都能读取到,现在一个能读取到,一个不能读取到,弄的我没法统一处理这个事情
Contributor guide
Research direction
Start by reproducing uni.getSystemInfoSync() on Android 13, 15, and 16, focusing on the statusBarHeight value used for a custom navigation bar. Trace the implementation or platform entry point that supplies this value and compare the results across versions. Done means the behavior is consistent across the reported Android versions, or the difference is explicitly handled and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100