Commit graph

93 commits

Author SHA1 Message Date
Marc Durdin
0e0c0be70d chore: Merge remote-tracking branch 'origin/epic/web-core' into auto/A19S34-merge-base-into-web-core 2026-08-10 11:58:50 +02:00
Eberhard Beilharz
d87d104808
maint(android): update Android Target API to 36
This change updates the Android Target API to 36 to satisfy the upcoming
annual Play Store Aug 31 requirement. It updates Keyman for Android to
use API level 36 by changing the compileSdk and targetSdkVersion
properties to 36.

Also update `compileSdkVersion` and some reformatting in `README.md`.

Changes made by AI (Gemini 3 Flash Preview).

Fixes: #16279
Build-bot: release:android
2026-07-24 10:55:45 +02:00
Eberhard Beilharz
0f16f39e17
chore: Merge branch 'epic/web-core' into auto/A19S33-merge-master-into-web-core 2026-07-20 09:57:23 +02:00
Marc Durdin
5c428972e1
Merge pull request #16234 from keymanapp/chore/android/16137-cleanup-android-artifacts-and-build-scripts
chore(android): cleanup Android build scripts and artifact filenames
2026-07-14 21:20:03 +10:00
Marc Durdin
a1c8e63cc8 chore(android): cleanup Android build scripts and artifact filenames
* Specify clearer filenames for Android samples and test KeyboardHarness
* Cleanup android/*/build.sh to match current patterns
* Remove obsolete jcenter dependency
* Export BUILDER_CONFIGURATION in builder.inc.sh

Fixes: #16137
Fixes: #16181
Test-bot: skip
Build-bot: skip release:android
2026-07-13 16:36:29 +02:00
Eberhard Beilharz
b22798de44
fix(android): add permissions for Sentry and set default keyboard
This change fixes two problems that cause a script error in Sample1 app:
- add internet access permissions so that the Sentry server can be reached
- explicitly set the default keyboard since sil_euro_latin keyboard is not
  included in the sample apps. This works around #16215.

Fixes: #16180
Build-bot: release:android
2026-07-10 11:44:46 +02:00
Eberhard Beilharz
28652af8ab
fix(android): suppress error for fallback keyboard
We use SIL EuroLatin as fallback keyboard. If that is not installed,
previously we output an error which showed up as a toast for the user.
This change now outputs a warning instead of the error for the default
keyboard.

Also changed the KeyboardHarness test app to set a different keyoard as
default.
2026-07-01 12:27:38 +02:00
Eberhard Beilharz
b490d20098
fix(android): add missing dependency for KeyboardHarness app
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-30 12:56:50 +02:00
Marc Durdin
4932790ac0 feat(developer): reserve space for KMX+ header in KMX written from kmcmplib
For keyboards that are v19 or later, always reserve space for the KMX+
header that will be written out in kmc-kmn, to avoid rewriting the whole
file. At this time, zero out that space.

Test-bot: skip
Build-bot: skip build:developer
2025-11-19 10:14:57 +01:00
Darcy Wong
3872f57cbf fix(common): Update references to test9469 keyboard 2025-10-30 13:03:09 +07:00
Darcy Wong
5bf5a5941f chore(common): Move platformtest to common/test/keyboards 2025-10-28 07:18:49 +07:00
Darcy Wong
5fa0dccbcb chore(android): Update keyboard harness reference to chirality.js 2025-10-22 06:54:01 +07:00
Darcy Wong
e5291fc90b fix(android): Remove flatDir from other Gradle files 2025-08-22 09:08:34 +07: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
1a3d08bcb5 fix(android): Don't register model on KeyboardHarness app 2025-08-13 10:10: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
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
0992061c41 fix(android): Update Sample and Test apps to edge-to-edge 2025-08-07 13:38:24 +07:00
Darcy Wong
d694ab0889 fix(android): Update compileSdk to 35 2025-07-29 10:07:18 +07:00
Darcy Wong
ed7c0caf9d maint(android): Update Android Target API to 35 2025-07-24 08:04:50 +07:00
Darcy Wong
eedfcf2f0e chore: Merge remote-tracking branch 'origin/master' 2025-05-13 07:05:25 +07:00
Darcy Wong
3990ab45db maint(android): Update Java and Gradle for KeyboardHarness 2025-05-09 09:33:00 +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
Darcy Wong
0c955acb72 chore(android/samples): Update dependencies 2024-05-08 08:22:47 +07:00
Darcy Wong
c79487f706 test(android/samples): Add special characters to keyboard harness kmp 2024-04-22 16:37:42 +07:00
Darcy Wong
fdb14f2582 chore(android): Update targetSdkVersion to 34 2024-01-16 09:26:24 +07:00
Darcy Wong
c93269a21d chore(android): Clenaup keyboard harness package 2023-09-29 09:08:09 +07:00
Darcy Wong
ffd428da21 chore(android): Update test keyboard again 2023-09-28 21:36:00 +07:00
Darcy Wong
2d8013360f chore(android): Update test9469 to use ZWNJGeneric 2023-09-28 15:36:04 +07:00
Darcy Wong
70a204131f chore(web,android): Update test9469 keyboard 2023-09-27 06:10:46 +07:00
Darcy Wong
dbd03aa320 chore(android): Update test harness keyboard 2023-09-11 08:25:48 +07:00
Darcy Wong
059c233b6a test(web): Add special characters to shift layer 2023-08-18 14:30:22 +07:00
Joshua A. Horton
289a11c629 chore(web): Merge branch 'fix/web/webview-android-launch' into refactor/web/legacy-web-events 2023-05-02 16:04:15 +07:00
Darcy Wong
8d296568ce chore(android): Move namespace to gradle files 2023-04-25 14:39:15 +07:00
Joshua A. Horton
5f07d34bc0 fix(web): final patches for hand-written chirality keyboard 2023-04-21 09:14:49 +07:00
Joshua A. Horton
1f3887a8b0 fix(web): more chirality bootstrapping-keyboard fixes 2023-04-19 12:32:15 +07:00
Joshua A. Horton
4e75235643 fix(android): updates KeyboardHarness chirality kbd 2023-04-19 10:58:28 +07:00
Darcy Wong
9cde92f2e5 chore(android/samples): Update namespace for KeyboardHarness app 2023-01-06 09:06:17 +07:00
Darcy Wong
a4ff79037e chore(android/samples): Remove Sentry dependencies 2022-12-14 07:03:16 +07:00
Darcy Wong
2a0368bc54 chore(android): Update Gradle dependencies 2022-12-13 11:26:35 +07:00
Darcy Wong
8f90df861a fix(android/samples): Update manifest for KeyboardHarness 2022-11-18 09:26:39 +07:00
Darcy Wong
6a8865d0b6 chore(android): Update Target SDK Version to 31 2022-11-18 08:48:58 +07:00
Darcy Wong
11afaf03f8 test(android): Add final keyboard to test K_ENTER 2022-09-16 11:39:42 +07:00
Darcy Wong
92c5e5d884 chore(android): Update sentry-android-gradle-plugin 2021-08-04 11:10:35 +07:00
Darcy Wong
6db8cea05b chore(android/samples): Update dependencies for Sample projects
Also update targetSDKVersion to 30
2021-05-21 10:54:30 +07:00
Darcy Wong
d8fbec7cd1 fix(android/samples): Add dependency on androidx.preference 2021-01-21 15:44:56 +07:00
Darcy Wong
e6ebc22f0b fix(android/samples): Update keyboard harness 2021-01-18 16:05:45 +07:00
Darcy Wong
9ef2cec502 chore(android): Update dependencies 2020-10-22 10:51:34 +07:00
Darcy Wong
5369d85d86 test(android): Update Sample and Test Projects to use Keyboard syntax
Also rebuild keyboardharness.kmp to set version for chirality.js
2020-06-05 11:03:49 +07:00