Commit graph

382 commits

Author SHA1 Message Date
Darcy Wong
e722fa6ad5 Merge branch 'master' into refactor/android/engine-package 2023-02-01 14:17:43 +07:00
Darcy Wong
988bea8e93 chore(android): Merge remote-tracking branch 'origin/master' into refactor/android/engine-package 2023-01-24 09:14:57 +07:00
Marc Durdin
067028cec2 chore: revise tag variable name to VERSION_GIT_TAG
Introduce new $VERSION_GIT_TAG environment variable, and update all
references to release@version in all projects to use the new variable.
2023-01-21 17:02:50 +07:00
Marc Durdin
34ece2182d fix(common): update sentry release identifiers to support semver
Fixes #7895.

This should mean that Sentry reports start to track semantic versions. I
have reviewed each project and I _think_ I've captured all the locations
where we need to construct release identifiers. Note that one of them
was fixed from a plain version number.

Docs on release format: https://docs.sentry.io/platforms/node/guides/serverless-cloud/configuration/releases/#bind-the-version
2023-01-17 17:04:24 +07:00
Darcy Wong
4268a11537 chore(android/app): Update namespace for Keyman app 2023-01-06 08:51:37 +07:00
Darcy Wong
6771bd55f0 chore(android): Additional cleanup 2022-12-15 09:09:43 +07:00
Darcy Wong
9bfa188855 refactor(android): Check libraries with DependencyUtil 2022-12-15 08:52:27 +07:00
Darcy Wong
adaaa3d2b9 fix(android/app): Toggle keyboard update notification 2022-11-28 14:11:23 +07:00
Darcy Wong
57769f4b19 chore(android): Merge branch 'beta' into fix/android/cloud-catalog-for-local-test 2022-11-24 07:54:20 +07:00
Darcy Wong
29bd8dce09 Revert "chore(android/app): Engineering test code with sil_cameroon_qwerty"
This reverts commit 2d0008e2e3.
2022-11-23 19:44:19 +07:00
Darcy Wong
7eaf7a1ac0
Merge pull request #7740 from keymanapp/fix/android/cleanup-install-update
fix(android/engine): Update versions of matching package and keyboard ID
2022-11-23 19:02:00 +07:00
Darcy Wong
2d0008e2e3 chore(android/app): Engineering test code with sil_cameroon_qwerty 2022-11-21 10:01:42 +07:00
Darcy Wong
ca75980c78 fix(android/engine): Make it easier to test keyboard updates 2022-11-21 10:00:35 +07:00
Darcy Wong
bf7ddd3fee chore(android/app): More tweaks for review comments 2022-11-19 09:46:34 +07:00
Darcy Wong
f610de9acd
Update android/KMAPro/kMAPro/src/main/java/com/keyman/android/CheckInstallReferrer.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-19 09:29:43 +07:00
Darcy Wong
23b8191246 fix(android/app): Only check Install Referrer with Play Store 2022-11-18 13:49:43 +07:00
Darcy Wong
98b5c76bd1 fix(android/engine): Update versions of matching package and keyboard ID 2022-11-17 10:37:31 +07:00
Darcy Wong
bfc87d0ea1
Merge pull request #7587 from keymanapp/fix/android/get-started-auto-check
fix(android/app): Don't show "Get Started" after setting Keyman as default system keyboard
2022-11-04 06:50:47 +07:00
Darcy Wong
48bd0c66ec fix(android/app): Add check if bundle to PackageActivity is null 2022-11-02 15:15:36 +07:00
Darcy Wong
e6e20b6f44
Apply suggestions from code review
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2022-11-02 08:18:21 +07:00
Darcy Wong
de54740b23 fix(android/app): Save preference if it doesn't exist 2022-11-01 15:11:20 +07:00
Darcy Wong
64b37d0be3 fix(android/app): Uncheck "Get Started" menu if steps completed 2022-11-01 14:09:40 +07:00
Darcy Wong
8bd0a6ed51 fix(android/engine): Display Toast notifications on exceptions 2022-10-03 14:42:56 +07:00
Darcy Wong
f21ffde0fc fix(android/engine): Add language name when installing lexical-model 2022-09-22 14:28:54 +07:00
Darcy Wong
77997f4477 fix(android/engine): Cleanup toggleLanguage() 2022-09-09 08:48:55 +07:00
Darcy Wong
d27d77955b
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-09-09 07:47:58 +07:00
Darcy Wong
04906cfe0d fix(android/engine): Do similar toggle for keyboard list 2022-09-08 13:28:16 +07:00
Darcy Wong
1fb1c243ef fix(android/engine): Use BCP47.toggleLanguage 2022-09-08 13:28:16 +07:00
Darcy Wong
ede572a464 chore(android): Reduce Toast notification noise 2022-08-31 11:30:16 +07:00
Marc Durdin
f90eaee6dd fix(android): add toast when browser fails to open 2022-08-23 07:41:56 +10:00
Marc Durdin
bdb7b5e45a fix(android): verify browser before starting activity
Fixes #6899.
2022-07-27 15:16:02 +10:00
Marc Durdin
958fbd3e40 fix(android): check index validity in getCurrentKeyboardInfo
This fixes crash reported as #6703. This issue was first reported in
14.0.282-stable. I have done a careful review of changes in 14.0.282
(and 14.0.281) but have been unable to find any changes that could have
bearing on this.

