Darcy Wong
90b25ed673
fix(android/engine): Update deprecated call to switch system keyboard for Android P
2020-07-15 14:14:29 +07:00
Darcy Wong
8bb8fe4c92
feat(android/oem): Add nrc.str.sencoten to FV app
...
* Update FV build to download nrc.str.sencoten.model.kmp
* Update FV app to install the model
* Rebuild active keyboards list using keyboard info from kmp.json
2020-07-10 08:55:53 +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
2e240591a3
chore(android): Address review comments
...
getDefaultKeyboard()
* Assert `context`is not null
setDefaultKeyboard()
* Allow null Keyboard to revert to sil_euro_latin
FV MainActivity
* Define constant for default package ID
2020-07-09 10:52:09 +07:00
Darcy Wong
ec016f850f
fix(android/oem): Add a fallback keyboard to FV Android app
...
The FV Android app has a workflow where it's possible on a fresh install for the user to set FV as a system keyboard before checking (adding) any of the FV keyboards.
This makes the keyboard list empty, and KMManager throws an exception trying to set a keyboard.
This PR adds `Keyboard.setDefaultKeyboard()` so an app can specify a fallback keyboard. If never set, KMEA uses sil_euro_latin/sil_euro_latin.
The FV app will fall back to fv_all/sil_euro_latin
2020-07-08 16:23:07 +07:00
Darcy Wong
95c4b914d4
chore(android): Remove unused import of JSONArray
2020-07-08 13:17:03 +07:00
Darcy Wong
6b0e280b08
fix(android): Update logger to handle generic object
...
Per review comment, make logger `LogExceptionWithData` to handle generic Object. This will print out the object as a string in the error log to Sentry.
2020-07-08 10:36:54 +07:00
Darcy Wong
7a5b9e8069
feat(android): Add additional info on installed keyboards exceptions
2020-07-07 15:35:14 +07:00
Darcy Wong
8d8e243cc4
chore(android): Merge remote-tracking branch 'origin/master' into fix/android/download-associated-dictionary
2020-07-03 11:50:41 +07:00
Darcy Wong
0caaf6b4f6
fix(android/engine): Fix unbound variable in build script
2020-07-03 11:07:40 +07:00
Darcy Wong
477cb11349
fix(android): Download associated lexical model
2020-07-03 08:09:33 +07:00
Darcy Wong
4b153468f9
fix(android): Avoid build-utils.sh from getting called multiple times
2020-07-01 15:36:02 +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
6e152f5797
fix(android): Update embed to android
2020-06-29 13:03:28 +07:00
Darcy Wong
0c18e9a38c
fix(android): Use tier to determine keyboard search host
2020-06-29 10:36:38 +07:00
Darcy Wong
97540655bc
feat(android): Address review comments
...
* Fix strings
* Refactor keyboard/list generation and return all the languages
* Modify adapter to disable installed languages
2020-06-19 12:55:42 +07:00
Darcy Wong
7bd304ee71
fix(android): Implement menu to add language for installed keyboard pkg
2020-06-18 21:44:14 +07:00
Darcy Wong
6c3f887e22
feat(android/engine): Consolidate install menus
2020-06-16 15:45:04 +07:00
Darcy Wong
33044acd25
fix(android/engine): Adjust regex
2020-06-12 12:27:47 +07:00
Darcy Wong
052cc9d74f
fix(android/engine): Refactor cloud keyboard migration
2020-06-11 10:39:03 +07:00
Darcy Wong
c01ba60cf1
fix(android/engine): Remove setLanguage()
2020-06-10 17:15:29 +07:00
Darcy Wong
ec0dfdd5dc
fix(android/engine): Clean up
2020-06-10 17:05:34 +07:00
Darcy Wong
3d40443612
fix(android/engine): Move cloud keyboard migration to KMManager
2020-06-10 14:35:54 +07:00
Darcy Wong
534c943987
fix(android/engine): Change log to warning if keyboard index failed
2020-06-09 23:44:46 +07:00
Darcy Wong
a6ad06ba0f
feat(android/engine): Migrate cloud keyboards when updating keyboard package
2020-06-09 16:01:20 +07:00
Darcy Wong
e7037b7d75
Merge pull request #3209 from keymanapp/feat/android/model-picker-updates
...
feat(android): Handle model picker updates
2020-06-09 16:00:36 +07:00
Darcy Wong
c218b97152
fix(android/engine): Simplify isNewKeyboard by setting to false
2020-06-08 16:40:04 +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
3f27ed5656
chore(android): Merge remote-tracking branch 'origin/master' into feat/android/model-picker-updates
2020-06-04 14:44:43 +07:00
Darcy Wong
723330e81b
fix(android): Force lexical model cache to rebuild
2020-06-04 11:59:13 +07:00
Darcy Wong
c38f343d9b
fix(android): Handle model package updates
2020-06-04 11:37:08 +07:00
Darcy Wong
64daba1f74
fix(android): Start handling lexical model package version update
2020-06-02 17:05:42 +07:00
Darcy Wong
6b46666f4f
Merge pull request #3196 from keymanapp/feat/android/sentry-exceptions
...
fix(android): Add wrapper for logging errors & exceptions
2020-06-02 17:02:16 +07:00
Darcy Wong
fabf2888ef
chore(android): Add formatting to log
2020-06-02 15:10:52 +07:00
Darcy Wong
9aa618a3d4
Merge pull request #3197 from keymanapp/feat/android/add-globe-option
...
feat(android): Add system globe action to show system keyboards
2020-06-02 11:17:36 +07:00
Darcy Wong
a2ca7d3fa9
chore(android): Merge remote-tracking branch 'origin/master' into feat/android/sentry-exceptions
2020-06-02 10:40:59 +07:00
Darcy Wong
ce2a7095ac
Merge pull request #3191 from keymanapp/fix/android/model-list
...
fix(android/engine): Use available models for ModelPickerActivity()
2020-06-02 10:40:07 +07:00
Darcy Wong
ddec6daf37
chore(android): Cleanup per review comments
2020-06-02 10:38:20 +07:00
Darcy Wong
5a69b745fd
feat(android): Add system globe action to show system keyboards
...
Fixes #3102
2020-06-02 09:50:41 +07:00
Darcy Wong
12767a8a38
fix(android): Add wrapper for logging errors & exceptions
2020-06-01 15:58:22 +07:00
Darcy Wong
3938fdd3c8
chore(android): Cleanup
2020-05-30 10:28:55 +07:00
Darcy Wong
574804cbe6
fix(android): Only invalidate lexical model cache if no match
2020-05-29 16:34:40 +07:00
Darcy Wong
ac77444e70
fix(android/engine): Fix available lexical model list
2020-05-29 16:02:21 +07:00
Darcy Wong
e1d9350846
fix(android/engine): Clean up naming for QR code
2020-05-29 14:31:29 +07:00
Darcy Wong
7b5488308c
chore(android/engine): Clarify comments for ApiTarget
2020-05-28 14:48:32 +07:00
Darcy Wong
876ba03636
fix(android/engine): Add helper method hasUpdateAvailable()
2020-05-28 13:05:22 +07:00
Darcy Wong
6150b69c29
fix(android): Handle keyboard update
2020-05-27 16:40:49 +07:00
Darcy Wong
63032063a7
fix(android): Use kmp link
2020-05-27 13:23:27 +07:00