Commit graph

240 commits

Author SHA1 Message Date
Darcy Wong
9d8f71a718 refactor(android): Rename mayPredictOverrides APIs
Per review comments, rename these API's for Keyman 18.0:

inAppMayPredictOverride --> inAppPredictionsSuspendedForSensitiveInput
systemMayPredictOverride --> systemPredictionsSuspendedForSensitiveInput

getMayPredictOverride() --> getPredictionsSuspended()
setMayPredictOverride() --> setPredictionsSuspended()
2025-03-24 08:19:35 +07:00
Darcy Wong
1da411727a refactor(android): split mayPredictOverride for inapp and system kbd
Refactor mayPredictOverride so the banner toggle is handled independently for `KeyboardType.KEYBOARD_TYPE_INAPP` and `KeyboardType.KEYBOARD_TYPE_SYSTEM` keyboards.

Pre-existing override API calls are now for `KeyboardType.KEYBOARD_TYPE_SYSTEM`
2025-03-20 11:39:02 +07:00
Darcy Wong
d767936254 fix(android): Update string for Russian language 2025-03-18 08:29:25 +07:00
Darcy Wong
72bd63b4d1 fix(android/engine): Ignore key if user switched IME
* Don't log errors in insertText() and dispatchKey() if the user switched to another IME.

Fixes: KEYMAN-ANDROID-65D
Fixes: FV-ANDROID-ZY
2025-03-11 10:18:49 +07:00
Darcy Wong
1380597be2
Merge branch 'beta' into chore/common/crowdin-vi 2025-03-05 19:45:39 +07:00
Darcy Wong
92d58a7a61 fix(android): Don't report missing kmp.json
Fixes KEYMAN-ANDROID-4G
2025-03-04 09:48:25 +07:00
Darcy Wong
105734b8b3
Merge pull request #13313 from keymanapp/fix/android/system-keyboard-picker-scope
fix(android): Control when system keyboard Keyboard Picker clears activity stack
2025-03-03 15:21:23 +07:00
Darcy Wong
606b426961
Merge pull request #13353 from keymanapp/fix/android/socket-timeout-exception
fix(android): Filter out SocketTimeoutExceptions
2025-02-27 14:10:13 +07:00
Darcy Wong
10836066a7 fix(android): Filter out SocketTimeoutExceptions
Fixes: KEYMAN-ANDROID-54G

