T3 Code 非官方中文翻译不是官方产品,也不是 T3 Tools 官方文档。源提交 d2c25950b4d9中文译文GitHub 源文件
Skip to content

Building the mobile Screens dependency ​

The mobile v5 stack uses a committed tarball from the T3 Screens fork. The fork owns the integration changes; the app does not patch this package. Each archive includes compiled JavaScript, declarations, native source and t3-fork.json recording its version, source commit and upstream base.

To reproduce an archive, use Node 24 and the repository's pinned Yarn from a clean fork checkout at the source commit recorded in its t3-fork.json:

sh
yarn --cwd /tmp/t3-screens-fork pack:t3 /absolute/path/to/t3code/apps/mobile/deps

For an update, sync the fork's main with upstream, merge it and the required proposal branches into t3/main, increment the 5.0.0-t3.N version, pin t3Fork.upstreamCommit to the integrated upstream SHA and commit. Run pack:t3 from that clean checkout and tag the source as t3-v<version>. Publish the source commit and tag to the fork before submitting the app change. Replace the old archive, update apps/mobile/package.json and run vp i to regenerate the lockfile. Verify mobile types and affected navigation tests. Changes to native source also require rebuilding and testing the native client.

The same iOS binary supports iPhone, iPad, and Duo. UIKit hinge updates enable phone workspace columns at runtime; regular phones retain portrait rotation. Use the normal EAS build profiles and update channels. Duo support requires a binary built with the iOS 27.1 SDK; an OTA cannot add the native APIs.

非官方译文 · 源提交 d2c25950b4d9 · 不代表 T3 Tools