Commit graph

1548 commits

Author SHA1 Message Date
Darcy Wong
20a2af830a chore(android): Add Obolo language from crowdin
Manually check in crowdin files from crowdin.
Can't use crowdin CLI because it doesn't handle custom langauges
https://support.crowdin.com/api/language-codes/
2021-01-14 20:10:29 +07:00
Marc Durdin
99e60559eb fix(android): Popup misalignments and compatibility with WeChat, Telegram
Fixes #4019.
Rolls back #3009 and fixes base issue in alternative manner.

The core issue here was twofold:

1. We needed to set the window size to the whole screen in order for the
   popups to visible and touchable. We implement this in
   `onConfigureWindow`.
2. Once our window size is the whole screen, we need to tell the apps
   which part of the window is our keyboard UI, in `onComputeInsets`.
   This is the only part of the window which impacts the layout of the
   underlying app. We had not set the `visibleTopInsets` property and
   this caused the WeChat problems.

Finally, in order for this to work, we roll back the original fix
in #3009 as that one breaks the full-screen layout requirement.

Tested with a wide range of apps on Android 10, including WeChat and
Telegram. If @kienwt, @ericjding have capacity, would love to know if
this fix works for them also.

Note that this fix requires changes to consumers of Keyman Engine, so
sample and FV Keyboards updated accordingly.
2021-01-14 17:05:31 +11:00
Darcy Wong
e2d4388506
Merge pull request #4228 from keymanapp/common/crowdin-km
chore(common): Check in crowdin files for km (Khmer)
2021-01-14 08:13:29 +07:00
Darcy Wong
3742bb4a0a chore(android): Check in crowdin files for km 2021-01-08 14:56:50 +07:00
Darcy Wong
7596d393da fix(android): Address review comments 2021-01-06 14:31:43 +07:00
Darcy Wong
15cd8aa333 chore(android/engine): Cleanup comments 2020-12-18 09:14:23 +07:00
Darcy Wong
cf5dd4c114 change(android/engine): Rename to DownloadFileUtils 2020-12-18 09:07:19 +07:00
Darcy Wong
013e9a6187 fix(android/engine): Remove WRITE_EXTERNAL_STORAGE permission
Refactor how DownloadManager files are handled:
* File gets copied to cache
2020-12-17 17:01:39 +07:00
Darcy Wong
18c537fc34 fix(android/engine): Don't use external storage for cloud downloads 2020-12-16 20:28:54 +07:00
Joshua Horton
195b4d0be0
Merge pull request #4072 from keymanapp/fix/common/core/web/predictive-context-reset
fix(common/core/web): predictive context reset
2020-12-04 15:24:59 +07:00
Joshua Horton
340220642c
fix(android): Update android/KMEA/app/src/main/assets/keyboard.html
Co-authored-by: Marc Durdin <marc@durdin.net>
2020-12-04 12:44:36 +07:00
Joshua Horton
6d59ada87b
fix(android): Update android/KMEA/app/src/main/assets/keyboard.html
Co-authored-by: Darcy Wong <darcywong00@users.noreply.github.com>
2020-12-04 12:10:33 +07:00
Darcy Wong
bc9cd05bdf fix(android/engine): Log Sentry error when falling back keyboard 2020-12-04 11:08:13 +07:00
Darcy Wong
ec8eac9e47 fix(android/engine): Remove Sentry log about fallback keyboard 2020-12-04 10:43:18 +07:00
jahorton
fcc1eae8a5 fix(common): context reset on embedded caret shift 2020-12-04 10:22:10 +07:00
jahorton
349d45c573 fix(android/engine): related Android changes 2020-12-04 08:42:52 +07:00
Darcy Wong
e067e836fb fix(android/engine): More cleanup from review comments 2020-11-27 12:33:40 +07:00
Darcy Wong
73879bd64e fix(android/engine): Count the number of keyboard ID's with matching JS 2020-11-27 07:47:04 +07:00
Darcy Wong
5a9cb05165 fix(android/engine): Check JS file exists in kmp
Modify packageProcessor.getKeyboardCount
2020-11-26 11:36:34 +07:00
jahorton
53d252408a fix(ios): adds null guard to refreshLayouts call 2020-11-23 14:27:58 +07:00
jahorton
54482e8f1f fix(web/engine): fixes OSK rotation 2020-11-20 10:35:20 +07:00
Darcy Wong
91dc80774f chore(android): Merge remote-tracking branch 'origin/master' into feat/android/kmw-sentry 2020-11-19 12:03:37 +07:00
Darcy Wong
f0fea14fd7 fix(android/engine): Add setting to enable sending crash reports 2020-11-19 10:45:03 +07:00
Darcy Wong
1fbb27a223
Merge pull request #3867 from keymanapp/fix/android/update-inapp-context
fix(android/engine): Update in-app TextView context on pageLoaded
2020-11-18 16:10:01 +07:00
Darcy Wong
e6e63106d7 chore(android): Merge remote-tracking branch 'origin/master' into feat/android/kmw-sentry 2020-11-18 14:30:56 +07:00
Darcy Wong
da9a50ae58 chore(android/engine): update to sentry-android:3.1.0
The migration changes the package name from `import io.sentry.core` to `import.sentry`
2020-11-16 14:05:41 +07:00
Darcy Wong
7de86a065e fix(android/engine): Update in-app TextView context on pageLoaded
Fixes #3809

