Commit graph

25 commits

Author SHA1 Message Date
jahorton
9ab01d272b chore(ios): polish for new ios-host func per review 2024-02-19 08:57:46 +07:00
jahorton
9bc01bee5f fix(ios): multitaps following a context-window slide 2024-02-15 13:54:16 +07:00
jahorton
33ffad05ee fix(ios): banner image management 2024-01-09 13:46:03 +07:00
Joshua A. Horton
109920e235 refactor(web): drops banner options paradigm in favor of simple "inactiveBanner" prop 2023-11-13 13:31:57 +07:00
Joshua A. Horton
ab7bf0445d fix(ios): verifyLoaded() 2023-04-18 10:34:58 +07:00
jahorton
9d149a9b70 fix(ios): banner images, keyboard swapping 2023-04-11 10:41:59 +07:00
jahorton
6c1fe29562 fix(ios): fixes errors preventing keyboard load 2023-04-11 10:18:10 +07:00
Joshua A. Horton
9002f1c25f chore(web): some adjustments per PR review 2023-04-10 10:51:57 +07:00
Joshua A. Horton
d5ec58c52a fix(web): lots of little connection points for actual in-app use; gets Android app functional 2023-03-29 15:31:55 +07:00
Joshua A. Horton
48610a3b43 fix(common/web): modularizes SentryManager, re-enables it 2023-03-29 09:54:24 +07:00
Joshua A. Horton
9f082c7d4c feat(web): functional app/webview in android debug-host (minus SentryManager) 2023-03-29 08:28:44 +07:00
Joshua A. Horton
c75a4b94a3 fix(web): handling of the spacebar-text setting 2023-03-28 09:13:12 +07:00
Joshua A. Horton
a31e23fc9b change(web): banner height control 2023-03-28 09:13:11 +07:00
Joshua A. Horton
9e1db916a4 chore(web): drops webview textarea element, should fix most webview api 2023-03-28 08:28:06 +07:00
Joshua A. Horton
e7dedfc8ee change(web): embedded-OSK configuration, linkages 2023-02-28 08:42:09 +07:00
Joshua A. Horton
d987444683 change(web): OSK modularization, prep for standalone mode, refactors to achieve both 2023-01-20 15:16:05 +07:00
Marc Durdin
89f734c70a chore(ios): support iOS 13+ for iPad detection 2022-10-31 16:11:17 +11:00
Marc Durdin
71af6160db fix(ios): iPad was not recognised as tablet device
Fixes #7517.

Cleans up the setDeviceType code which was attempting to set the device
type far too late in the init sequence, and moves responsibility for
detection from kmwembedded.ts to ios-host.ts, as this device test is
iOS-specific.
2022-10-28 13:02:19 +11:00
Marc Durdin
88c7363ab7 fix(ios): only override console object in ios-host if debug enabled 2022-07-05 13:14:39 +10:00
jahorton
9dd69f4ee5 fix(ios): forces host page to use full allotted area 2022-05-18 09:48:33 +07:00
Keyman Server
a9e0575e1f fix(ios): reset context when osk is resized 2022-03-25 14:21:43 +11:00
Keyman Server
71a2b19aee fix(ios): call keyman.resetContext, not keyman.core.resetContext
The iOS code was making a direct call to `keyman.core.resetContext()`
rather than to `keyman.resetContext()`. This meant that the
`OutputTarget` was not set and the `newContext` event would never be
called (as well as triggering a background warning in the language
processor "OutputTarget missing during an invalidateContext call").

Refactored to include a wrapper for `resetContext()` in ios-host.js, as
I think it's better to proxy all calls to KMW consistently through the
host javascript.

(There are a couple of other direct calls which could be cleaned up;
search for "evaluateJavaScript" to find all calls; I think we could
consider build a wrapper for all these calls?)
2022-03-23 09:07:36 +11:00
Marc Durdin
e89eb608e7 fix(ios): reset context on empty context 2022-03-22 12:29:35 +11:00
Keyman Server
9f2246a336 fix(ios): avoid refocus of internal edit
The refocus of internal edit (setActiveElement) after every keystroke
was causing a `newcontext` event to be triggered. We should never need
to do this, but have chosen to move it within the resetContext pattern,
to minimize the changes.
2022-03-18 11:44:29 +11:00
Marc Durdin
5c687559fe chore(ios): separate ios-host.js
This is part of the fix chain for #5853. Split ios-host.js out from
keyboard.html in order to make it easier to debug and mock. No changes
to the content of the sscript, just moving it here.
2022-02-23 15:48:47 +11:00