Commit graph

130 commits

Author SHA1 Message Date
Darcy Wong
2758dacbf9 refactor(android/engine): Move test folders 2023-01-07 20:43:41 +07:00
Darcy Wong
33bdac867a fix(android/engine): Update indexes for FileUtilsTest 2023-01-06 08:23:34 +07:00
Darcy Wong
83af536fb8 chore(android/engine): Update all the package names 2023-01-06 08:19:34 +07:00
Darcy Wong
1f42083ae8
Merge pull request #7897 from keymanapp/chore/android/dependencies-17-0
chore(android): Update Gradle dependencies; targetSDKVersion to 33
2022-12-15 06:22:05 +07:00
Darcy Wong
2a0368bc54 chore(android): Update Gradle dependencies 2022-12-13 11:26:35 +07:00
Darcy Wong
1711ae3fcc fix(android/engine): Parse URI to determine if cloud API has update 2022-11-28 09:38:00 +07:00
Darcy Wong
ab8562dc9d chore(android/engine): Tweak regex again 2022-11-17 09:20:17 +07:00
Darcy Wong
07ecf7839b fix(android/engine): Remove extra file suffix when installing kmp 2022-11-15 13:24:55 +07:00
Marc Durdin
4a3aca8a05 chore(android): disable keyman-staging tests 2022-09-08 14:47:44 +10:00
Darcy Wong
41bce3fc0b chore(android/engine): Fix surrogate pairs in test 2022-04-06 08:18:07 +07:00
Darcy Wong
1bc5ac75da fix(android/engine): Update countSurrogatePairs() 2022-04-05 09:32:55 +07:00
Darcy Wong
2e36fb8acf fix(android): Fix Chrome version ranges for Keyman engine functionality 2021-08-24 14:07:35 +07:00
Darcy Wong
b4fabeec90 feat(android/engine): Pass WebView as parameter 2021-08-02 10:03:47 +07:00
Darcy Wong
89c3b70195 feat(android): Add banner for prompting Chrome install 2021-07-31 10:00:02 +07:00
Darcy Wong
ca2a7c2ef4 feat(android): Add API for checking Chrome version 2021-07-29 14:22:13 +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
77ac56d6a7 chore(android/engine): Remove check in MapCompat 2021-03-15 12:56:25 +07:00
Darcy Wong
743e242f6c fix(android/app): Fix crash clicking on QR code 2021-03-15 10:49:59 +07:00
Darcy Wong
e7357d230b fix(android/engine): Disable Sentry on tests; Check MapCompat for null 2021-03-15 09:27:00 +07:00
Darcy Wong
350611bae5 fix(android/engine): Display help file in webView 2021-02-11 14:19:38 +07:00
Darcy Wong
a1739b4045 fix(android/engine): Fix zip slip vulnerability 2021-01-20 15:42:22 +07:00
Darcy Wong
79812e2e74
Merge pull request #3481 from keymanapp/feat/android/package-processor-keyboard-info
feat(android/app): Add language picker for keyboard package installation
2020-08-21 10:01:17 +07:00
Darcy Wong
981a72ac6f fix(android): Fix util to getting the tier on CI builds
The regex in KMManager.getTier() is incorrect for CI versions because of an extra `-`.

A local development version string `14.0.248-alpha-local` would correctly return Tier.ALPHA, but a CI build `14.0.248-alpha` would return Tier.STABLE
2020-08-19 09:02:37 +07:00
Darcy Wong
cd1daf4c7e feat(android): Use language lists for processing KMP 2020-08-17 07:51:00 +07:00
Darcy Wong
a368e1abc1 fix(android): UI changes
* Move button to below title bar
* Update title strings
* Use back button for "Cancel" action
* Use index for PackageProcesor utilities
2020-08-13 15:32:25 +07:00
Darcy Wong
69e0454009 feat(android/app): Add UX to pick language when installing keyboard pkg 2020-08-13 15:07:15 +07:00
Darcy Wong
257efec3d5 fix(android): Remove 13.0 code for downloading keyboards 2020-07-28 14:11:24 +07:00
Darcy Wong
c2a0d68b14 fix(android): Address review comments
* Use URI to handle query parameters instead of strings