This fixes the race condition where the in-app TextView would load before the in-app keyboard is loaded. The TextView would fail to get existing context.
2020-11-16 10:50:21 +07:00
jahorton
cda421a3c5 fix(android/engine): removes .eot, .woff use 2020-11-16 10:26:43 +07:00
Darcy Wong
0cf45ac5e3 feat(ios/engine): embedded KeymanWeb engine Sentry use 2020-11-05 14:53:05 +07:00
Darcy Wong
4dd9bbfded chore(android/engine): Use i18n string 2020-11-04 14:00:38 +07:00
Darcy Wong
cb3a408879 chore(android/engine): More cleanup
Remove CloudLexicalModelMetaDataDownloadCallback.updateIsRunning since it's not ready
2020-11-03 11:26:40 +07:00
Darcy Wong
1a02d24d8f chore(android/engine): Remove commented code 2020-11-03 11:00:15 +07:00
Darcy Wong
5271cc115f feat(android/engine): Add hooks for progressbar 2020-11-03 10:52:02 +07:00
Darcy Wong
9931b15a31 feat(android/engine): Add query for available dictionary 2020-11-02 16:19:03 +07:00
Darcy Wong
396df9673d chore(android/engine): Remove callbacks for lexical model catalog 2020-11-02 14:48:22 +07:00
Darcy Wong
98aee8895c chore(android/engine): Remove use of lexical-model catalog 2020-10-30 10:25:19 +07:00
Darcy Wong
d733c54b41
Merge pull request #3731 from keymanapp/fix/android/reinstall-lexical-model
fix(android/engine): Fix issues when re-installing lexical-models
2020-10-29 06:17:18 +07:00
Darcy Wong
69e9e979ef fix(android): Revert version string 2020-10-27 16:09:15 +07:00
Darcy Wong
9460e850ac
Merge pull request #3740 from keymanapp/fix/android/improve-startup-time
fix(android/engine): Only get keyboard version for cloud/
2020-10-27 11:10:44 +07:00
Darcy Wong
004bfd4c7e chore(android): Merge remote-tracking branch 'origin/master' into fix/android/reinstall-lexical-model 2020-10-26 11:14:01 +07:00
Darcy Wong
2c544bce25
Merge pull request #3738 from keymanapp/chore/android/update-dependencies
chore(android): Update dependencies
2020-10-24 15:04:35 +07:00
Darcy Wong
18ab0d09a9 fix(android/engine): Apply same version check on prepareKeyboardSwitch 2020-10-22 17:50:48 +07:00
Darcy Wong
e3af12daf7 fix(android/engine): Only get keyboard version for cloud/ 2020-10-22 13:58:28 +07:00
Darcy Wong
ee82ea8732 fix(android/engine): Check if cache file exists before deleting 2020-10-22 11:14:01 +07:00
Darcy Wong
9ef2cec502 chore(android): Update dependencies 2020-10-22 10:51:34 +07:00
Darcy Wong
eef627798c fix(android/engine): Compare current version in hasUpdateAvailable() 2020-10-21 08:25:36 +07:00
Darcy Wong
4b3a568787 fix(android/engine): Log executeHardwareKeystroke error once per session 2020-10-20 09:53:36 +07:00
Darcy Wong
c010ec6465 fix(android/engine): Add more checks for Keyboard 2020-10-19 15:19:47 +07:00
Darcy Wong
121d4a351b chore(android): Merge remote-tracking branch 'origin/master' into fix/android/kmmanager-robustness 2020-10-02 13:52:37 +07:00
Darcy Wong
985307e878
Merge pull request #3624 from keymanapp/fix/android/undefined-package-id
fix(android/engine): Fix undetermined lexical model package ID
2020-09-29 19:51:22 +07:00