Commit graph

593 commits

Author SHA1 Message Date
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
daa406347b chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/cloud-catalog-for-local-test 2022-11-22 08:39:28 +07:00
Darcy Wong
27cc980b13
Merge pull request #7768 from keymanapp/cherrypick/android/sdk-version-31
chore(android): Update Target SDK Version to 31 🍒
2022-11-21 16:23:39 +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
14de75a804
Merge pull request #7766 from keymanapp/fix/android/referrer-store
fix(android/app): Only check Install Referrer API with Play Store installs
2022-11-21 07:34:12 +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
cd27527646
Merge branch 'beta' into chore/common/crowdin-update-zhcn 2022-11-18 16:47:28 +07:00
Darcy Wong
4e71d27606 chore(android): Update Target SDK Version to 31 2022-11-18 14:50:26 +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
7ca7cb8d70 chore(common): Update crowin strings for Fulfulde 2022-11-14 10:27:30 +07:00
Darcy Wong
391eb402f3 chore(common): Update crowdin strings for Simplified Chinese 2022-11-14 09:56:52 +07:00
Darcy Wong
2e553c7887 chore(android/app): Remove debugging info on build.gradle 2022-11-12 10:37:32 +07:00
Darcy Wong
71a9a36bd3
Merge pull request #7674 from keymanapp/chore/android/append-tier-to-app-name
fix(android/app): Append tier to app name
2022-11-12 06:52:59 +07:00
Darcy Wong
6c14d6cccf
Update android/KMAPro/kMAPro/build.gradle
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-12 06:52:51 +07:00
Darcy Wong
5ad8af10fe fix(android/app): One more startsWith teak 2022-11-11 14:44:19 +07:00
Darcy Wong
ab02676a4f fix(android/app): Use regex on PR name 2022-11-11 14:30:33 +07:00
Darcy Wong
ea45ab7177 fix(android/app): Update use of tag and environment 2022-11-11 13:40:25 +07:00
Darcy Wong
49a6d7fde3 fix(android/app): Tweak regex 2022-11-10 16:56:43 +07:00
Darcy Wong
8824678567 fix(android/app): Avoid calling build-utils again 2022-11-10 16:14:04 +07:00
Darcy Wong
a0f546471f chore(android/app): Revert version.gradle
Keep build-utils code to just KMAPro so it doesn't affect FV Android
2022-11-10 15:27:29 +07:00
Darcy Wong
52d45de605 fix(android/app): Use build-utils to populate build info 2022-11-10 14:45:03 +07:00
Darcy Wong
9645a6c11c fix(android/app): Add tier to version.gradle 2022-11-10 11:23:31 +07:00
Darcy Wong
b53f19dc58 fix(android/app): Append tier to app name 2022-11-10 10:22:17 +07:00
Darcy Wong
b7fd1109f3 fix(android/engine): Use IME package name if query permission denied 2022-11-10 07:37:30 +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
df0153f8f9
Merge pull request #7498 from keymanapp/chore/common/crowdin-nl
chore(common): Add crowdin strings for Dutch
2022-10-27 20:25:33 +07:00
Darcy Wong
1bc6e6a06f chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
Darcy Wong
8b781cdcff chore(common): Update crowdin strings for Amharic 2022-10-25 09:39:56 +07:00
Darcy Wong
081c23c798 chore(common): Add crowdin strings for Dutch 2022-10-20 09:42:56 +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
d247e475df chore(common): Update crowdin strings for Spanish (Latin America) 2022-05-24 08:37:34 +07: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