Repository navigation
Conversation
229f02d to
41eb478
Compare
76c30a8 to
f4c84f1
Compare
41eb478 to
b3b2b67
Compare
b3b2b67 to
26f3468
Compare
|
Closing my own draft — #7427 is fixed on main by #15007 ( Keeping the idea on file though: the Android native ViewManager here is still the only mechanism that could surface composition state on that platform. RN Android has no composing flag at all ( If Android pinyin turns out to matter, this approach is the answer — but as 28 files on a base 805 commits behind, it wants a fresh start rather than a rebase. |
Summary
Net change: 1,216 additions, 1,797 deletions.
Native boundary
iOS extends React Native's existing
TextInputchange payload with UIKit's marked-text state andshouldChangeTextInRangereplacement evidence. Android cannot use the source patch because Gradle consumes React Native's precompiled AAR, and publicTextInput.onChangeexposes neither composition state nor replacement ranges.The Android package therefore contains the five React Native plumbing roles required for one native view—package, manager,
ReactEditText,InputConnection, and non-coalescing event—in one 214-line Kotlin file. There is no locale classification, mutable-buffer diff, timer, recovery tracker, or application composition state machine.Evidence
中commit range, cancellation, ordinarya/b/c, composition-owned Enter suppression, and post-composition accessory Enter.か→きflick,かな→カナcandidate replacement, Backspace cancellation, active-composition accessory Enter suppression, and post-composition Enter.k/a/n/amarked transitions followed by oneかなcommit.a/b/cremains immediate with native insertion ranges.한글, cancellation emits nothing, and the posted unmarked boundary mutation suppresses only the next accessory Enter while ordinaryaremains exact.s+apreedit native, confirms exactさ, cancels without bytes, and sends Enter separately. Marking onlysetComposingTextuncomposed leaks exactsawhile Englisharemains unchanged.abcdremains exact and max-one-in-flight; slowijkland zero-delay rapidmnopcontrols remain exact. Removing the sender wait starts all queued writes concurrently.theonce, while the disabled control submits exacttehonce.Verification
:orca_react-native-terminal-inputassembleDebugsucceeds with JDK 21; clean APK SHA-256 is97035eecc1d5aa64953711bb68a542ac4afc0cde240775d5b2525d1bfce52424Remaining certification
This stays draft. Android device behavior, #7094, #7427, and buffered autocorrection now have current-head evidence. Affected-device Korean behavior under #11235 and the Android Fcitx private-preedit accessory-Enter limitation remain uncertified.