Commit graph

594 commits

Author SHA1 Message Date
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
6644697eec
Merge pull request #7001 from keymanapp/fix/android/6899-verify-browser-for-links
fix(android): verify browser before starting activity
2022-08-23 17:07:51 -05: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
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +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
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