diff --git a/CLAUDE.md b/CLAUDE.md index d2a2c02..e955b20 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,23 +6,30 @@ Native Android app (Kotlin) that wraps `https://smart.joykoo.mx/` in a fullscree ## Critical Design Decision -The Android soft keyboard must NEVER appear. Keyboard suppression uses multiple layers — do not remove any of them: +The Android soft keyboard must NEVER appear for scanner fields. The only exception is a field a person taps with a finger (see Keyboard Policy below). Keyboard suppression uses multiple layers — do not remove any of them: 1. `NoSoftKeyboardWebView.onCheckIsTextEditor()` → `false` 2. `EditorInfo` flags `IME_FLAG_NO_EXTRACT_UI | IME_FLAG_NO_FULLSCREEN` in `onCreateInputConnection()` -3. `InputMethodManager.hideSoftInputFromWindow()` posted after each InputConnection request and on page load / window focus -4. JavaScript injection setting `inputmode="none"` on all ``, `