Commit graph

1688 commits

Author SHA1 Message Date
Darcy Wong
c38f488986 chore(common): Update crowdin strings for Vietnamese 2025-10-09 11:40:18 +07:00
Darcy Wong
499e427b8e fix(android): Fallback to legacy calculation when not initialized 2025-10-08 15:23:33 +07:00
Darcy Wong
eda50b2232 chore(android): Remove unused insets 2025-10-07 14:11:09 +07:00
Darcy Wong
329125a1b1 fix(android): Separate bottom insets for in-app and system keyboard 2025-10-07 13:29:46 +07:00
Darcy Wong
0e2011eca8 chore(android): Cleanup code 2025-10-07 10:24:22 +07:00
Darcy Wong
295dfd9e92 test(android): Adjust system keyboard insets 2025-10-07 08:36:20 +07:00
Darcy Wong
5aee77d5a8 fix(android): Use a toggle for adjusting the navigation bar height 2025-10-06 11:05:24 +07:00
Darcy Wong
65a631b53d test(android): Experiment with insets 2025-10-04 09:43:49 +07:00
Darcy Wong
3249f75b40 fix(android): Use max of gesture and navigation bar height 2025-10-03 13:02:21 +07:00
Darcy Wong
942723dad8 chore(android): Cleanup missing change 2025-10-03 11:25:23 +07:00
Darcy Wong
dd6a1aaf00 fix(android): Revert to using systemBars() 2025-10-03 09:02:53 +07:00
Darcy Wong
c9cc466e09 fix(android): Don't assume landscape inset 0 2025-10-02 14:41:03 +07:00
Darcy Wong
6820718d44 fix(android): Check visibility flags to determine which insets used 2025-10-02 14:02:45 +07:00
Darcy Wong
f1ad3ec4d1 fix(android): Use gestureInsets dimension when visible 2025-10-02 07:29:42 +07:00
Darcy Wong
22f63ccfdd fix(android): Try to factor in gesture insets 2025-10-01 15:45:37 +07:00
Darcy Wong
f3d9b1a2ab fix(android): Update calculation of navigation bar 2025-10-01 14:19:22 +07:00
Darcy Wong
8af7803839 fix(android): Adjust top insets for the navigation bar inset 2025-09-25 10:39:06 +07:00
Darcy Wong
0a91f50fcc fix(android): Move setting system keyboard insets to KMManager 2025-09-24 13:05:34 +07:00
Darcy Wong
ddc994857d fix(android): Fix the alignment 2025-09-24 08:43:35 +07:00
Darcy Wong
aa886cecba fix(android): Separate insets for inapp and system keyboard 2025-09-23 17:07:48 +07:00
Darcy Wong
440f6c9c7e fix(android): Apply bottom insets to system keyboard
Reverts part of #14619
2025-09-23 08:26:31 +07:00
Darcy Wong
6b48078dc6 fix(android): Cleanup list layout so it's not covered by navigation bar 2025-09-01 10:32:33 +07:00
Darcy Wong
a992b98d47
Merge pull request #14619 from keymanapp/fix/android/osk-gap
fix(android): Fix insets for in-app vs system keyboard 🪟
2025-08-29 07:58:12 +07:00
Darcy Wong
aebb9270b3
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java 2025-08-29 07:50:21 +07:00
Darcy Wong
a9a3c3ab25 fix(android): Check API level for getColor
CI build reports getColor requires API >= 23
2025-08-28 14:31:21 +07:00
Darcy Wong
dd43435a05 fix(android): Fix insets for in-app vs system keyboard 2025-08-28 13:30:16 +07:00
Joshua Horton
a54e5a027a change(android): check globalThis before polyfill 2025-08-19 08:12:50 -05:00
Joshua Horton
0e46c2d2f7 docs(android): add min Chrome version in polyfill doc 2025-08-18 09:15:04 -05:00
Joshua Horton
ad990b3e52 fix(android): polyfill globalThis for API 28 devices
Fixes: #14450
2025-08-18 09:12:32 -05:00
Darcy Wong
eaec803701
Merge branch 'master' into fix/android/edge-to-edge-activities 2025-08-18 14:14:54 +07:00
Darcy Wong
7e5e117901
Merge pull request #14396 from keymanapp/fix/android/constraint-layout
fix(android): Convert Keyman app layout to use ConstraintLayout for handling edge-to-edge 🪟
2025-08-18 14:11:51 +07:00
Darcy Wong
476ee0a18e
Merge pull request #14472 from keymanapp/fix/android/init-keyboard-order
fix(android): Get default sizes before initializing keyboard
2025-08-08 07:44:36 +07:00
Darcy Wong
fddbba52e1 fix(android): Get default sizes before initializing keyboard 2025-08-07 07:18:48 +07:00
Darcy Wong
afd4256ce6 chore(common): Update Crowdin strings for Spanish 2025-08-06 11:36:52 +07:00
Darcy Wong
9f92f44e8b fix(android): Update other activities for edge to edge 2025-08-06 11:30:13 +07:00
Darcy Wong
2b16ecbb67 fix(android): Incorporate KAB mods
This brings in some of the changes the Keyboard App builder team  did to integrate with Keyman Engine for Android 18.0 and supporting edge to edge
2025-08-06 09:26:40 +07:00
Darcy Wong
16c9bfc90d fix(android): Handle when navigation bar is left/right of screen 2025-07-31 10:39:32 +07:00
Darcy Wong
b7eb61815c fix(android): Fix insets 2025-07-31 09:55:56 +07:00
Darcy Wong
3b91f09074 fix(android): Add API check for changing colors 2025-07-30 14:32:40 +07:00
Darcy Wong
85986dd6d8 fix(android): Convert to ConstraintLayout and apply insets
Using Android Studio's tool to convert the top level RelativeLayout to ConstraintLayout. This way, the edge-to-edge doesn't cover up the top and bottom portions of the app.

