Commit graph

1391 commits

Author SHA1 Message Date
Joshua Horton
14b539f15a
fix(android): from PR suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-07-27 09:20:14 +07:00
jahorton
24f716b531 fix(android): displayName: getString -> optString 2021-07-27 09:02:39 +07:00
Marc Durdin
62b2c53810
Merge pull request #5469 from keymanapp/chore/android/cherry-pick/improve-error-reporting-for-kmw
chore(android): improve error reporting for kmw 🍒
2021-07-20 15:59:03 +10:00
Marc Durdin
ccbda9cba5
Merge pull request #5407 from keymanapp/feat/android/cherry-pick/spacebar-text
feat(android): Spacebar text controls 🍒 🌌
2021-07-20 15:58:31 +10:00
Marc Durdin
2cc760928d chore(android): improve error reporting for kmw
Reports the actual error message instead of 'sendKMWError' as the primary message to Sentry.
2021-07-20 07:41:31 +10:00
Darcy Wong
04c8195499 chore(android/engine): Revert test code 2021-07-08 11:40:43 +07:00
Darcy Wong
5dcaddcf53 fix(android/engine): register lexical model in switchToNextKeyboard 2021-07-08 07:20:05 +07:00
Darcy Wong
1ef6e758f1 fix(android/engine): Fix font file path 2021-07-06 10:14:21 +10:00
Marc Durdin
6453029f33 feat(android): Spacebar text controls 🍒
Cherry-pick of a3ec34a3ce.

Relates to #949.

* Adds setSpacebarText() API to Keyman Engine for Android
* Adds displayName API to Keyman Engine for Android
* Sets default spacebar text to keyboard name for FirstVoices Keyboards
* Does not include the preference changes to Keyman for Android -- these
  will be surfaced as a feature in 15.0.
2021-07-01 16:23:11 +10:00
Marc Durdin
b43f924266 chore: address review comments 2021-07-01 16:18:52 +10:00
Marc Durdin
25ea1438e7 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-07-01 16:18:50 +10:00
Marc Durdin
ec58de91be 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:59:34 +10:00
jahorton
ad6db9ded8 fix(android): nextlayer for subkeys with customized layer setting 2021-06-24 08:36:51 +07:00
Darcy Wong
c27d971854 chore(common): Add YouTube links to Keyman 14 features 2021-06-15 07:27:27 +07:00
Marc Durdin
35de044d26
Merge pull request #5266 from keymanapp/feat/android/cherry-pick/5219-play-referrer-library-silent-install
feat(android): silent install for referred kbd 🍒
2021-06-11 09:31:04 +10:00
Marc Durdin
4c0c9276a0 chore(android): add docs on KmpInstallMode 2021-06-11 08:56:21 +10:00
Marc Durdin
2d65abe5e4 feat(android): silent vs welcomeonly vs full installs 2021-06-11 08:56:19 +10:00
Marc Durdin
41b3696682 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-11 08:56:17 +10:00
Marc Durdin
e6516b06a9 fix(android): rotation fix for samples and FV Keyboards 2021-06-11 06:34:17 +10:00
Marc Durdin
c66d676b1d fix(android): rotation is not updating keyboard
Fixes #5211.
2021-06-11 06:34:15 +10:00
Marc Durdin
093d957f74 chore(android): address review comments 2021-06-08 19:53:20 +10:00
Marc Durdin
84c417e81a feat(android): Automatically install keyboard through Play Store
Resolves #5219.

