Commit graph

921 commits

Author SHA1 Message Date
Darcy Wong
2e30605a29 fix(android/engine): Use globe key state to determine action 2021-07-07 16:08:02 +07:00
Darcy Wong
4e881dca55 fix(android): Start tracking globe key state 2021-07-07 14:35:08 +07:00
Darcy Wong
7fe4b73b48 chore(android/engine): Rename "Close Keyman" button 2021-07-07 07:58:20 +07:00
Darcy Wong
232ec83dc2 feat(android/engine): Add longpress globe key action 2021-07-07 07:45:52 +07:00
Darcy Wong
0d0e264d2c fix(android/engine): Fix font file path 2021-07-05 15:52:04 +07:00
Marc Durdin
2e6fda2d0e
Merge pull request #5349 from keymanapp/feat/android/949-spacebar-text-controls
feat(android): Spacebar text controls
2021-07-02 14:30:15 +10:00
Marc Durdin
19b1b0db2c
Merge pull request #5338 from keymanapp/refactor/android/setKeyboardCall
refactor(android): setKeyboard and setKeymanLanguage
2021-06-28 15:59:39 +10:00
Marc Durdin
76d21d4344 chore: address review comments 2021-06-28 15:40:51 +10:00
Marc Durdin
85940888fb feat(android): hide textarea for perf
Relates to #5258.

Unnecessary layout recalc eliminated by hiding the backing
textarea with `display:none`. This improved performance by roughly
20%.
2021-06-28 04:57:01 +10:00
Marc Durdin
78c8ecc5bf fix(android): small tweaks
Fixes some edge cases and behaviour on reload
of web page.
2021-06-25 12:52:47 +10:00
jahorton
11fb004614 fix(android): nextlayer for subkeys with customized layer setting 2021-06-24 08:10:21 +07:00
Marc Durdin
a3ec34a3ce feat(android): Spacebar text controls
Relates to #949.

* Adds setSpacebarText() API to Keyman Engine for Android
* Adds displayName API to Keyman Engine for Android
* Adds Preference for spacebar text to Keyman for Android
* Sets default spacebar text to keyboard name for FirstVoices Keyboards
2021-06-24 10:58:26 +10:00
Marc Durdin
0ebe6c9e12 refactor(android): setKeyboard and setKeymanLanguage
This refactors the cross-boundary call to `setKeymanLanguage` to use
JSON wrapping for the content. This is (a) safer, and (b) less mucking
around anyway.
2021-06-23 13:41:07 +10:00
Darcy Wong
2fd6995ec7 chore(android/engine): Add Spanish - Latin America 2021-06-11 07:33:56 +07:00
Darcy Wong
5552ee4aad chore(common): Check in crowdin strings for Spanish (Latin America) 2021-06-11 07:33:56 +07:00
Marc Durdin
55b201306f feat(android): silent vs welcomeonly vs full installs 2021-06-09 09:32:07 +10:00
Marc Durdin
a04aaad13c feat(android): silent install for referred kbd
Relates to #5230, #5219.

[Draft]

Adds a silent parameter to the `downloadKMP` function and makes the
install silent for referred keyboards.

However, this is incomplete:

1. We need to be able to control silent levels:
   * Completely silent
   * Only welcome
   * Full install

2. When silentInstall is true, currently welcome is still shown, but the
   paging controls are not configured correctly and a blank screen is
   shown after install.
2021-06-09 08:13:28 +10:00
Darcy Wong
9176b8a776 fix(android/engine): Missed parens 2021-06-08 09:02:15 +07:00
Darcy Wong
52b14f7ed5 chore(android/engine): Revert keyboard.html file 2021-06-08 09:00:58 +07:00
Darcy Wong
86d6980975 fix(android/engine): Revert keyboard.html 2021-06-03 06:49:42 +07:00
Darcy Wong
2b549a0a62 fix(android/engine): Adjust default OSK landscape size 2021-05-31 15:27:00 +07:00
Darcy Wong
db17557ad3 chore(android): Update targetSDKVersion to 30
To comply with upcoming Play Store requirement, this updates targetSDKVersion to 30.

