Commit graph

310 commits

Author SHA1 Message Date
Darcy Wong
bc802341bb chore(android/app): Update dependencies 2021-05-18 12:01:03 +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
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
528df05d71 fix(android/app): Load system keyboard before checking overrides 2021-03-16 13:52:19 +07:00
Darcy Wong
743e242f6c fix(android/app): Fix crash clicking on QR code 2021-03-15 10:49:59 +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
9b5826375a fix(android): Migrate Toasts to BaseActivity.makeToast 2021-03-04 14:59: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
Darcy Wong
f466604dd2 fix(android/app): Fix welcome.htm responsiveness 2021-02-25 15:30:36 +07:00
Darcy Wong
350611bae5 fix(android/engine): Display help file in webView 2021-02-11 14:19:38 +07:00
Darcy Wong
a08a835a5e fix(android/engine): Add option to display UI in English 2021-02-10 14:36:08 +07:00
Darcy Wong
fbf72529db
Merge pull request #4413 from keymanapp/fix/android/welcome-post-install
change(android/app): Separate displaying welcome.htm from keyboard installation
2021-02-04 09:26:45 +07:00
Darcy Wong
3ea611e527 change(android/app): Remove displaying welcome.htm from stepper 2021-02-03 13:46:16 +07:00
Darcy Wong
45801f41a6 feat(android/app): Use help/build-help.sh to generate offline help 2021-02-02 11:06:33 +07:00
Darcy Wong
2885963354 fix(android/app): Wrap preference screen titles 2021-01-25 11:25:17 +07:00
Darcy Wong
8a084eb603
Merge pull request #4292 from keymanapp/fix/android/4247-handle-keyman-protocol
fix(android/app): Handle keyman protocol from external browser
2021-01-20 15:49:28 +07:00
Darcy Wong
5d929f1c2a chore(android/app): Use list_row_layout1 to center text 2021-01-20 09:27:46 +07:00
Darcy Wong
1be5a81b0d chore(android): Merge remote-tracking branch 'origin/beta' into feat/android/set-app-locale 2021-01-20 09:05:18 +07:00
Darcy Wong
2db8e0f698 fix(android/engine): Handle keyman://localhost link 2021-01-19 13:11:35 +07:00
Darcy Wong
c5bfb00a83 fix(android/app): Handle keyman:// protocol from external browser 2021-01-19 11:04:40 +07:00
Darcy Wong
bc85e08ba4 chore(android): Address review comments
* Remove "+" icon from display language list
* Restart the app on changing display language
* Document updating DisplayLanguages
* Misc code cleanup
2021-01-19 10:44:50 +07:00
Darcy Wong
3985e31381 chore(android): Cleanup whitespace 2021-01-18 14:51:39 +07:00
Darcy Wong
2f87fef4c3 fix(android/engine): Refactor BaseActivity to KMEA 2021-01-18 14:12:11 +07:00
Darcy Wong
ad25f7e127 fix(android/app): Fix Settings title and index of display language 2021-01-18 13:13:20 +07:00
Darcy Wong
1afc3347c1 fix(android/app): Use BaseActivity 2021-01-18 11:17:03 +07:00
Darcy Wong
b969bae423 feat(android/app): Add Settings menu to change display language 2021-01-15 06:44:25 +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
7596d393da fix(android): Address review comments 2021-01-06 14:31:43 +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
Darcy Wong
26b08bba65 fix(android/app): Guard against downloading the same kmp twice 2020-12-07 15:27:02 +07:00
Darcy Wong
4506aa316f fix(android/app): Change UX to finish package installation 2020-12-07 13:29:48 +07:00
Darcy Wong
54b3063c8b chore(android/app): Revert #4025
Since Sentry navigation breadcrumbs are handled by embedded KMW sentry-manager, the sentry-android change in #4025 needs to be reverted.
2020-12-04 08:05:00 +07:00
Darcy Wong
25084928a1
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/MainActivity.java
Incorporate suggestion

Co-authored-by: Marc Durdin <marc@durdin.net>
2020-12-01 07:59:25 +07:00
Darcy Wong
b1f922363f fix(android/app): Sanitize Sentry navigation breadcrumbs 2020-11-30 16:03:40 +07:00
Darcy Wong
2e29f117df fix(android/app): Finish packageActivity on Toast errors
This stops the activity from generating the Stepper navigation on failed keyboard installs
2020-11-26 12:38:42 +07:00
Darcy Wong
967ec86889 fix(android/app): Check touch keyboard and language count 2020-11-26 11:36:34 +07:00
Darcy Wong
e755e6401a
Merge pull request #3874 from keymanapp/fix/android/missing-welcome
fix(android/app): Install keyboard packages w/o welcome.htm
2020-11-20 11:39:01 +07:00
Darcy Wong
aa18f31a93 feat(android/app): Add setting preference for sending crash report 2020-11-19 11:48:09 +07:00
Darcy Wong
3299dbef20 fix(android/app): Install keyboard packages w/o welcome.htm
Fixes #3873
2020-11-17 15:51:48 +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
590b0f0210 fix(android/app): Remove network check on "Get Started" menu 2020-11-05 10:36:26 +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
318c674c80 chore(android/app): Remove logging 2020-10-27 11:23:03 +07:00