You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracking issue for Android support, the third platform alongside iOS and macOS.
Backing library
Sora-Editor by Rosemoe. The only viable native Android source-editor library — actively maintained (~87 commits / 90 days), TextMate and Tree-sitter highlighting (richer than STTextView), real production use inside AndroidIDE. The Android ecosystem is a near-monoculture here; alternatives are all regex-only, stale, or hobby-grade.
Known risks (proceeding eyes-open)
License: LGPL-2.1. Consumed dynamically as a Gradle implementation AAR (no source modification, no static linking) it's compatible with permissive downstream apps. README must document the inheritance.
Perpetual 0.x. Every release marked prerelease; expect ~yearly breaking changes (e.g. 0.23→0.24 made Span an interface).
NDK/JNI via oniguruma for TextMate regex → multi-ABI APK size impact.
Sub-tasks
Each becomes a separate PR. The tracking issue stays open until the last one lands.
Fabric skeleton + MVP — wipe the legacy Expo-module stub in android/. Bare-RN Fabric component setup (Gradle, manifest, codegen wiring, ReactPackage). MVP props: `text`, `editable`, `onChangeText`, `onSelectionChange`, focus/blur ref. Sora-Editor embedded but no highlighting / theming yet. Goal: render an editable Sora editor in an example app and round-trip text changes.
`theme` (light/dark/auto) — map to Sora's color schemes.
`language` (highlighting) — wire to Sora's TextMate language registry. Match the existing iOS/macOS language set: plaintext, markdown, json, javascript, typescript, html.
CI — extend `.github/workflows/ci.yml` to build Android.
Tracking issue for Android support, the third platform alongside iOS and macOS.
Backing library
Sora-Editor by Rosemoe. The only viable native Android source-editor library — actively maintained (~87 commits / 90 days), TextMate and Tree-sitter highlighting (richer than STTextView), real production use inside AndroidIDE. The Android ecosystem is a near-monoculture here; alternatives are all regex-only, stale, or hobby-grade.
Known risks (proceeding eyes-open)
implementationAAR (no source modification, no static linking) it's compatible with permissive downstream apps. README must document the inheritance.Spanan interface).Sub-tasks
Each becomes a separate PR. The tracking issue stays open until the last one lands.
android/. Bare-RN Fabric component setup (Gradle, manifest, codegen wiring, ReactPackage). MVP props: `text`, `editable`, `onChangeText`, `onSelectionChange`, focus/blur ref. Sora-Editor embedded but no highlighting / theming yet. Goal: render an editable Sora editor in an example app and round-trip text changes.Out of scope here
Code folding, autocomplete, find/replace — these are post-parity work, separate issues if filed.