The basic issue is that there appears to be some circumstances where
`KMManager` thinks that it has a keyboard loaded (ref
`SystemKeyboardLoaded` variable), but `KMKeyboard.currentKeyboard` is
still `null`.

The crash has been reported for only a very small set of users, 119 at
time of fix, but average reports per user is over 100. As is usual with
this type of thing, a small fraction of those users are reporting the
majority of crashes. I have not found any real commonality across the
error reports -- they are geographically dispersed, across multiple
device types and Android versions.

Note that this addresses the error at hand but as I am unable to
reproduce the issue, does not necessarily address the root problem, so
there may still be other issues reported even after this is fixed.

A longer-term refactor would eliminate `SystemKeyboardLoaded` because
from what I can tell, we should always be able to determine that from
the state of `KMKeyboard.currentKeyboard`. However, the state
entanglement is a lot deeper than just those two variables, with cross
references to keyboard indexes between `KMManager` and `KMKeyboard`
which need to be resolved (`KMKeyboard` should *never* refer to
`KMManager`).
2022-06-05 06:46:39 +10:00
Darcy Wong
4cdb5072f7
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/KeymanSettingsActivity.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-05-20 09:17:10 +07:00
Darcy Wong
4afd872f29 chore(android): Rename variables per review 2022-05-19 09:50:13 +07:00
Darcy Wong
ced46c8a2e feat(android): Add UX to control haptic feedback 2022-05-17 13:44:34 +07:00
Darcy Wong
bc109739f1 fix(android/engine): Don't show welcome.htm on keyboard package update 2022-04-22 09:16:54 +07:00
Darcy Wong
d774fcd5a1 chore(android/app): Add description for referrer response error 2022-04-12 10:52:13 +07:00
Darcy Wong
d11cf84b54
Merge pull request #6498 from keymanapp/fix/android/on-keyboard-change
fix(android/engine): Show keyboard after rotating
2022-04-08 09:41:37 +07:00
Darcy Wong
ff770174ab fix(android/engine): Show keyboard after rotating 2022-04-07 16:26:00 +07:00
Darcy Wong
dc5c8a7f99 fix(android/app): Simplify sharing intent 2022-04-05 14:43:28 +07:00
Darcy Wong
fcc75ec00e fix(android/engine): Clear WebView cache on package install 2022-03-28 13:44:30 +07:00
Darcy Wong
b213c3b829 fix(android/engine): Test fileVersion during package install 2022-03-10 13:15:59 +07:00
Darcy Wong
5aba540ca3 fix(android/app): Revert test code 2021-11-12 09:20:57 +07:00
Darcy Wong
ad4412fe44
Merge pull request #5849 from keymanapp/fix/android/file-not-found
fix(android/app): Check KMP file exists before attempting to extract
2021-11-12 07:34:12 +07:00
Darcy Wong
6fb6238ea9 chore(android): Add test code to remove kmp file 2021-10-22 15:17:00 +07:00
Darcy Wong
016b724d16 fix(android): Check kmp file exists before extracting 2021-10-22 15:16:33 +07:00
Darcy Wong
2113bebcf7 feat(android): Allow uninstall of sil_euro_latin keyboard 2021-10-19 15:03:34 +07:00
Darcy Wong
74c010d3dd fix(android): Select numeric layer when entering a numeric field 2021-09-01 10:55:23 +07:00
Darcy Wong
275c207a9f
Merge pull request #5629 from keymanapp/feat/android/degraded-5-0
fix(android): Fix Chrome version ranges for Keyman engine functionality
2021-08-27 14:52:50 +07:00
Darcy Wong
d881db3e87 feat(android/app): Change forward button so it can be enabled/disabled 2021-08-27 08:41:01 +07:00