Commit graph

2724 commits

Author SHA1 Message Date
Darcy Wong
ca3c19441b fix(android): Update sentry-android to 8.19.1 2025-08-20 07:29:31 +07: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
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
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
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
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
f6120747ad chore(android): Remove unused constraintlayout-compose dependency 2025-07-31 07:09:35 +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
d694ab0889 fix(android): Update compileSdk to 35 2025-07-29 10:07:18 +07:00
Darcy Wong
02fc68790b fix(android): Fix targetSdkVersion for the app 2025-07-24 14:39:12 +07:00
Darcy Wong
ed7c0caf9d maint(android): Update Android Target API to 35 2025-07-24 08:04:50 +07:00
Darcy Wong
423e6c8dab
Merge branch 'master' into chore/android/chrome-min-95 2025-07-24 06:30:34 +07:00
Eberhard Beilharz
c228635ef4
chore(android): Merge branch 'master' into maint/android/14350_consolidatezip 2025-07-23 16:19:37 +02:00
Darcy Wong
c472b5a03d docs(android): Update system-requirements help on minimum Chrome version 2025-07-23 08:48:24 +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
Eberhard Beilharz
197ae290e1
Merge branch 'master' into refactor/android/refactorbuild.sh 2025-07-21 09:36:44 +02:00
Eberhard Beilharz
bb78c30c55
maint(android): consolidate creating zip file
Also set `RELEASE_OEM` and `RELEASE_OEM_FIRSTVOICES` at build time (if
`--fv` is passed) instead of relying it to be set in TC.

Fixes: #14350
Test-bot: skip
2025-07-14 15:55:18 +02:00
Eberhard Beilharz
852c9c5e9c
refactor(android): create functions for actions
Move action code in separate functions. Also cleanup some shellcheck
warnings.

Test-bot: skip
2025-07-14 15:03:21 +02:00
Eberhard Beilharz
a25202530e
maint(common): consolidate write_download_info functions
Fixes: #14259
Build-bot: skip
Test-bot: skip
2025-07-07 18:51:37 +02:00
Eberhard Beilharz
ecd3f9a1fa
maint(android): remove --ci parameter from android builds
`--ci` is deprecated since the current code discovers automatically
when we're building on CI, so we don't have to pass that option when
calling the `android/build.sh` script.

Also remove the option itself since we're no longer using it.

Build-bot: build android
Test-bot: skip
2025-07-03 17:43:22 +02:00
Darcy Wong
d9ed728970
Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-06-03 07:59:55 +07:00
Darcy Wong
ceb7f741ae fix(android): Fix typos 2025-06-02 13:35:17 +07:00
Darcy Wong
6e5e25b5ea fix(android): Updates to handle zip-excludes 2025-06-02 11:45:32 +07:00
Darcy Wong
86061d0523 maint(android): Add archive step to prep release artifacts 2025-06-02 10:28:21 +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
Darcy Wong
9f73d242e9
Merge pull request #13978 from keymanapp/fix/android/check-internet-on-download
fix(android): Check network access before trying to download keyboard
2025-05-21 19:33:45 +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