Commit graph

2830 commits

Author SHA1 Message Date
Matthew Lee
18fc24cb05
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 02:08:30 -04:00
Matthew Lee
7cd219d097
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 02:08:10 -04:00
Matthew Lee
705e240d21 Merge remote-tracking branch 'MattGyverLee/fix/kmea/13511/applykeyboardHeight' into fix/kmea/13511/applykeyboardHeight 2025-03-26 02:06:16 -04:00
Matthew Lee
ca2101800d Adding variable. 2025-03-26 02:06:01 -04:00
Matthew Lee
459c948a97
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 01:54:21 -04:00
Matthew Lee
d4e7d06034
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 01:45:34 -04:00
Matthew Lee
621d15aa6d
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 01:42:56 -04:00
Matthew Lee
fc53742821 Setting 0 for heights. Gating inputs 2025-03-26 00:49:34 -04:00
Matthew Lee
8e523aff89 Reverting to removing height values. 2025-03-26 00:34:11 -04:00
Matthew Lee
75856683d4 Fixing Reset Button
Reverting change to getKeyboardHeight, adding getDefaultKeyboardHeightByOrientation.
2025-03-25 23:44:29 -04:00
Matthew Lee
f0d0784719
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/AdjustKeyboardHeightActivity.java
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-03-25 22:35:46 -04:00
Matthew Lee
a014141d62 minor cleanups. 2025-03-25 22:33:55 -04:00
Matthew Lee
b548f63566
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/AdjustKeyboardHeightActivity.java
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-03-25 22:26:13 -04:00
Matthew Lee
a0da0e18f5 Fixing Bracket, Adding applyKeyboardHeight(context, 0) 2025-03-25 22:00:31 -04:00
Matthew Lee
d84901fdc1
Update android/docs/engine/KMManager/applyKeyboardHeight.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-25 20:27:19 -04:00
Matthew Lee
c09df23fbc update docs for applyKeyboardHeight() 2025-03-25 10:51:24 -04:00
Matthew Lee
40a466e969 (fix:android) furthet investigation of applyKeyboardHeight()
Since Keyboard Height is actually set on Action-Up and only frame height is set onBackPressed() in existing code, this should have no effect in KMAPro but "complete" the API in KMEA,
2025-03-25 10:24:46 -04:00
Darcy Wong
75bf69bfbf fix(android): Cleanup comments
Cleanup references to mayPredictOverride in comments
2025-03-24 10:27:50 +07:00
Darcy Wong
009829a842 docs(android): Update Keyman Engine for Android API
Documents added getPredictionsSuspended() and setPredictionsSuspended() API calls for Keyman 18.0
2025-03-24 08:57:14 +07:00
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
9afcf8f2b0 fix(android): Restore banner after lock screen
Fix banner transitions on lock screen and resuming
2025-03-20 07:43:03 +07:00
Darcy Wong
d767936254 fix(android): Update string for Russian language 2025-03-18 08:29:25 +07:00
Joshua Horton
ca395c583a
Merge pull request #13333 from keymanapp/change/android/reorder-host-page-script-load
change(android): re-order host page script load so Sentry can report script load failures
2025-03-17 08:39:16 +07:00
Darcy Wong
166aae51d0
Merge pull request #13500 from keymanapp/chore/common/crowdin-it
chore(common): update crowdin strings for Italian
2025-03-14 10:27:33 +07:00
Darcy Wong
a0514682a4
Merge pull request #13499 from keymanapp/chore/common/crowdin-es-es-419
chore(android,windows): Update Crowdin for Spanish and Spanish (Latin America)
2025-03-14 10:27:18 +07:00
Darcy Wong
2e896e316f chore(common): Update crowdin strings for Italian 2025-03-14 09:23:26 +07:00
Darcy Wong
00552cb06c chore(android): update crowdin strings for Spanish (Latin America) 2025-03-14 09:12:49 +07:00
Darcy Wong
41a13cab2e chore(android): Update crowdin strings for Spanish 2025-03-14 09:10:31 +07:00
Marc Durdin
1a0b830c0b
Merge branch 'master' into chore/b18s3-merge-beta-to-master 2025-03-14 08:54:50 +07:00
Darcy Wong
84f7da519a docs(common): Update Sentry links to keyman.sentry.io
The previous redirect from sentry.keyman.com is long-gone, so this updates all the links.
2025-03-13 16:33:52 +07:00
Darcy Wong
5cbf016af9
Merge pull request #13475 from keymanapp/fix/android/input-null-passthrough
fix(android): Cache inputType to determine external keyboard handling
2025-03-11 13:39:54 +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
d9a3c01c4f fix(android): Cache inputType to determine external keyboard handling 2025-03-11 09:39:03 +07:00
Darcy Wong
1380597be2
Merge branch 'beta' into chore/common/crowdin-vi 2025-03-05 19:45:39 +07:00
Darcy Wong
c65897561f fix(android): Fix Toast message per review comment 2025-03-04 17:10: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
592d5b0a32
Merge pull request #13373 from keymanapp/docs/android/keyboard-picker-scope
docs(android): document control flag for system keyboard picker and task
2025-03-03 15:21:44 +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
Marc Durdin
f61a104acf
Merge branch 'master' into chore/merge-beta-into-master-B18S2 2025-03-01 15:45:19 +07:00
Darcy Wong
417be635bd
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-01 07:58:13 +07:00
Darcy Wong
4a73bc3ffc docs(android): document control flag for system keyboard picker and task 2025-02-28 09:30:46 +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
Joshua Horton
fe6218f83b change(android): re-order host page script load so Sentry can report script load failures
Parallels #13332, though we haven't seen similar issues for Android at this point.
2025-02-24 13:16:44 +07:00
Darcy Wong
118e15bfd4 fix(android): Control when system keyboard Keyboard Picker clears 2025-02-24 08:34:57 +07:00
Darcy Wong
0674317a00 chore(android): Add PR number 2025-02-22 07:49:30 +07:00