keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
398 stars 112 forks source link

feat: predictive text integration #5673

Open mcdurdin opened 3 years ago

mcdurdin commented 3 years ago

This is a container issue for a list of related issues:

OS integration:

jahorton commented 3 years ago

Toward https://community.software.sil.org/t/spell-checking-in-keyman/5256/3:

I'm fairly certain that this is currently impossible to do on Apple devices:

https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/CustomKeyboard.html#//apple_ref/doc/uid/TP40014214-CH16-SW1

Because a custom keyboard can draw only within the primary view of its UIInputViewController object, it cannot select text. Text selection is under the control of the app that is using the keyboard. If that app provides an editing menu interface (such as for Cut, Copy, and Paste), the keyboard has no access to it. A custom keyboard cannot offer inline autocorrection controls near the insertion point.

mcdurdin commented 3 years ago

For iOS: UILexicon apparently allows us to offer suggestions from user's local dictionary (contacts, etc). May be helpful. But yes, iOS so much more limited than Android.

mcdurdin commented 2 years ago

LTCT2022 - requested user dictionary (not just access to local dict but custom dict I guess?)

jahorton commented 1 year ago

Finally found an "in" for Android: https://developer.android.com/guide/topics/providers/content-provider-basics#Basics

jahorton commented 4 months ago

I've now spun off the user-dictionary-oriented components to #11872, as I didn't see an existing issue devoted to that work item.