Marc Durdin
31c55159c3
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect
2025-05-30 08:23:56 +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
Marc Durdin
48d61b9b03
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect
2025-05-16 12:12:05 +07:00
Darcy Wong
eedfcf2f0e
chore: Merge remote-tracking branch 'origin/master'
2025-05-13 07:05:25 +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
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
Marc Durdin
365bfa48b9
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect
2025-04-24 19:07:47 +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
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
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
Marc Durdin
0db2d7b7d6
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect
2025-03-31 12:13:34 +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
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
Marc Durdin
29f0a20898
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect
2025-03-14 10:57:26 +07:00
Darcy Wong
d9a3c01c4f
fix(android): Cache inputType to determine external keyboard handling
2025-03-11 09:39:03 +07:00
Darcy Wong
bc2eeb62d0
chore(android): Tweak names to describe context
2025-02-25 10:16:06 +07:00
Darcy Wong
118e15bfd4
fix(android): Control when system keyboard Keyboard Picker clears
2025-02-24 08:34:57 +07:00
Darcy Wong
8b4e769385
fix(android): Update system keyboard height consistently
2025-02-18 14:26:13 +07:00
Joshua Horton
fff9ba45ef
Merge pull request #13218 from keymanapp/fix/android/prevent-update-check-crashes
...
fix(android): prevent update-checks from crashing system keyboard and app if `DownloadManager` is disabled
2025-02-17 14:36:54 +07:00
Joshua Horton
2437ff5cc2
chore(android): and another, plus removal of accidental typo
2025-02-17 09:45:05 +07:00
Joshua Horton
81e84b6147
chore(android): remove unused imports
2025-02-17 09:28:17 +07:00
Darcy Wong
93ffd18eae
Merge pull request #13140 from keymanapp/fix/android/check-webview
...
fix(android): Catch WebView exceptions and prompt user to install WebView
2025-02-14 10:34:58 +07:00
Joshua Horton
8910531c10
refactor(android): deduplicate handler setup into helper method
2025-02-14 09:09:10 +07:00
Darcy Wong
df9d8180ec
refactor(android): Separate checking status from displaying panels
2025-02-13 21:51:16 +07:00
Darcy Wong
dc17075408
fix(android): Remove sendOptionsToKeyboard function from Engine API
2025-02-13 14:41:44 +07:00
Joshua Horton
536201f53e
chore(android): add handling + Sentry logging for robustness in case of other sources
2025-02-13 14:37:55 +07:00
Joshua Horton
31af7cfc46
chore(android): handle other potentially-affected cases
2025-02-13 13:42:03 +07:00
Joshua Horton
c3caf7ffff
fix(android): prevent update-checks from instantly crashing app + system keyboard
...
Fixes : #11568
2025-02-13 13:41:56 +07:00
Darcy Wong
b608ca3f17
fix(android): Catch KMPBrowserActivity WebView exception
2025-02-13 07:07:16 +07:00
Darcy Wong
d4f96d66b7
fix(android): Check WebView is installed and enabled
...
Fixes : #11560
Fixes: KEYMAN-ANDROID-5E9
Fixes: KEYMAN-ANDROID-6MA
2025-02-13 07:07:16 +07:00
Marc Durdin
74db3c9833
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect
2025-01-30 18:50:17 +07:00
Joshua Horton
9bd76bd1c8
chore(android): tweak uri string reference for consistency per review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-01-24 13:30:14 +07:00
Joshua Horton
39549927e7
feat(android): add breadcrumbing during package install about package file, source
2025-01-24 10:43:00 +07:00
Darcy Wong
38b6c3ceb8
fix(android): Remove READ_MEDIA_IMAGES and READ_MEDIA_VIDEO permissions
2025-01-23 09:25:56 +07:00
Joshua A. Horton
bd09450d69
chore: Revert "Merge pull request #12791 from keymanapp/fix/android/disable-auto-correct"
...
This reverts commit 30ed4b8d7f , reversing
changes made to a420e7c49e .
2025-01-15 12:05:43 +07:00
Darcy Wong
ac662abd80
chore(android): Disable auto-correct UI controls
2024-12-06 07:17:44 +07:00
Darcy Wong
15993ff32a
fix(android): Apply review suggestions
2024-10-09 17:21:49 +07:00
Darcy Wong
6eba88ce5f
fix(android): Use SuggestionType methods instead of magic numbers
2024-09-27 16:37:10 +07:00
Darcy Wong
cc2bc234bb
Merge branch 'master' into feat/android/auto-correct-radio-buttons
2024-09-27 14:47:33 +07:00
Darcy Wong
49279227af
feat(android): Add radio-button selections for auto-correct
2024-09-19 13:16:11 +07:00
Darcy Wong
9b31b2de38
fix(android): Remove banner toggle
2024-09-17 08:27:29 +07:00
Darcy Wong
eaec494bc5
fix(android): Add gating to setLongpressDelay()
2024-09-13 08:30:54 +07:00
Darcy Wong
60fa60d59c
fix(android): Skip language counts for lexical-model packages
2024-09-04 15:14:20 +07:00
Darcy Wong
1d42c6e7d5
Merge pull request #12230 from keymanapp/fix/android/texti-size-arrows
...
fix(android): Auto-mirror increment and decrement arrows for RTL support 📟
2024-08-21 19:11:36 +07:00
Darcy Wong
25b21bc4bf
Merge pull request #12227 from keymanapp/fix/android/mirror-arrows
...
fix(android): Auto-mirror back and forward arrows for RTL support 📟
2024-08-21 19:10:59 +07:00
Darcy Wong
947bf19528
Merge pull request #12185 from keymanapp/feat/android/kmea-set-longpress-delay
...
feat(android): Pass longpress delay to KeymanWeb
2024-08-20 21:02:56 +07:00
Darcy Wong
a31aded2ee
Merge pull request #12170 from keymanapp/feat/android/longpress-delay-menu
...
feat(android): Add menu to specify long-press delay
2024-08-20 21:02:23 +07:00