Commit graph

2976 commits

Author SHA1 Message Date
Darcy Wong
e285b5aa39 chore(android): Update crowdin strings for Spanish - Latin America 2026-08-12 16:48:12 -05:00
Darcy Wong
e2249734ea chore(common): Update Crowdin strings for Spanish (Latin America) 2026-08-12 09:20:12 -05:00
Marc Durdin
176d031f1b
Merge pull request #15827 from memaynor/feat/dark-mode-and-settings
feat(android): design improvement for settings, add dark mode and tool menu
2026-08-11 16:27:27 +02:00
Marc Durdin
5e200ca88d
Merge pull request #16220 from keymanapp/docs/android/keyboardharness-readme
docs(android): update keyboardharness readme
2026-08-11 07:46:39 +02:00
Eberhard Beilharz
b4d2f50327
Merge pull request #16308 from keymanapp/docs/android/getAssociatedLexicalModel
docs(android): update documentation for `getAssociatedLexicalModel`
2026-08-07 21:28:38 +02:00
Eberhard Beilharz
c41544e8ed
Merge pull request #16266 from keymanapp/fix/android/16226_update
fix(android): show updates for lexical models

With this change the model info activity will show an available update to the lexical model.

PR partially drafted by AI (Gemini 3 Flash Preview).

Fixes: #16226
2026-08-06 16:15:23 +02:00
Eberhard Beilharz
895193bc5d
docs(android): update documentation for getAssociatedLexicalModel
Build-bot: skip
Test-bot: skip
2026-08-05 18:24:11 +02:00
Eberhard Beilharz
6e83adbcf8
docs(android): update and improve comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-08-05 18:23:16 +02:00
Eberhard Beilharz
0368a7bc56
test(android): add unit tests for getAssociatedLexicalModel 2026-08-05 18:23:15 +02:00
Eberhard Beilharz
e3ed30a309
chore(android): revert unnecessary parts of previous commit 2026-08-05 18:04:48 +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
a332c0d464
fix(android): show updates for lexical models
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
With this change the model info activity will show an available update
to the lexical model.

Commit partially drafted by AI (Gemini 3 Flash Preview).

Fixes: #16226
Build-bot: release:android
2026-07-23 13:18:37 +02:00
Mengchou97
d9717d634e updated sidebar title and move button and add a get started action button 2026-07-15 23:13:28 +07:00
Eberhard Beilharz
edbdbfa3a7
Merge pull request #16244 from keymanapp/chore/android/obsoletedeprecated
chore(android): remove doc for non-existing deprecated functions

Several functions got deprecated in Keyman 14 and replaced with a function with same name and parameters but different return type. The original function no longer exists. This change removes the documentation for those no longer existing deprecated functions.

Also update the documentation for two deprecated functions to show what should be used instead.
2026-07-15 08:35:27 +02:00
Eberhard Beilharz
1581f7a7cd
Merge pull request #16211 from keymanapp/chore/android/cleanup
chore(android): cleanup font variable names, remove obsolete code

This change renames the font variable names so that they match the two conceptual fonts we have. Also remove obsolete code that dealt with the `font` parameter being a JSON object instead of a string containing the font filename. Having the `font` parameter containing a JSON object was legacy code that won't happen with current Keyman versions.

Follow-up-of: #16188
2026-07-14 18:27:28 +02:00
Eberhard Beilharz
a93467a3a0
chore(android): remove doc for non-existing deprecated functions
Several functions got deprecated and replaced with a function with
same name and parameters but different return type. The original
function no longer exists. This change removes the documentation for
those no longer existing deprecated functions.

Also update the documentation for two deprecated functions to show what
should be used instead.

Build-bot: skip
Test-bot: skip
2026-07-14 18:23:38 +02:00
Eberhard Beilharz
c03e63b41f
Merge pull request #16237 from keymanapp/chore/android/loglegacy
chore(android): log legacy cloud keyboards

This adds a Sentry log if a user is still using legacy cloud keyboards. We do this so that we will learn if there are still users out there or if we can remove the code that deals with those keyboards.
2026-07-14 18:11:20 +02:00
Eberhard Beilharz
9bdfe0eaa9
chore(android): address code review comments
Legacy cloud installed keyboards don't have a package, so we can
check for `KMDefault_UndefinedPackageID` to identify them.
2026-07-14 17:51:14 +02:00
Marc Durdin
f75a913698 chore: Merge branch 'master' into feat/dark-mode-and-settings 2026-07-14 16:16:23 +02:00
Marc Durdin
c9b11c052b chore(android): patch enable_system_keyboard string 2026-07-14 16:16:01 +02:00
Marc Durdin
3c38a4c548
Merge pull request #16228 from keymanapp/fix/android/16145-error-popup-clarity
fix(android): improve clarity of keyboard script error popup
2026-07-14 21:35:08 +10: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
Eberhard Beilharz
88731e51fc
chore(android): more cleanup
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-07-13 19:29:21 +02:00
Eberhard Beilharz
82ab6477e5
chore(android): keep handling of legacy keyboards
Reverts part of commit d0e1649630 until we know
if there are still users out there that are using legacy cloud keyboards.
See #16237.

