Commit graph

1548 commits

Author SHA1 Message Date
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
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10: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
Darcy Wong
a96137bef9 fix(android/engine): Add KMString wrapper for formatting Strings 2021-03-29 14:29:28 +07:00
Darcy Wong
5c08bf6f30 fix(android/engine): Fix NullPointerException in PackageProcessor 2021-03-26 09:05:42 +07:00
Darcy Wong
31883c6235 fix(android/engine): Sanitize embedded KMW Sentry error 2021-03-25 11:00:29 +07:00
Darcy Wong
729419d340
Merge pull request #4662 from keymanapp/fix/oem/fv/android/styling
fix(android): Update styling and set text to black
2021-03-17 13:05:02 +07:00
Darcy Wong
27ccb45417
Merge pull request #4696 from keymanapp/fix/android/keyboard-index-invalid
fix(android/app): Load system keyboard before checking overrides
2021-03-17 06:43:10 +07:00
Darcy Wong
51c6ac1658 fix(android/engine): Add divider styling 2021-03-16 20:22:07 +07:00
Darcy Wong
a98edf97a4 fix(android/engine): Fix crash when download file fails to copy to cache 2021-03-16 14:33:10 +07:00
Darcy Wong
528df05d71 fix(android/app): Load system keyboard before checking overrides 2021-03-16 13:52:19 +07:00
Darcy Wong
249f164ce0 chore(android/engine): Send KMW console errors to Sentry 2021-03-16 10:22:27 +07:00
Darcy Wong
a986f95a05 Merge remote-tracking branch 'origin/beta' into fix/oem/fv/android/styling 2021-03-16 07:15:48 +07:00