Commit graph

226 commits

Author SHA1 Message Date
Darcy Wong
329125a1b1 fix(android): Separate bottom insets for in-app and system keyboard 2025-10-07 13:29:46 +07:00
Darcy Wong
03438c3ab9 fix(android): Fix bottom insets for Sample and FirstVoices apps 2025-09-25 11:20:11 +07:00
Marc Durdin
377b1056ec maint(resources): rename KEYMAN_VERSION_FOR_PR_FILENAME
Address review comment from #14703.

Test-bot: skip
Build-bot: skip
Relates-to: #14703
Relates-to: #10521
2025-09-10 11:17:41 +02:00
Marc Durdin
0cdcbd7905 maint(android): tweak output path for android apks
Build-bot: skip build:android,developer
2025-09-08 15:31:35 +02:00
Marc Durdin
4a6755706d fix(android): correct name of FV artifact 2025-09-08 13:37:34 +02:00
Marc Durdin
9997ef7fff maint(android): rework android file versioning 2025-09-08 13:25:33 +02:00
Darcy Wong
17515e721e fix(android): Fix FirstVoices activities for edge to edge 2025-09-01 10:48:39 +07:00
Darcy Wong
e5291fc90b fix(android): Remove flatDir from other Gradle files 2025-08-22 09:08:34 +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
7343d78722
Merge pull request #14546 from keymanapp/fix/android/fv-show-osk
fix(android): Add FirstVoices preference to show on-screen keyboard 👁️
2025-08-20 09:34:44 +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
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
7893ff2616 fix(android): Add FirstVoices preference to show on-screen keyboard 2025-08-19 07:31:22 +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
0a565584ea fix(android): Show system keyboard when physical keyboard is connected 2025-08-18 10:15:20 +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
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
b6fd905d43 fix(android): Setup FirstVoices activities for edge to edge 2025-08-07 13:38:50 +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
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
16facd8708 chore(android): Update FirstVoices red color theme
The red is used as a separator color, and some labels
2025-05-14 09:47:43 +07:00
Darcy Wong
b5afb508c5 chore(android): Update FirstVoices launcher icon
Using red background produced by Android Studio
Red background with the hex code #8d2a1d
2025-05-14 09:13:44 +07:00
Darcy Wong
eedfcf2f0e chore: Merge remote-tracking branch 'origin/master' 2025-05-13 07:05:25 +07:00
Darcy Wong
5d5609c343 maint(android): Update Java and Gradle for FirstVoices 2025-05-09 09:43:22 +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
b9f1f51a33 chore(android): Use builder_is_ci_build rather than --ci flag 2025-04-28 10:42:52 +07:00
Darcy Wong
6f6de46467 fix(oem/fv/android): Fix system keyboard banner on reload
Also applied to FirstVoices for Android app
2025-04-11 11:07:04 +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
edfef5488a fix(oem/fv/android): Apply renames 2025-03-24 08:30:34 +07:00
Darcy Wong
99be8148c0 fix(oem/fv/android): Avoid resetting keyboard index
From the days of stable-12.0 when the FirstVoices for Android app was configured in the main repo, the SystemKeyboard initialized with

3148aa7b8c/oem/firstvoices/android/app/src/main/java/com/firstvoices/keyboards/SystemKeyboard.java (L111-L113)

In the scenario FV for Android installed and enabled as the system keyboard (from the Android settings menu instead of launching the FV app), the initial usage as a system keyboard would have an uninitialized keyboard key (language and keyboard ID pairing to determine the current keyboard).

Fixes: FV-ANDROID-5G
Fixes: FV-ANDROID-7N
2025-03-11 10:21:54 +07:00
Darcy Wong
77b5cff622 fix(android): Correct the scope of tier in build.gradle 2025-02-18 09:12:59 +07:00
Darcy Wong
51d9aead77 fix(android): Fix gradle syntax 2025-02-17 07:18:52 +07:00
Darcy Wong
81a47ddb14 fix(android): Use TIER.md to determine Play Store tier 2025-02-17 07:05:37 +07:00
Darcy Wong
44f20472df feat(android): Enhance how ENTER key is handled for FV and KMSample2 2024-11-29 08:48:13 +07:00
Darcy Wong
a3dd21f71a
Merge pull request #12358 from keymanapp/fix/android/conditional-sentry
fix(android): Separate `publishSentry` Gradle task to publish symbols to Sentry
2024-09-10 14:20:03 +07:00
Darcy Wong
83b442b8fc
Merge pull request #12351 from keymanapp/fix/android/builder-publish
refactor(android): Move build-publish.sh to builder script
2024-09-10 14:19:29 +07:00
Darcy Wong
d4b0850fde Merge branch 'fix/android/builder-publish' into fix/android/conditional-sentry 2024-09-10 14:08:02 +07:00
Darcy Wong
aa816a4e7a
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-10 10:41:08 +07:00
Darcy Wong
87a013050c docs(android): Update help docs
* Update whatsnew
* Rename "SIL International" to "SIL Global"
* Add link to adjust-longpress-delay
2024-09-06 07:08:09 +07:00