* Also sets appropriate webView permissions to access local file (except for WebBrowserActivity, the in-app browser).
2021-05-21 08:28:43 +07:00
Darcy Wong
c66682c2b9
Merge pull request #5098 from keymanapp/chore/android/gradle-dependencies
chore(android): Update Gradle and other dependencies
2021-05-21 08:17:34 +07:00
Darcy Wong
a418636357 chore(android/engine): Update sentry-android 2021-05-20 13:28:15 +07:00
Darcy Wong
f31edd8b52 chore(common): Check in crowdin strings for Amharic 2021-05-19 09:12:39 +07:00
Darcy Wong
f14cf89672 fix(android/engine): Skip tests for missing resource errors 2021-05-18 12:00:32 +07:00
Darcy Wong
a3338f6ecf chore(android/engine): Update dependencies
Also change from BuildConfig.VERSION_NAME to BuildConfig.KEYMAN_ENGINE_VERSION_NAME since Gradle removes them from libraries.
2021-05-18 10:08:05 +07:00
Darcy Wong
755d3da0df fix(android/engine): Disable suggestions if file doesn't exist 2021-05-13 06:56:10 +07:00
Darcy Wong
3d7029aa36 fix(android/engine): Check lexical-model file exists before using 2021-05-12 15:48:42 +07:00
Darcy Wong
e5bbce8c94 feat(android/app): Add telemetry for launching WebBrowserActivity 2021-05-10 10:23:50 +07:00
Darcy Wong
06b125dc6f Merge branch 'master' into chore/common/crowdin-az 2021-05-03 07:42:36 +07:00
Darcy Wong
a42368f873
Update android/KMEA/app/src/main/assets/keyboard.html
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-04-29 12:48:44 +07:00
Darcy Wong
fb9f3c7cfa fix(android/engine): Add additional null check 2021-04-29 12:36:36 +07:00
Darcy Wong
fa72dc5506 chore(common): Update some more strings 2021-04-28 23:15:59 +07:00
Darcy Wong
ab7e7f7ff1 chorre(common): Check in crowdin files for Azerbaijani 2021-04-28 15:17:25 +07:00
Darcy Wong
9f8acae7de fix(android/engine): Fix toHex() for null string 2021-04-28 09:22:38 +07:00
Darcy Wong
19f3adc953 chore(android/engine): Don't use localized string for Sentry errors 2021-04-26 13:45:44 +07:00
Darcy Wong
c5bce5021d fix(android/engine): Don't set lexical model list to null
Follow-on to #4926
2021-04-20 14:33:47 +07:00
Darcy Wong
cfd8abc744 fix(android/engine): Change getList() to return an empty list
This prevents the NullPointerException in CloudRepository.prepareResourcesUpdateQuery() when the list doesn't exist.
2021-04-20 14:06:57 +07:00
Darcy Wong
1884c9cfaa chore(android/engine): Clean up getFontTypeface
Address review comments
2021-04-20 10:23:04 +07:00
Darcy Wong
b51434a611 fix(android/engine): Don't load woff fonts on Android N 2021-04-19 16:29:21 +07:00
Darcy Wong
8e8190664d
Merge pull request #4829 from keymanapp/chore/android/crowdin-id
chore(android,windows): Check in crowdin for Indonesian
2021-04-19 15:10:37 +07:00
Darcy Wong
5e66918f0b chore(common): Update crowdin for French 2021-04-19 10:12:58 +07:00
Darcy Wong
7b68533cc7 Merge branch 'master' into chore/android/crowdin-id 2021-04-07 08:03:26 +07:00
Darcy Wong
73114d2c55 chore(android/engine): Rename "Pulaar" to "Pulaar-Fulfulde" 2021-04-05 12:47:07 +07:00
Darcy Wong
1c3a6f7081 chore(android): Merge branch 'master' into chore/android/crowdin-id 2021-04-05 08:00:13 +07:00
Darcy Wong
fecc73ccfe chore(android): Rename "Fula" to "Pulaar" 2021-04-05 07:55:18 +07:00
Darcy Wong
41745a7b0d chore(common): Check in crowdin for Fulah 2021-04-01 09:12:31 +07:00
Marc Durdin
9a61eaef8d fix(android): ensure keyboard is always set after pageLoaded
Fixes #4819.

If the web page reloads after KMManager is initialised, it now resets
the keyboard and lexical model so they remain in sync.
2021-04-01 10:50:48 +11:00
Darcy Wong
5a19417780 chore(android): Check in crowdin for Indonesian
I tried to use the correct BCP-47 tag `id` instead of `in` for Indonesian. But Java (and Android) still use the deprecated tag `in`...
2021-03-31 11:05:31 +07:00