I'm developing an Android app using Ionic 7 + Capacitor, and I'm facing a frustrating issue: Samsung Keyboard does not show predictive text suggestions (T9) in my app — neither with <ion-textarea> nor with native <textarea>.
What I tried:
<ion-textarea>:<ion-textarea [(ngModel)]="xxx[0]" placeholder="Note" [autoGrow]="true" inputmode="text" autocomplete="on" autocorrect="on" autocapitalize="sentences" rows="4"> </ion-textarea>Predictive text doesn't show.
<textarea>:<textarea [(ngModel)]="xxx[0]" placeholder="Note" rows="4" inputmode="text" autocomplete="on" autocorrect="on" autocapitalize="sentences"> </textarea>Still no predictive text.
Tried
ion-inputwithtype="text":<ion-input type="text" inputmode="text" autocomplete="on" autocorrect="on" autocapitalize="sentences"> </ion-input>Still doesn't show T9 suggestions.
What works:
T9 works perfectly in other apps (e.g., WhatsApp) on the same Samsung tablet.
When I switch to Gboard or SwiftKey, suggestions do show inside my app.
Environment:
Ionic 7
Capacitor 6
Android (Samsung Tablet with Samsung Keyboard, Turkish)
Using Capacitor Keyboard plugin:
await Keyboard.setResizeMode({ mode: KeyboardResize.Body });
await Keyboard.setAccessoryBarVisible({ isVisible: false }); // I also tried disabling this line.
WebView-based app (Capacitor)
Samsung Keyboard doesn't show suggestion bar, just emojis and symbols.
My question:
Is this a known limitation with Samsung Keyboard + WebView?
Is there a workaround to force predictive text on Samsung Keyboard?
Any plugin or native Android solution (e.g. imeOptions) that could help?
Any suggestions or workarounds would be appreciated. This is a medical app where predictive typing significantly helps our nurses.