2

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:

  1. <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.

  2. <textarea>:

    <textarea
       [(ngModel)]="xxx[0]"
       placeholder="Note"
       rows="4"
       inputmode="text"
       autocomplete="on"
       autocorrect="on"
       autocapitalize="sentences">
    </textarea>
    

    Still no predictive text.

  3. Tried ion-input with type="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.

1
  • Check if predective text is enabled for keyboad in settings. also try to clear keyboard app cache and data. Commented Jul 31 at 9:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.