react / react/react-native

No support for 120Hz in React Native

未关闭
#32,703 5 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Needs: Triage :mag: Never gets stale
主要语言
C++
星标
127k
派生
25.3k
平均合并
1 天 23 小时
30 天内合并 PR
4

描述

Description

React Native does not support ProMotion on iOS 15 with iPad Pro or iPhone 13 Pro, the performance monitor display up to 64FPS, how can I fix this

Setup:

  • Macbook M1 Monterey
  • Xcode 13
  • iOS 15 Real device
  • react native 0.66.3
Version

0.66.3

Output of react-native info

iOS Running app on iPhone 13 Pro Max

Steps to reproduce

Use iPhone 13 Pro Max with Performance monitor

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

No response

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

在运行 iOS 15、React Native 0.66.3 并启用 Performance Monitor 的 iPhone 13 Pro Max 上复现该问题。跟踪 monitor 如何确定并显示 FPS,然后定义 ProMotion 设备应有的 120Hz 行为。当 monitor 准确反映设备支持的刷新率,且该行为由适当的回归测试覆盖时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
ios, react-native
领域
mobile, performance
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。