Commit graph

2600 commits

Author SHA1 Message Date
Joshua Horton
261283d356 change(android): address PR review concerns 2025-05-21 08:08:24 +07:00
Joshua Horton
c193c3fe17 feat(android): log installed keyboard count 2025-05-21 08:08:24 +07:00
Joshua Horton
5116c3e749 feat(android): log active keyboard, model IDs with reported errors
Cherry-pick-of: #13983

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-21 08:08:24 +07:00
Darcy Wong
6662b61291 fix(android): Use Alert Dialog if keyboard pkg missing languages
Cherry-pick-of: #13786
2025-04-30 09:36:30 +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
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
Darcy Wong
a392242923 fix(android): Adjust baseline heights for landscape
values-land/dimens.xml tested with 5.1" WVGA emulator
2025-04-03 07:05:38 +07:00
Darcy Wong
4d4508d4c7
Merge pull request #13595 from keymanapp/chore/crowdin/mon
chore(common): Update crowdin strings for Mon
2025-04-02 10:38:41 +07:00
Darcy Wong
3abe596361 fix(android): Add back button to "Adjust Keyboard Height "menu
Add back button and callback handler
2025-04-02 10:19:29 +07:00
Darcy Wong
e894f79880
Merge pull request #13592 from keymanapp/fix/android/430dpi
fix(android): Add dimensions for 320+dpi phones in landscape
2025-04-02 08:41:00 +07:00
Darcy Wong
afbe3d00cf fix(android): Update the keyboard height
Per review comment
2025-04-01 14:56:25 +07:00
Marc Durdin
690d62ca3f fix(android): Move responsibility for setting keyboard height preference
Cherrypick of #13578 to beta

Moves responsibility for setting keyboard height preference into `applyKeyboardHeight()`
2025-04-01 14:10:55 +07:00
Darcy Wong
bbf249b64c chore(android): Remove whitespace 2025-04-01 10:16:08 +07:00
Darcy Wong
6547458a3c fix(android): Make banner smaller
Following review suggestion for banner not to be more than 1/4 of the main keyboard body.
2025-03-31 13:37:23 +07:00
Darcy Wong
9a4bc0c049 docs(android): Update table 2025-03-28 09:56:08 +07:00
Darcy Wong
39eebaa257 chore(common): Update crowdin strings for Mon 2025-03-28 09:15:42 +07:00
Darcy Wong
5871df98b6 fix(android): Modify dimens.xml for 320dpi device
User requested a taller default keyboard height for a Pixel 8a device in landscape (430dpi corresponding to xhdpi). The next tier xxhdpi is for 480+ dpi.

Reference
https://developer.android.com/guide/topics/resources/providing-resources.html#table2

Based on `values/sw600dp-land/dimens.xml`, create `values-land-xhdpi/dimens.xml`

This allows a taller landscape keyboard height.
2025-03-27 15:42:19 +07:00
Darcy Wong
88d896e7d5 fix(android): Copy values-sw600dp-land/dimens.xml to values-land-xhdpi 2025-03-27 15:40:53 +07:00
Darcy Wong
fee91b379d chore(android): Remove debug statements 2025-03-27 11:04:30 +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
009829a842 docs(android): Update Keyman Engine for Android API
Documents added getPredictionsSuspended() and setPredictionsSuspended() API calls for Keyman 18.0
2025-03-24 08:57:14 +07:00
Darcy Wong
9d8f71a718 refactor(android): Rename mayPredictOverrides APIs
Per review comments, rename these API's for Keyman 18.0:

inAppMayPredictOverride --> inAppPredictionsSuspendedForSensitiveInput
systemMayPredictOverride --> systemPredictionsSuspendedForSensitiveInput

getMayPredictOverride() --> getPredictionsSuspended()
setMayPredictOverride() --> setPredictionsSuspended()
2025-03-24 08:19:35 +07:00
Darcy Wong
1da411727a refactor(android): split mayPredictOverride for inapp and system kbd
Refactor mayPredictOverride so the banner toggle is handled independently for `KeyboardType.KEYBOARD_TYPE_INAPP` and `KeyboardType.KEYBOARD_TYPE_SYSTEM` keyboards.

Pre-existing override API calls are now for `KeyboardType.KEYBOARD_TYPE_SYSTEM`
2025-03-20 11:39:02 +07:00
Darcy Wong
9afcf8f2b0 fix(android): Restore banner after lock screen
Fix banner transitions on lock screen and resuming
2025-03-20 07:43:03 +07:00
Darcy Wong
d767936254 fix(android): Update string for Russian language 2025-03-18 08:29:25 +07:00
Joshua Horton
ca395c583a
Merge pull request #13333 from keymanapp/change/android/reorder-host-page-script-load
change(android): re-order host page script load so Sentry can report script load failures
2025-03-17 08:39:16 +07:00
Darcy Wong
166aae51d0
Merge pull request #13500 from keymanapp/chore/common/crowdin-it
chore(common): update crowdin strings for Italian
2025-03-14 10:27:33 +07:00
Darcy Wong
a0514682a4
Merge pull request #13499 from keymanapp/chore/common/crowdin-es-es-419
chore(android,windows): Update Crowdin for Spanish and Spanish (Latin America)
2025-03-14 10:27:18 +07:00
Darcy Wong
2e896e316f chore(common): Update crowdin strings for Italian 2025-03-14 09:23:26 +07:00
Darcy Wong
00552cb06c chore(android): update crowdin strings for Spanish (Latin America) 2025-03-14 09:12:49 +07:00