Also apply insets so app and keyboard fit in usable areas.
2025-07-30 14:12:03 +07:00
Darcy Wong
6148495e27 refactor(android): Update minimum required Chrome version to 95.0
* Change from 57.0 to 95.0 as the minimum target version of Chrome
* Refactor Chrome version check to use constants, and updated applicable strings
2025-07-23 08:47:57 +07:00
Joshua Horton
bfb97ca0c6 maint(web): upgrade Sentry to 8.55.0
Fixes: KEYMAN-WEB-RX
(It was produced artificially after this PR's changes to validate them.)

Cross-reference with https://github.com/getsentry/sentry-javascript/blob/master/docs/migration/v7-to-v8.md in regard to minimum supported versions.

@keymanapp-test-bot skip
2025-05-22 14:02:16 +07:00
Joshua Horton
e0fef02631 change(android): address PR review concerns 2025-05-20 13:30:38 +07:00
Joshua Horton
736b4a18fe feat(android): log installed keyboard count 2025-05-20 12:05:11 +07:00
Joshua Horton
87c9f7a0c3 feat(android): log active keyboard, model IDs with reported errors
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-20 10:58:03 +07:00
Darcy Wong
eedfcf2f0e chore: Merge remote-tracking branch 'origin/master' 2025-05-13 07:05:25 +07:00
Darcy Wong
5f0cd83d05 maint(android): Update Gradle to use Java 21 2025-05-08 12:57:17 +07:00
Eberhard Beilharz
4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
Marc Durdin
4f829f5c8f chore: Merge remote-tracking branch 'origin/master' into chore/merge-beta-to-master-b18s5 2025-04-21 07:13:35 +07:00
Darcy Wong
b56a02fdf8 fix(android): Downgrade UnknownHostException error to info
Fixes KEYMAN-ANDROID-51P
2025-04-09 13:15:16 +07:00