Commit graph

491 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
Darcy Wong
5552ee4aad chore(common): Check in crowdin strings for Spanish (Latin America) 2021-06-11 07:33:56 +07:00
Marc Durdin
7969b9e06c
Merge pull request #5247 from keymanapp/fix/android/5211-rotation-not-updating-keyboard
fix(android): rotation is not updating keyboard
2021-06-11 09:30:43 +10:00
Marc Durdin
64b5ab2cb7 fix(android): rotation is not updating keyboard
Fixes #5211.
2021-06-09 17:16:23 +10:00
Marc Durdin
090556846f chore(android): add docs on KmpInstallMode 2021-06-09 10:47:00 +10: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
Marc Durdin
cc6580779b chore(android): address review comments 2021-06-08 19:52:42 +10:00
Marc Durdin
d0edd5175f 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 07:20:22 +10:00
Marc Durdin
c244eded35
Merge pull request #5175 from keymanapp/fix/common/build-script-help-param
fix(common): build script help param
2021-05-31 11:08:36 +10: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
26ddeffc20 fix(android/app): Add another file check 2021-05-26 14:52:00 +07:00
Darcy Wong
e2d9aed236 fix(android/app): Check if key store files exist 2021-05-26 14:34:53 +07:00
Darcy Wong
fc0972c0d7 feat(android/app): Auto-generate Play Store release notes 2021-05-24 09:52:13 +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
1f5b059033 fix(android/app): Attempt to fix resolutionStrategy 2021-05-20 05:18:36 +07:00
Darcy Wong
48c7668b2a fix(android/app): Update Play syntax 2021-05-19 20:38:09 +07:00
Darcy Wong
74e9488b0f fix(android/app): Update gradle-play-publisher compatible with AGP 4.2 2021-05-19 20:08:03 +07:00
Darcy Wong
731f2233f7 fix(android/app): Update gradle-play-publisher version 2021-05-19 14:38:10 +07:00
Darcy Wong
f31edd8b52 chore(common): Check in crowdin strings for Amharic 2021-05-19 09:12:39 +07:00
Darcy Wong
695ee6fde4 fix(android/app): Add mavenCentral() 2021-05-18 15:18:10 +07:00
Darcy Wong
bc802341bb chore(android/app): Update dependencies 2021-05-18 12:01:03 +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
a5c871607e
Merge pull request #5047 from keymanapp/chore/android/offline-help
chore(android/app): Always use offline help
2021-05-10 16:31:40 +07:00
Darcy Wong
c7824ed6c2 chore(android/app): Always use offline help 2021-05-10 10:45:15 +07:00
Darcy Wong
e5bbce8c94 feat(android/app): Add telemetry for launching WebBrowserActivity 2021-05-10 10:23:50 +07:00
Darcy Wong
923d8be745 fix(common): Remove whitespace for formatting 2021-04-30 09:08:41 +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
1c3a6f7081 chore(android): Merge branch 'master' into chore/android/crowdin-id 2021-04-05 08:00:13 +07:00
Darcy Wong
41745a7b0d chore(common): Check in crowdin for Fulah 2021-04-01 09:12:31 +07: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
62baa789ff fix(android/app): Improve UX of errors during package installation
* Use Toasts so they'll still be visible when the activity finishes
* Set download dialog cancelable so it can be dismissed on errors
2021-03-26 09:08:27 +07:00
Darcy Wong
795de1ecf4 chore(android/app): Migrate launcher icon to adaptive 2021-03-18 21:36:52 +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
528df05d71 fix(android/app): Load system keyboard before checking overrides 2021-03-16 13:52:19 +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
Darcy Wong
718279b574 chore(common): Update crowdin for km 2021-03-15 13:11:17 +07:00
Darcy Wong
743e242f6c fix(android/app): Fix crash clicking on QR code 2021-03-15 10:49:59 +07:00
Darcy Wong
2846eee2ee fix(android/engine): Fix listview styling 2021-03-13 20:45:36 +07:00
Darcy Wong
6a2e321306 change(android): Update theming 2021-03-13 15:44:47 +07:00
Darcy Wong
ff91d9d7d9
Merge pull request #4588 from keymanapp/fix/android/toast-locale
fix(android): Localize Toast notifications
2021-03-05 08:57:13 +07:00
Darcy Wong
51e8dd19e4
Merge pull request #4531 from keymanapp/fix/android/welcome-hangs
fix(android/app): Fix welcome.htm responsiveness
2021-03-05 06:54:51 +07:00
Darcy Wong
9b5826375a fix(android): Migrate Toasts to BaseActivity.makeToast 2021-03-04 14:59:53 +07:00
Darcy Wong
f1133d0fc9 chore(android): Check in crowdin files for de 2021-03-03 14:45:53 +07:00
Darcy Wong
e18e3b5d00 change(android/engine): Refactor webview cleanup 2021-03-02 15:23:05 +07:00
Darcy Wong
6ba69a04ce change(android/engine): Refactor viewport injection 2021-03-01 15:25:46 +07:00