Uses the Google Play Install Referrer API to automatically discover the
keyboard to install together with Keyman; this keyboard is passed in a
`referrer` parameter to the Play Store page for the Keyman app from the
Keyman website.
2021-06-07 08:10:50 +10:00
Darcy Wong
bb06b04668 fix(android/samples): Set gradlew executable for Tests 2021-05-31 09:57:48 +07:00
Darcy Wong
d5a5d8ab95 chore(android): Add -clean flag to build script 2021-05-28 09:42:22 +07:00
Darcy Wong
f9db2e5efe chore(common): Check in crowdin strings for Amharic 2021-05-20 05:47:59 +07:00
Darcy Wong
e3988f5d23 fix(android/engine): Check lexical-model file exists before using 2021-05-13 11:56:35 +07:00
Darcy Wong
8d51158289
Merge pull request #5050 from keymanapp/cherrypick/android/5046-browser-telemetry
feat(android/app): Add telemetry for launching WebBrowserActivity 🍒
2021-05-11 06:05:51 +07:00
Darcy Wong
54115c8735
Merge pull request #5039 from keymanapp/cherrypick/common/4992-crowdin-az
chore(common): Check in crowdin files for Azerbaijani 🍒
2021-05-11 06:05:35 +07:00
Darcy Wong
f6f7f11a33 chore(android/app): Always use offline help 2021-05-10 16:37:30 +07:00
Darcy Wong
06a3cdce39 feat(android/app): Add telemetry for launching WebBrowserActivity 2021-05-10 16:19:11 +07:00
Darcy Wong
75220054d9 chore(common): Check in crowdin files for Azerbaijani 2021-05-07 13:49:11 +07:00
Darcy Wong
6756bebefe fix(android/engine): Fix toHex() for null string 2021-04-29 13:11:15 +07:00
Darcy Wong
56f7ff0dba chore(android/engine): Don't use localized string for Sentry errors 2021-04-26 14:19:37 +07:00
Darcy Wong
7735141097 fix(android/engine): Change getList() to return an empty list 2021-04-20 14:44:29 +07:00
Darcy Wong
ab8b72352f fix(android/engine): Don't load woff fonts on Android N 2021-04-20 10:29:53 +07:00
Darcy Wong
8bcb2656cf
Merge pull request #4904 from keymanapp/cherrypick/common/4829-crowdin-indonesian
chore(android,windows): Check in crowdin for Indonesian 🍒
2021-04-19 15:23:58 +07:00
Darcy Wong
f31115cb79
Merge pull request #4903 from keymanapp/cherrypick/common/4895-update-crowdin-fr
chore(common): Update crowdin for French 🍒
2021-04-19 15:23:37 +07:00
Darcy Wong
cecf7ab9ab chore(android,windows): Check in crowdin for Indonesian 2021-04-19 15:11:44 +07:00
Darcy Wong
19760f99fe chore(common): Update crowdin for French 2021-04-19 13:57:47 +07:00
Darcy Wong
aa2f0484d0 chore(android/engine): Rename "Pulaar" to "Pulaar-Fulfulde" 2021-04-19 07:50:09 +07:00
Darcy Wong
1834dbbc4a chore(android): Rename "Fula" to "Pulaar" 2021-04-05 08:30:59 +07:00
Darcy Wong
934ed47164
Merge pull request #4842 from keymanapp/cherrypick/bravogeorge-android-help
docs(android): Update installing-keyboards and enabling-system-keyboards
2021-04-01 08:52:38 +07:00
Darcy Wong
1011de5c8b
Merge pull request #4822 from keymanapp/chore/windows/crowdin-ff
chore(common): Check in crowdin strings for Fulah
2021-04-01 08:50:35 +07:00
Darcy Wong
c3e3242be5 docs(android): Update installing-keyboards and enabling-system-keyboards
Cherry-pick @bravogeorge 's  documentation updates in #4837 and #4839 to stable-14.0

(Updated image saved to settings6-ap.png)
2021-04-01 08:42:54 +07:00
Marc Durdin
30b32a4188 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:52:26 +11:00
Darcy Wong
e3ff8425a2 chore(android): Check in crowdin for Fulah 2021-03-31 14:32:42 +07:00
Darcy Wong
7ad6769c00 fix(android/engine): Add KMString wrapper for formatting Strings 2021-03-30 07:43:40 +07:00
Darcy Wong
d19223dfc4 fix(android): Fix NullPointerException in package installation 2021-03-26 13:13:57 +07:00
Darcy Wong
d380f1d5bf fix(android/engine): Sanitize embedded KMW Sentry error 2021-03-25 15:39:15 +07:00
Darcy Wong
795de1ecf4 chore(android/app): Migrate launcher icon to adaptive 2021-03-18 21:36:52 +07:00