Downgrade from LogException to LogInfo
2025-02-26 15:46:44 +07:00
Darcy Wong
c54025ace4 fix(android): Use input method manager keyboard picker 2025-02-26 10:29:03 +07:00
Darcy Wong
962ca902b7 fix(android): Switch system IME when WebView fails 2025-02-26 10:06:48 +07:00
Darcy Wong
bc2eeb62d0 chore(android): Tweak names to describe context 2025-02-25 10:16:06 +07:00
Darcy Wong
118e15bfd4 fix(android): Control when system keyboard Keyboard Picker clears 2025-02-24 08:34:57 +07:00
Darcy Wong
40d166f873 fix(android): Add Vietnamese 2025-02-22 07:45:46 +07:00
Joshua Horton
fff9ba45ef
Merge pull request #13218 from keymanapp/fix/android/prevent-update-check-crashes
fix(android): prevent update-checks from crashing system keyboard and app if `DownloadManager` is disabled
2025-02-17 14:36:54 +07:00
Joshua Horton
cdafdd70a3 change(android): adds boolean return to executeAsDownload 2025-02-17 10:26:18 +07:00
Joshua Horton
252a31ada2 chore(android): removing each KMLog one at a time, apparently 2025-02-17 09:47:28 +07:00
Joshua Horton
2437ff5cc2 chore(android): and another, plus removal of accidental typo 2025-02-17 09:45:05 +07:00
Joshua Horton
1c2c845b4c chore(android): drop unreferenced KMLog import 2025-02-17 09:43:30 +07:00
Joshua Horton
c2434c45aa change(android): drop no-op line, unneeded exception handler 2025-02-17 09:42:00 +07:00
Joshua Horton
81e84b6147 chore(android): remove unused imports 2025-02-17 09:28:17 +07:00
Darcy Wong
93ffd18eae
Merge pull request #13140 from keymanapp/fix/android/check-webview
fix(android): Catch WebView exceptions and prompt user to install WebView
2025-02-14 10:34:58 +07:00
Joshua Horton
0058edb3dd change(android): reintroduce specialized notification 2025-02-14 09:18:57 +07:00
Joshua Horton
8910531c10 refactor(android): deduplicate handler setup into helper method 2025-02-14 09:09:10 +07:00
Darcy Wong
07dac95514
Update android/KMEA/app/src/main/java/com/keyman/engine/util/WebViewUtils.java 2025-02-13 21:50:02 +07:00
Darcy Wong
b3ae7f831a fix(android): Don't set longpress delay for unit tests 2025-02-13 15:21:13 +07:00
Joshua Horton
8ef559e90e docs(android): improve doc for new function 2025-02-13 14:54:34 +07:00
Darcy Wong
dc17075408 fix(android): Remove sendOptionsToKeyboard function from Engine API 2025-02-13 14:41:44 +07:00
Joshua Horton
536201f53e chore(android): add handling + Sentry logging for robustness in case of other sources 2025-02-13 14:37:55 +07:00
Joshua Horton
cb9546fdde fix(android): extra robustness in cloud-repo-query operation 2025-02-13 14:08:26 +07:00
Joshua Horton
31af7cfc46 chore(android): handle other potentially-affected cases 2025-02-13 13:42:03 +07:00
Joshua Horton
eab497ff7d feat(android): add DownloadManager enablement check, related custom exception 2025-02-13 12:52:58 +07:00
Darcy Wong
cec240a2ce chore(android): Tweak preamble 2025-02-13 07:40:07 +07:00
Darcy Wong
7f79dd55b8 fix(android): Remove WebViewErrorActivity
TODO for separate PR
2025-02-13 07:37:31 +07:00
Darcy Wong
d9a1938cfe fix(android): Tweak layout 2025-02-13 07:07:16 +07:00
Darcy Wong
2cb0dadfa9 fix(android): Show WebViewError activity on SystemKeyboard exception 2025-02-13 07:07:16 +07:00
Darcy Wong
474801c239 fix(android): Display Toast notification when system keyboard fails 2025-02-13 07:07:16 +07:00
Darcy Wong
d4f96d66b7 fix(android): Check WebView is installed and enabled
Fixes: #11560
Fixes: KEYMAN-ANDROID-5E9
Fixes: KEYMAN-ANDROID-6MA
2025-02-13 07:07:16 +07:00
Darcy Wong
3e6cae6b12
Merge pull request #13056 from keymanapp/chore/common/crowdin-pt
chore(common): Update crowdin strings for Portuguese
2025-01-29 07:46:13 +07:00
Joshua Horton
2bc1d2c317
Merge pull request #13004 from keymanapp/fix/android/context-null-reports
fix(android): improve resource-update tool handling of host Activity's closure
2025-01-28 08:47:53 +07:00
Darcy Wong
2a61a61f4c fix(android): Update Portuguese display name 2025-01-28 07:25:48 +07:00
Joshua Horton
80b2850cb4
Merge pull request #13001 from keymanapp/fix/android/error-during-load-of-kmw-host
fix(android): disable early keyboard-loading when not feasible
2025-01-27 08:10:42 +07:00
Joshua Horton
39549927e7 feat(android): add breadcrumbing during package install about package file, source 2025-01-24 10:43:00 +07:00
Joshua Horton
46279140aa chore(android): undoes variable tweak
Fixes: KEYMAN-ANDROID-3BQ
Fixes: KEYMAN-ANDROID-3Q8
2025-01-24 09:50:10 +07:00
Joshua Horton
1131b97812 fix(android): restores DOMRect polyfill for old Chrome support 2025-01-24 08:45:39 +07:00
Joshua Horton
7ffa001617 change(android): use higher-level context for Toasts 2025-01-23 14:29:12 +07:00
Joshua Horton
e97308a1a7 fix(android): removes "where context is null" reporting
Fixes: #10032
2025-01-23 14:29:05 +07:00
Joshua Horton
064a5623ee fix(android): add null-guard in KMKeyboardJSHandler.initialKeyboard 2025-01-23 10:46:12 +07:00
Darcy Wong
7b478993e2 fix(android/engine): Revert how keyboard picker menu launches
Revert #10806
2025-01-22 15:18:26 +07:00
Joshua A. Horton
102af4f304 fix(android): processing of hardware keystrokes when OSK is hidden
Fixes: #12366
2025-01-10 15:01:07 +07:00