Commit graph

2749 commits

Author SHA1 Message Date
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
Joshua Horton
a194e02bfd
Merge pull request #14541 from keymanapp/fix/android/globalThis-polyfill
fix(android): polyfill globalThis for API 28 devices
2025-08-28 20:12:32 +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
Darcy Wong
38f145eb09 chore(android): Remove old comments 2025-08-28 10:57:14 +07:00
Darcy Wong
e5291fc90b fix(android): Remove flatDir from other Gradle files 2025-08-22 09:08:34 +07:00
Darcy Wong
eeefd6bdc0 fix(android): Remove flatDir from Gradle file 2025-08-22 08:56:44 +07:00
Darcy Wong
b0079ad39f
Merge branch 'master' into fix/android/configure-output 2025-08-21 08:17:58 +07:00
Darcy Wong
fe8ba3b472 fix(android): Use constants for configure outputs 2025-08-21 08:13:05 +07:00
Darcy Wong
4275a3c9c6
Merge pull request #14559 from keymanapp/chore/android/sentry-8
fix(android): Update sentry-android dependency to 8.19.1 for 16 KB page alignment
2025-08-21 07:46:07 +07:00
Marc Durdin
2b0db1eb51
Merge pull request #14490 from keymanapp/maint/android/14284-publish-sentry-symbols-on-release-buildlevel
maint(android): publish symbols to Sentry on release buildLevel 🦌
2025-08-20 20:20:25 +07:00
Darcy Wong
77b56c5018 maint(android): Cleanup builder_describe_outputs for configure action 2025-08-20 12:49:42 +07:00
Darcy Wong
0a83faac7d
Merge pull request #14539 from keymanapp/fix/android/36-hidden
fix(android): Add "Show On-screen keyboard" preference to display OSK when physical keyboard is connected 👁️
2025-08-20 09:34:16 +07:00
Darcy Wong
9ddcf0aff8
Merge pull request #14538 from keymanapp/fix/android/onEvaluateInputViewShown
fix(android): Show system OSK when physical keyboard connected on Android API 36 👁️
2025-08-20 09:33:41 +07:00
Darcy Wong
ca3c19441b fix(android): Update sentry-android to 8.19.1 2025-08-20 07:29:31 +07:00
Joshua Horton
a54e5a027a change(android): check globalThis before polyfill 2025-08-19 08:12:50 -05:00
Marc Durdin
81c807c257 chore(common): Merge branch 'master' into maint/common/14453-move-ci-scripts 2025-08-19 10:46:11 +02:00
Darcy Wong
c4a156b692
Update android/docs/help/basic/config/index.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-08-19 06:56:43 +07: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
c30ec23be9
Merge pull request #14514 from keymanapp/fix/android/samples-edge-to-edge
fix(android): Update Sample, Test, and FirstVoices apps for edge to edge 🪟
2025-08-18 14:30:51 +07:00
Darcy Wong
eaec803701
Merge branch 'master' into fix/android/edge-to-edge-activities 2025-08-18 14:14:54 +07:00
Darcy Wong
84c6d72e8f chore(android): Remove old import 2025-08-18 14:14:09 +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
d827d2f796 docs(android): Add "Show On-screen keyboard" to in-app help 2025-08-18 11:18:34 +07:00
Darcy Wong
354b02291e fix(android): Add UI preference for showing OSK with physical keyboard 2025-08-18 11:04:42 +07:00
Darcy Wong
0a565584ea fix(android): Show system keyboard when physical keyboard is connected 2025-08-18 10:15:20 +07:00
Darcy Wong
90a0fae378 fix(android): Show OSK when physical keyboard connected 2025-08-15 11:36:13 +07:00
Darcy Wong
1a3d08bcb5 fix(android): Don't register model on KeyboardHarness app 2025-08-13 10:10:59 +07:00
Darcy Wong
5e62747cf1
Merge branch 'master' into main/android/taregt-api-35 2025-08-12 15:36:25 +07:00
Marc Durdin
a81138c62b
Merge pull request #14449 from keymanapp/maint/common/14065-consolidate-builder-scripts
maint(common): consolidate builder scripts 🐸
2025-08-12 10:41:09 +07:00
Marc Durdin
f95b26ac1f
Merge pull request #14446 from keymanapp/maint/common/14275-rename-and-cleanup-shellHelperFunctions.sh
maint(common): rename shellHelperFunctions.sh to utils.inc.sh 🐸
2025-08-12 10:40:59 +07:00
Darcy Wong
827127d2e0
Merge pull request #14491 from keymanapp/chore/android/java-21-features
chore(android): Specify Java language version 21
2025-08-12 08:02:00 +07:00
Darcy Wong
40795d6ab7
Merge pull request #14474 from keymanapp/test/android/keycode-35
chore(android): Update keycode test app dependencies
2025-08-11 13:23:58 +07:00
Darcy Wong
3ceccfc054 chore(android): Specify Java language version 21
Resolves Gradle deprecation and language version warnings
```gradle
Java compiler version 21 has deprecated support for compiling with source/target version 8.
```

The `java.toolchain.languageVersion` syntax is a superset that covers the previous syntax `android.compileOptions`
2025-08-11 11:44:51 +07:00
Marc Durdin
1bb111edea maint(android): publish symbols to Sentry on release buildLevel
Refactor the publish action for Android to ensure that symbols are
published to Sentry for any 'release' buildLevel -- test releases and
alpha/beta/stable releases.

Splits the publish action into `publish-symbols` and
`publish-play-store` so that they can be run separately as needed, as
symbols can be published for test builds, but play store is only touched
for actual releases.

Note: examining the build logs and Sentry server state, it looks like
the publish to Sentry has not been happening for quite a while, so this
commit refactors the Sentry publishing code and establishes the
fv-keyboards publish target also.

Fixes: #14284
Build-bot: release
Test-bot: skip
2025-08-11 05:10:28 +02:00
Darcy Wong
1a1787c2b0 chore(android): Use API 35 2025-08-08 08:21:55 +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
ce0ba9b512 chore(android): Update keycode test app dependencies
Update dependencies so project compiles in Android Studio
2025-08-07 15:22:10 +07:00
Darcy Wong
5d5c2beca8 docs(android): Update docs on building Android projects 2025-08-07 13:53:00 +07:00
Darcy Wong
0992061c41 fix(android): Update Sample and Test apps to edge-to-edge 2025-08-07 13:38:24 +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
Marc Durdin
f3fb3ac87b maint(common): move build-utils-ci.inc.sh to ci/ci-publish.inc.sh
Removes a number of unused functions from the file, renames remaining
functions to match our builder script prefix patterns, removes unused
imports from various build scripts (e.g. Android).

Fixes: #14453
2025-08-05 12:54:56 +10:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00