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
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
7c3de5bbc3
chore(common): Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-pl
2022-05-11 14:28:50 +07:00
Darcy Wong
638fedfc7b
chore(android): Add crowdin strings
2022-05-10 20:44:50 +07:00
Darcy Wong
384f8befcb
chore(common): Add crowdin strings for Italian
2022-05-09 11:04:12 +07:00
Darcy Wong
04985017ab
Merge pull request #6562 from keymanapp/chore/common/crowdin-ff-2
...
chore(common): Update Crowdin strings for Fula
2022-04-29 14:15:08 +07:00
Darcy Wong
e3e8e63a27
chore(common): Update Crowdin strings for Fula
2022-04-25 14:34:44 +07:00
Darcy Wong
b7e2d7c47e
chore(android): Revert "test(android): Test code for v 1.9.3 of sil_euro_latin"
...
This reverts commit fcca82891b .
2022-04-25 09:34:06 +07:00
Darcy Wong
fcca82891b
test(android): Test code for v 1.9.3 of sil_euro_latin
2022-04-22 09:21:59 +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
55a81fde70
Merge pull request #6532 from keymanapp/chore/common/crowdin-bwr-ng
...
chore(android,windows): Update crowdin strings for bwr-NG
2022-04-18 15:19:57 +07:00
Darcy Wong
b84a483afc
chore(android): Update crowdin for bwr-NG
2022-04-14 09:39:38 +07:00
Darcy Wong
1ae6709bfa
chore(android): Remove incorrect bwr-NT locale
2022-04-14 09:21:17 +07:00
Darcy Wong
1e42d360c6
Merge pull request #6509 from keymanapp/chore/common/crowdin-pt
...
chore(common): Add Crowdin strings for Portuguese (pt-PT)
2022-04-14 06:11:02 +07:00
Darcy Wong
d774fcd5a1
chore(android/app): Add description for referrer response error
2022-04-12 10:52:13 +07:00
Darcy Wong
6b2a71a76e
Merge pull request #6501 from keymanapp/chore/common/crowdin-km-spacebar
...
chore(common): Update km strings
2022-04-11 15:12:19 +07:00
Darcy Wong
f0e41833c4
chore(common): Add Crowdin strings for Portuguese
2022-04-08 11:36:18 +07:00
Darcy Wong
8770c705cb
chore(common): Update Crowding strings for Azerbaijani
2022-04-08 10:01:23 +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
91038ef6f2
Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-km-spacebar
2022-04-08 06:28:18 +07:00
Darcy Wong
45ca87dae1
chore(common): Update km strings
2022-04-07 21:58:07 +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
5bcac1b1bf
chore(common): Update crowdin strings for km
2022-03-31 20:59:07 +07:00
Darcy Wong
fcc75ec00e
fix(android/engine): Clear WebView cache on package install
2022-03-28 13:44:30 +07:00
Darcy
63b8867aa4
chore(android): Separate CI step to generate Play Store notes
2022-03-15 09:54:00 +07:00
Darcy Wong
1e2939f82e
Update android/KMAPro/kMAPro/src/main/res/values/strings.xml
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-03-11 06:21:07 +07:00
Darcy Wong
b213c3b829
fix(android/engine): Test fileVersion during package install
2022-03-10 13:15:59 +07:00
Darcy Wong
3237a4c6ae
chore(common): Update French strings
2022-02-18 10:06:33 +07:00
Darcy Wong
8c9014ced9
chore(android): Upgrade gradle-wrapper version to 6.8
2022-02-09 08:59:56 +07:00
Darcy Wong
ce1e672f10
chore(android): Update Play publishing plugin to 3.5.0
2022-02-08 08:49:37 +07:00
Darcy Wong
24364dc5af
Merge pull request #6048 from keymanapp/chore/common/crowdin-ckl
...
chore(common): Check in crowdin strings for Kibaku 📜
2022-01-17 10:28:54 +07:00
Darcy Wong
c5178649e6
Merge pull request #6050 from keymanapp/chore/common/crowdin-hia
...
chore(common): Check in crowdin strings for Waha 📜
2022-01-14 12:48:41 +07:00
Darcy Wong
9eb2916d51
Merge pull request #6049 from keymanapp/chore/common/crowdin-mrt
...
chore(common): Check in crowdin strings for Marghi 📜
2022-01-13 15:04:34 +07:00
Darcy Wong
c5238f026e
chore(common): Check in crowdin strings for Waha
2021-12-15 15:57:26 +07:00
Darcy Wong
c98ce761b2
chore(common): Check in crowdin strings for Marghi
...
This checks in the crowdin strings for the locale `mrt` for Marghi.
Does not include macOS.
TODO: Check on adding mrt locale in XCode
2021-12-15 12:48:09 +07:00
Darcy Wong
06835125e6
chore(common): Check in crowdin strings for Kibaku
...
This checks in the crowdin strings for the locale `kr` for Kanuri.
Does not include macOS.
TODO: Check on adding ckl locale in XCode
2021-12-15 10:42:18 +07:00
Darcy Wong
57d8929eca
chore(common): Check in crowdin strings for Kanuri
...
This checks in the crowdin strings for the locale `kr` for Kanuri.
Does not include macOS.
TODO: Check on adding kr-NG locale in XCode
2021-12-15 09:57:54 +07:00
Darcy Wong
c98ac9880c
Merge pull request #5841 from keymanapp/chore/common/crowdin-ff-ng
...
chore(common): Check in crowdin strings for Fulfulde Nigeria
2021-11-17 09:24:35 +07:00
Darcy Wong
31b4fee7d0
Merge pull request #5857 from keymanapp/common/crowdin-mfi
...
chore(common): Check in crowdin strings for Mandara (Wandala)
2021-11-16 09:24:07 +07:00
Darcy Wong
a44b300adb
Merge remote-tracking branch 'origin/master' into chore/common/crowdin-ff-ng
2021-11-15 09:15:43 +07:00
Darcy Wong
0c03a8b65a
Merge pull request #5839 from keymanapp/chore/common/crowdin-bwr
...
chore(android,linux,windows): Check in crowdin strings for Bura-Pabir
2021-11-15 08:10:31 +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
7de5c724d8
Merge remote-tracking branch 'origin/master' into common/crowdin-mfi
2021-11-08 07:50:59 +07:00
Darcy Wong
5b9cc959fe
chore(common): Merge remote-tracking branch 'origin/master' into chore/common/crowdin-ff-ng
2021-11-08 07:30:10 +07:00
Darcy Wong
0c19f04245
chore(common): Merge remote-tracking branch 'origin/master' into chore/common/crowdin-bwr
2021-11-08 07:28:53 +07:00