Darcy Wong
5aa99752c9
Merge pull request #14560 from keymanapp/fix/android/sentry-7
...
fix(android): Update sentry-android dependency to 7.22.6 for 16 KB page alignment 🍒 🏠
2025-08-21 07:45:42 +07:00
Darcy Wong
764aec33d0
fix(android): Update sentry-android to 7.22.6
2025-08-20 09:14:20 +07:00
Joshua Horton
08a69b95d5
change(android): check globalThis before polyfill
2025-08-19 08:35:16 -05:00
Joshua Horton
0e8f34a2b3
docs(android): add min Chrome version in polyfill doc
2025-08-19 08:35:16 -05:00
Joshua Horton
2cee36e86b
fix(android): polyfill globalThis for API 28 devices
...
Fixes : #14450
Cherry-pick-of: #14541
2025-08-19 08:35:07 -05:00
Darcy Wong
7c3f91c415
fix(android): Get default sizes before initializing keyboard
2025-08-07 10:55:12 +07:00
Joshua Horton
261283d356
change(android): address PR review concerns
2025-05-21 08:08:24 +07:00
Joshua Horton
c193c3fe17
feat(android): log installed keyboard count
2025-05-21 08:08:24 +07:00
Joshua Horton
5116c3e749
feat(android): log active keyboard, model IDs with reported errors
...
Cherry-pick-of: #13983
To facilitate code investigation and issue repro attempts, we should log the
engine's current keyboard, language code, and model when reporting errors.
Fixes: KEYMAN-ANDROID-71V
(As this adds Sentry logging, I needed a reliable error with inspectable logs
for development.)
Test-bot: skip
2025-05-21 08:08:24 +07:00
Darcy Wong
b56a02fdf8
fix(android): Downgrade UnknownHostException error to info
...
Fixes KEYMAN-ANDROID-51P
2025-04-09 13:15:16 +07:00
Darcy Wong
0d2c001e48
Merge pull request #13681 from keymanapp/chore/common/crowdin-km
...
chore(android,mac,windows): update Crowdin strings for Khmer
2025-04-07 15:57:35 +07:00
Darcy Wong
8d012bb8a1
chore(android): Update crowdin strings for Khmer
2025-04-07 08:52:16 +07:00
Darcy Wong
9ff6858613
chore(android): Update crowdin strings for Czech
2025-04-07 08:41:03 +07:00
Darcy Wong
3bd69f182e
fix(android): Adjust keyboard height for 10" tablet landscape
2025-04-04 08:36:05 +07:00
Darcy Wong
8cc35dfdf3
fix(android): Adjust keyboard and banner height for 7" tablet
2025-04-04 07:42:54 +07:00
Darcy Wong
de0e8faf0e
fix(android): Add keyboard and banner dimensions for xhdpi portrait
2025-04-03 11:03:28 +07:00
Darcy Wong
3ee17bf421
chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/banner-heights
...
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
# Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
# Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2025-04-03 09:46:46 +07:00
Darcy Wong
231d9e3b6b
Merge branch 'beta' into cherrypick/android/13578-adjust-keyboard-height
2025-04-03 09:44:29 +07:00
Darcy Wong
376fbc1515
fix(android): Add hdpi dimensions
2025-04-03 08:26:07 +07:00
Darcy Wong
a392242923
fix(android): Adjust baseline heights for landscape
...
values-land/dimens.xml tested with 5.1" WVGA emulator
2025-04-03 07:05:38 +07:00
Darcy Wong
4d4508d4c7
Merge pull request #13595 from keymanapp/chore/crowdin/mon
...
chore(common): Update crowdin strings for Mon
2025-04-02 10:38:41 +07:00
Darcy Wong
e894f79880
Merge pull request #13592 from keymanapp/fix/android/430dpi
...
fix(android): Add dimensions for 320+dpi phones in landscape
2025-04-02 08:41:00 +07:00
Darcy Wong
afbe3d00cf
fix(android): Update the keyboard height
...
Per review comment
2025-04-01 14:56:25 +07:00
Marc Durdin
690d62ca3f
fix(android): Move responsibility for setting keyboard height preference
...
Cherrypick of #13578 to beta
Moves responsibility for setting keyboard height preference into `applyKeyboardHeight()`
2025-04-01 14:10:55 +07:00
Darcy Wong
bbf249b64c
chore(android): Remove whitespace
2025-04-01 10:16:08 +07:00
Darcy Wong
6547458a3c
fix(android): Make banner smaller
...
Following review suggestion for banner not to be more than 1/4 of the main keyboard body.
2025-03-31 13:37:23 +07:00
Darcy Wong
39eebaa257
chore(common): Update crowdin strings for Mon
2025-03-28 09:15:42 +07:00
Darcy Wong
5871df98b6
fix(android): Modify dimens.xml for 320dpi device
...
User requested a taller default keyboard height for a Pixel 8a device in landscape (430dpi corresponding to xhdpi). The next tier xxhdpi is for 480+ dpi.
Reference
https://developer.android.com/guide/topics/resources/providing-resources.html#table2
Based on `values/sw600dp-land/dimens.xml`, create `values-land-xhdpi/dimens.xml`
This allows a taller landscape keyboard height.
2025-03-27 15:42:19 +07:00
Darcy Wong
88d896e7d5
fix(android): Copy values-sw600dp-land/dimens.xml to values-land-xhdpi
2025-03-27 15:40:53 +07:00
Darcy Wong
fee91b379d
chore(android): Remove debug statements
2025-03-27 11:04:30 +07:00
Darcy Wong
75bf69bfbf
fix(android): Cleanup comments
...
Cleanup references to mayPredictOverride in comments
2025-03-24 10:27:50 +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
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
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
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
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