Also in resuming work on the PR
* Change the staging host to keyman-staging.com
* Move helper for determining host
2020-07-27 13:57:49 +07:00
Darcy Wong
eb51b8cc55 fix(android): Update intent filter for /keyboards/install
Address some review comments:
* Update intent filter to use /keyboards/install (/go/packge/download commented out)
* Add some test cases to for testing Keyman install link
2020-07-16 13:47:16 +07:00
Darcy Wong
d823050908 chore(android): Add a unit test with BCP 47 tag that has script 2020-07-15 08:54:05 +07:00
Darcy Wong
d1ac23105c fix(android): Fix intent and parsing of URL query
* Add intent to handle download links from current live site: https://keyman.com/keyboard/download/
* Fix parsing of bcp47 query
* Only use the path for determining filename from packageID
*
2020-07-15 06:32:17 +07:00
Darcy Wong
eb93f5c305 fix(android): Refactor check on kmp links 2020-07-14 21:34:02 +07:00
Darcy Wong
10f503660d fix(android): Handle go/package/download links 2020-07-13 21:57:51 +07:00
Darcy Wong
d575ed9bab fix(android/engine): Update intents for downloading keyboards 2020-07-13 14:28:07 +07:00
Darcy Wong
21b85eb04e fix(android): Use go/ links for keyboard search 2020-07-13 09:25:00 +07:00
Darcy Wong
303873b64f fix(android): Add to KMManager API
Add getDefaultKeyboard() and setDefaultKeyboard() to KMManager API.
2020-07-09 10:55:41 +07:00
Darcy Wong
8d8cf035b9 feat(android): Download default resources at build time
Similar to the OEM FirstVoices Android app, this updates the KMAPro `build.sh` script to download the latest default language resources (keyboard and dictionary) as part of the build process.
2020-06-30 13:19:02 +07:00
Darcy Wong
0c18e9a38c fix(android): Use tier to determine keyboard search host 2020-06-29 10:36:38 +07:00
Darcy Wong
9dba0eb45e fix(android/engine): Have updateOldKeyboardsList return a list 2020-06-08 16:22:11 +07:00
Darcy Wong
11ae726afa fix(android/engine): Revise updateOldKeyboardsList 2020-06-07 09:37:26 +07:00
Darcy Wong
21a64063c5 feat(android): Add utility to check BCP47 equivalence
Fixes #2972
Add a BCP47 utility to check if two language IDs are equivalent.
2020-06-04 16:53:22 +07:00
Darcy Wong
fabf2888ef chore(android): Add formatting to log 2020-06-02 15:10:52 +07:00
Darcy Wong
ac77444e70 fix(android/engine): Fix available lexical model list 2020-05-29 16:02:21 +07:00
Darcy Wong
8a83334e64 fix(android): Remove KeyboardPickerActivity.getKeyboardIndex() 2020-05-19 14:37:51 +07:00
Darcy Wong
f504bf302c fix(android): start to address review comments 2020-05-18 10:45:12 +07:00
Darcy Wong
652136829d modify(android): Change assumptions on default keyboard
To support FV app, allow KeyboardController to remove any index.
KeyboardController also no longer initializes with a default of sil_euro_latin.
2020-05-08 21:56:19 +07:00
Darcy Wong
251dff3bba modify(android): Refactor KeyboardPickerActivity 2020-05-08 16:34:06 +07:00
Darcy Wong
ebfde0f70c
Merge pull request #3051 from keymanapp/fix/android/remove-more-custom
Fix/android/remove more custom
2020-05-01 15:17:14 +07:00
Darcy Wong
cd512d9c2b fix(android): Fix FileUtilsTest to be cross-platform
Fixes #3502 by using `File.separator` in the test
2020-05-01 12:12:08 +07:00