NameLast commit messageLast commit date
..
assetsAdd T3 Code mobile app and shared remote runtime7 months ago
depsuse custom react-native-nitro-markdown6 months ago
modulesfix: lower fileHeaderCountGap default from 6 to 4 to match usage-site cap6 months ago
pluginsAdd T3 Code mobile app and shared remote runtime7 months ago
srcRefactor review sheet into focused native review hooks6 months ago
.editorconfigAdd native mobile review diff rendering and static checks6 months ago
.gitignoreAdd T3 Code mobile app and shared remote runtime7 months ago
.swiftlint.ymlAdd native mobile review diff rendering and static checks6 months ago
app.config.tsSet mobile config scheme per app variant7 months ago
babel.config.jsAdd T3 Code mobile app and shared remote runtime7 months ago
BrewfileAdd native mobile review diff rendering and static checks6 months ago
detekt.ymlAdd native mobile review diff rendering and static checks6 months ago
eas.jsonAdd T3 Code mobile app and shared remote runtime7 months ago
global.cssAdd inline review comment selection to mobile diffs6 months ago
index.tsAdd T3 Code mobile app and shared remote runtime7 months ago
metro.config.jsget native highlighter setup properly7 months ago
package.jsonuse custom react-native-nitro-markdown6 months ago
README.mdAdd native mobile review diff rendering and static checks6 months ago
tsconfig.jsonFix post-rebase mobile typecheck issues6 months ago
uniwind-types.d.tsAdd T3 Code mobile app and shared remote runtime7 months ago
README.md

T3 Code Mobile

[!WARNING] T3 Code Mobile is currently in development and is not distributed yet. If you want to try it out, you can build it from source.

Quickstart

[!NOTE] Uses native modules so using Expo Go is not supported. You need to use the Expo Dev Client.

This app has three variants:

  • development: Expo dev client, installable side-by-side as T3 Code Dev
  • preview: persistent internal preview build, installable side-by-side as T3 Code Preview
  • production: store/release build as T3 Code

Run commands from apps/mobile.

Development

Start Metro for the dev client:

bun run dev:client

Build and run the local iOS dev client:

bun run ios:dev

Build and run the local iOS preview app:

bun run ios:preview

Force the review diff highlighter engine:

EXPO_PUBLIC_REVIEW_HIGHLIGHTER_ENGINE=javascript bun run ios:dev

javascript is the default and recommended setting for the review diff screen. Set EXPO_PUBLIC_REVIEW_HIGHLIGHTER_ENGINE=native only when you explicitly want to test the native Shiki engine.

Inspect the resolved Expo config for a variant:

bun run config:dev
bun run config:preview

Run static checks for mobile native code:

node ../../scripts/mobile-native-static-check.ts

The native lint task runs SwiftLint for Swift plus ktlint and detekt for Kotlin. Missing native tools are reported as warnings and skipped locally. CI installs the default toolset from apps/mobile/Brewfile before running the native checks.

EAS Builds

Create a cloud dev-client build:

bun run eas:ios:dev

Create a persistent preview build:

bun run eas:ios:preview

Android equivalents:

bun run eas:android:dev
bun run eas:android:preview