Commit graph

2682 commits

Author SHA1 Message Date
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
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
0f03bbf929 fix(android): Check network access before trying to download keyboard
Display a Toast notification if network is unavailable before downloading from the keyboard page

Fixes: #13977
Fixes: KEYMAN-ANDROID-420
2025-05-19 11:46:21 +07:00
Eberhard Beilharz
b4cd5a24e4
Merge pull request #13898 from keymanapp/maint/android/13896_TIER
PR #13854 missed (at least) one place when renaming the variables from `TIER` to `KEYMAN_TIER`. This change fixes the release builds for Android.
    
Follow-up-of: #13854
Fixes: #13896
2025-05-13 09:25:02 +02:00
Eberhard Beilharz
a3b63008ef
maint(android): use new variable name KEYMAN_TIER
PR #13854 missed (at least) one place when renaming the variables from
`TIER` to `KEYMAN_TIER`. This change fixes the release builds for
Android.

Follow-up-of: #13854
Fixes: #13896
Test-bot: skip
2025-05-13 08:56:02 +02:00
Darcy Wong
f4c5c55773 fix(android): Revert setting java language version 2025-05-13 10:02:56 +07:00
Darcy Wong
2ad0c9cea7 maint(android): Set Java language version 21 2025-05-13 08:13:02 +07:00
Darcy Wong
eedfcf2f0e chore: Merge remote-tracking branch 'origin/master' 2025-05-13 07:05:25 +07:00
Darcy Wong
e061d3e755 docs(android): Update minimum versions docs 2025-05-09 09:43:54 +07:00
Darcy Wong
3990ab45db maint(android): Update Java and Gradle for KeyboardHarness 2025-05-09 09:33:00 +07:00
Darcy Wong
428178ce8c maint(android): Update Java and Gradle for Sample projects 2025-05-09 09:31:17 +07:00
Darcy Wong
80710a8303
Apply suggestions from code review
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2025-05-08 15:36:52 +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
Darcy Wong
73dcf20085
Merge pull request #13772 from keymanapp/chore/android/builder-is-ci-build
chore(android): Use `builder_is_ci_build` rather than `--ci` flag
2025-05-01 07:16:11 +07:00
Darcy Wong
86740c9a91 fix(android): Show Dialog instead of Toast if package missing languages
If a keyboard package is missing associated languages, show an error dialog instead of Toast notification., This way we don't clutter Sentry with noise.

Fixes: #13782

Fixes: KEYMAN-ANDROID-251
2025-04-29 11:11:10 +07:00
Darcy Wong
40ae5ed2f5 fix(android): Revert ci build option. To deprecate in 20.0 2025-04-28 13:49:27 +07:00
Darcy Wong
ff1fb14768 fix(android/engine): Use build_is_ci_build for test action 2025-04-28 13:49:01 +07:00
Darcy Wong
b9f1f51a33 chore(android): Use builder_is_ci_build rather than --ci flag 2025-04-28 10:42:52 +07:00
Marc Durdin
9d4214c54c chore: Merge remote-tracking branch 'origin/master' into chore/merge-beta-to-master-release-prep 2025-04-22 13:16:21 +07:00
Darcy Wong
1994b273a1 fix(android): Apply review suggestions 2025-04-22 10:29:22 +07:00
Darcy Wong
2fb71a1898 fix(android): Check if RELEASE_OEM_FIRSTVOICES not set 2025-04-22 10:21:32 +07:00
Darcy Wong
157b7bb54b fix(android): Require RELEASE_OEM env vars to build FirstVoices Android 2025-04-22 10:02:55 +07: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
0affbd6d4b docs(android): Update documentation 2025-04-11 11:07:17 +07:00
Darcy Wong
23fb318549 fix(android): Fix system keyboard banner on reload
Follows the in-app keyboard pattern of refreshing banner theme when the keyboard is shown

Fixes: #13693
2025-04-11 10:57:36 +07:00
Darcy Wong
c5c111bbe7
Merge pull request #13691 from keymanapp/chore/crowdin-es419
chore(android,mac,windows): Update crowdin strings for Spanish Latin America
2025-04-10 16:53:49 +07:00
Darcy Wong
b56a02fdf8 fix(android): Downgrade UnknownHostException error to info
Fixes KEYMAN-ANDROID-51P
2025-04-09 13:15:16 +07:00
Darcy Wong
30dc85f484 chore(common): Update crowdin strings for Spanish Latin America 2025-04-09 07:44:32 +07:00
Darcy Wong
e8b9fe3c93
Merge pull request #13673 from keymanapp/fix/android/banner-xxxhdpi
docs(android): Document default keyboard height for xxxhdpi devices
2025-04-09 06:31:36 +07:00
Darcy Wong
0d2c001e48
Merge pull request #13681 from keymanapp/chore/common/crowdin-km
chore(android,mac,windows): update Crowdin strings for Khmer
2025-04-07 15:57:35 +07:00
Darcy Wong
8d012bb8a1 chore(android): Update crowdin strings for Khmer 2025-04-07 08:52:16 +07:00
Darcy Wong
9ff6858613 chore(android): Update crowdin strings for Czech 2025-04-07 08:41:03 +07:00
Darcy Wong
f03096a34f docs(android): Add xxxhdpi keyboard height 2025-04-04 14:11:01 +07:00
Darcy Wong
3bd69f182e fix(android): Adjust keyboard height for 10" tablet landscape 2025-04-04 08:36:05 +07:00
Darcy Wong
8cc35dfdf3 fix(android): Adjust keyboard and banner height for 7" tablet 2025-04-04 07:42:54 +07:00
Darcy Wong
3d127f0f7d docs(android): Update table documentation 2025-04-03 11:12:35 +07:00
Darcy Wong
de0e8faf0e fix(android): Add keyboard and banner dimensions for xhdpi portrait 2025-04-03 11:03:28 +07:00
Darcy Wong
b5e30b7c83 docs(android): Update table 2025-04-03 09:55:33 +07:00
Darcy Wong
3ee17bf421 chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/banner-heights
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2025-04-03 09:46:46 +07:00
Darcy Wong
52f97d094f
Merge pull request #13645 from keymanapp/fix/android/adjust-height-back
fix(android): Add back button to "Adjust Keyboard Height "menu
2025-04-03 09:45:58 +07:00
Darcy Wong
231d9e3b6b
Merge branch 'beta' into cherrypick/android/13578-adjust-keyboard-height 2025-04-03 09:44:29 +07:00
Darcy Wong
376fbc1515 fix(android): Add hdpi dimensions 2025-04-03 08:26:07 +07:00