Build-bot: skip build:android
2026-07-13 19:19:18 +02:00
Eberhard Beilharz
b04e28a438
chore(android): log legacy cloud keyboards
This adds a Sentry log if a user is still using legacy cloud keyboards.
We do this so that we will learn if there are still users out there
or if we can remove the code that deals with those keyboards.

Test-bot: skip
2026-07-13 19:08:24 +02: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
Marc Durdin
cb8f9584cf fix(android): improve clarity of keyboard script error popup
* Remove irrelevant context from toast and add more context for Sentry
  report.
* Add a test keyboard with a script error that will trigger the toast on
  first keystroke.
* Rearrange common/test/keyboards/invalid to make a good place for
  compiled invalid keyboards.

Fixes: #16145
Test-bot: skip
2026-07-13 11:21:42 +02:00
Eberhard Beilharz
7889d9a713
Merge pull request #16216 from keymanapp/fix/android/16180_scriptError
fix(android): add permissions for Sentry and set default keyboard

This change fixes two problems that cause a script error in the sample apps: 
- 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
2026-07-13 10:13:19 +02:00
mengchouchey@gmail.com
65b9316840 updated sidebar - removed checkboxes options 2026-07-12 15:28:39 +07:00
Marc Durdin
c61734c236
Merge pull request #16139 from keymanapp/feat/android/325-add-keyman-version-check-to-package-version
feat(android): add keyman-version to package-version check
2026-07-11 22:44:40 +10:00
Marc Durdin
bafc1f8d1a
Merge pull request #16219 from keymanapp/maint/android/use-env-instead-of-file-for-tier
maint(android): use KEYMAN_TIER instead of TIER.md
2026-07-11 17:11:12 +10:00
Marc Durdin
c243ceab3a docs(android): update keyboardharness readme
Test-bot: skip
Build-bot: skip
2026-07-10 15:54:03 +02:00
Marc Durdin
ab2d0a8e7a maint(android): use KEYMAN_TIER instead of TIER.md
This is consistent with other version variables in build.gradle.
Encountered an issue with loading TIER.md with Android Studio Quail 1 |
2026.1.1 Patch 2 version, and this was an expedient workaround.

Test-bot: skip
2026-07-10 15:50:46 +02:00
Marc Durdin
2b2339d2aa fix(android): restrict fallback tap to document element only
Relates-to: #16170
2026-07-10 15:44:03 +02:00
Marc Durdin
2b078ce165 fix(android): handle blank keyboard tap properly
Previously, the event handler was attached to body, but in the event of
the keyboard failing to render, the body element will typically be zero
pixels high. Instead, attach the handler to the document itself.
KeymanWeb, when running normally, will handle all touches on the
keyboard elements which take 100% of the real estate. So the document
tap will only be received in the case of an error condition.

Also, add a console error that will be reported to Sentry when user has
error reporting switched on.

Test-bot: skip
2026-07-10 14:08:27 +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
574e7f6838
chore(android): address code review comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-07-09 17:26:58 +02:00
Marc Durdin
41344abae0
Merge branch 'master' into feat/android/325-add-keyman-version-check-to-package-version
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-07-09 17:44:49 +10:00
Mengchou97
0f5b0e65d9 resolved the navigation bar layover keyboard problem 2026-07-08 22:41:50 +07:00
Eberhard Beilharz
d0e1649630
chore(android): cleanup font variable names, remove obsolete code
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
This change renames the font variable names so that they match the
two conceptual fonts we have. Also remove obsolete code that dealt with
the `font` parameter being a JSON object instead of a string containing
the font filename. Having the `font` parameter containing a JSON object
was legacy code that won't happen with current Keyman versions.

Follow-up-of: #16188
Build-bot: release:android
2026-07-08 14:35:59 +02:00
Eberhard Beilharz
fcf8988910
Merge pull request #16188 from keymanapp/fix/android/16187_font
fix(android): differentiate between fontPath and fontUrl in Keyman Engine for Android
2026-07-08 14:35:10 +02:00
Marc Durdin
1aae71e998
Merge pull request #16152 from keymanapp/fix/android/16122-refactor-KMLog
fix(android): refactor `KMLog` - simplification and added resilience
2026-07-08 22:34:21 +10:00
Eberhard Beilharz
71aefb8f47
fix(android): address code review comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-07-08 11:43:15 +02:00
Mengchou97
681fb1248a resolved the logo overlayed in arabic language 2026-07-08 15:29:50 +07:00
Mengchou97
812fca0d9e resolve the update option from always appearing 2026-07-08 13:24:07 +07:00
Mengchou97
8e55aec87b change the keybaord_banner to dark in dark mode 2026-07-07 22:02:03 +07:00
Mengchou97
176df82f04 removed the active keyboard helper in the bottom section as recommended 2026-07-07 22:02:03 +07:00
Mengchou97
bec72037f1 ondrawerclosed sidebar scroll back to top 2026-07-07 22:02:03 +07:00
Eberhard Beilharz
70282bfd5b
fix(android): rename method to getKeyboardTextFontFilenameOnly
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
This addresses a code review comment.
2026-07-03 17:26:05 +02:00
Eberhard Beilharz
1867a7659f
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-07-03 17:23:19 +02:00