Commit graph

2255 commits

Author SHA1 Message Date
Darcy Wong
f4950cdfdb fix(android): Address review comments
* Catch specific IllegalStateException
* Replace Toast notification with `Log.e()`
* Also added a null check on the context for ResourcesUpdateTool()
2020-02-14 13:55:44 +07:00
Darcy Wong
7baf35d0bc Merge remote-tracking branch 'origin/beta' into fix/android/download-manager-crashes 2020-02-14 11:08:19 +07:00
jahorton
954a6aaabd chore(web): history.md - also for android, ios 2020-02-14 08:16:50 +07:00
Darcy Wong
39ab6369be chore(android): update history.md 2020-02-13 13:03:38 +07:00
Darcy Wong
7cf9b13856 change(android): Update app dependencies
#2640 fixed the FirstVoices OEM app from crashing on Android 5.0 devices.

This applies the same fix (updating to `androidx.appcompat:appcompat:1.2.0-alpha02`) for all the other Android apps.

* Also fix up history.md entries
2020-02-13 09:10:05 +07:00
Darcy Wong
c008d07e14 chore(android): update history.md 2020-02-12 19:18:49 +07:00
Darcy Wong
b66770fcd2 change(android): Update in-app help
Info content for 13.0 auto-generated by `build-help.sh` script.
2020-02-12 11:33:40 +07:00
Darcy Wong
71c32db6d3 fix(android): Add abaility to reinitialize CloudDownloadMgr
Fixes crashlytics [crash](https://console.firebase.google.com/u/0/project/kmapro-ee779/crashlytics/app/android:com.tavultesoft.kmapro/issues/ae59e122f0fac1eb6e082ddb21bb6fae?time=last-seven-days&sessionId=5E41A650017400013B04CE17115A1E88_DNE_0_v2)

There's an intermittent condition between the system notification bar showing a resource update available, the user closing the Keyman app, and the user later choosing  to update the resource.

By then, the CloudDownloadMgr may not be available to handle the download.

This makes the following change:
* When the Keyman app is closed, shutdown the CloudDownloadMgr (without destroying the InApp and System Keyboard).
* When preparing to download a resource update, re-initialize the CloudDownloadMgr as needed.
2020-02-11 16:40:55 +07:00
Darcy Wong
cb894a0fc5 chore(android): update history.md 2020-02-10 08:26:52 +07:00
Darcy Wong
8c25c9950f chore(android): Update default nrc.en.mtnt.model to 0.1.4 2020-02-07 17:09:11 +07:00
Marc Durdin
6902f7bf1c
Merge branch 'master' into chore/beta-alpha-p9s1 2020-02-07 16:25:39 +11:00
Darcy Wong
5aa309d0f9 chore(web): Update history.md 2020-01-31 11:29:34 +07:00
Darcy Wong
f1c19748b4 chore(android): Update history.md 2020-01-31 11:21:44 +07:00
Darcy Wong
57dcdf3b2b fix(android): Pass language ID to ConformDialogFragment
When cancelling the Android system notifications about lexical model update being available, the notification would still remain.

This passes the language ID so the dialog can be cancelled.
2020-01-29 16:19:09 +07:00
Marc Durdin
4ebd2d9f24 chore(android): versionCode as Integer 2020-01-29 12:19:07 +11:00
Marc Durdin
742aee39d7 chore(android): use new version infrastructure 2020-01-29 08:55:19 +11:00
Marc Durdin
3087b09e97 chore: version numbers in history 2020-01-28 15:16:26 +11:00
Darcy Wong
d40b3ab8cb
Merge pull request #2541 from keymanapp/android-2539-rotation
fix(android): Revert KMManager.onDestroy
2020-01-28 10:05:00 +07:00
Marc Durdin
801d3e99c0 chore: address review notes for Android 2020-01-28 07:08:38 +11:00
Darcy Wong
9fed52a743 fix(android): Revert KMManager.onDestroy
Fixes #2539

During #2326, `KMManager.onDestroy()` was updated to set `InAppKeyboard` and `SystemKeyboard` to null. While good in practice, this created  an issue when closing Keyman as a System Keyboard. Lingering Javascript calls in the WebView would crash with the null keyboards.

This reverts `onDestroy()` to how it has been since before 2.8 stable
2020-01-27 14:27:49 +07:00
Marc Durdin
5894d497b4 chore: history for 13.0 beta 2020-01-24 10:59:35 +11:00
Darcy Wong
c0ed81e430 fix(android): Add QR code to scrollable listview 2020-01-22 22:39:15 +07:00
Darcy Wong
e3a59ee9d2 fix(android): Remove unused padding 2020-01-22 16:17:54 +07:00
Darcy Wong
c45b3038ce fix(android): Tweak UI when update available 2020-01-22 11:28:19 +07:00
Darcy Wong
757fc7fd6d chore(android): Use cloud download icon
Per review comment, use the cloud download icon
2020-01-22 07:03:08 +07:00
Darcy Wong
97630fe789 chore(android): Update history.md 2020-01-21 14:11:13 +07:00
Darcy Wong
c54dcc52c4 chore(android): Tweak string for downloading latest dictionary 2020-01-21 13:45:47 +07:00
Darcy Wong
b3946f6b3d fix(android): Download update to model when available 2020-01-21 12:48:52 +07:00
Darcy Wong
94306521aa fix(android): Download update to keyboard when available 2020-01-21 09:59:43 +07:00
Darcy Wong
47e0fe7ead fix(android): Update Keyboard Settings page to show cloud updates 2020-01-20 16:44:21 +07:00
Darcy Wong
0008e13098 chore(android): Update history.md
Also add newline to end of HelpFile
2020-01-10 08:35:09 +07:00
Darcy Wong
70f925e508 Merge branch 'master' into android-view-welcome 2020-01-10 08:32:35 +07:00
Darcy Wong
ab165e49c9 Merge remote-tracking branch 'origin/master' into android-follow-custom-link 2020-01-06 09:48:07 +07:00
Darcy Wong
66f86a904c fix(android): Also use HelpFile for Model custom help link 2019-12-20 15:57:22 +07:00
Darcy Wong
c772a2dbfe chore(android): Refactor HelpFile as utility 2019-12-20 15:35:28 +07:00
Darcy Wong
6cc8a56681 fix(android): Update file provider permissions 2019-12-20 10:55:18 +07:00
Joshua Horton
53fda94262
Merge pull request #2454 from keymanapp/android-2323-cherry-compile-fix
fix(android): Removes Closure's auto-polyfills, adds test case bypass
2019-12-19 08:04:43 +07:00
Darcy Wong
8a079193fd Merge branch 'master' into android-follow-custom-link 2019-12-18 13:14:28 +07:00
Darcy Wong
e72b67248f change(android): Update nrc.en.mtnt model to 0.1.3
Cherrypick of #2389 to master
2019-12-18 12:04:22 +07:00
Darcy Wong
74b5e1a573 fix(android)
Address review comments
2019-12-18 08:57:32 +07:00
jahorton
198fe16223 docs(android): Adds documentation for build script changes 2019-12-18 08:13:19 +07:00
Darcy Wong
84025d931e chore(android): Update history.md 2019-12-17 16:03:14 +07:00
Darcy Wong
cde60e23f4 feat(android): Add QR Codes on Keyboard Info pages
Addresses Android for #1535

Add QR Codes to the keyman.com keyboard page.

If the main app doesn't include the QRGen libraries, the QR Code isn't generated/displayed.

Also update the list of dependencies in README.md
2019-12-17 15:53:34 +07:00
Joshua Horton
b5f4462b67
fix(android): Restores -debug flag definitions 2019-12-16 12:32:15 +07:00
jahorton
c1c3c1e6a1 fix(android): Removes Closure's auto-polyfills, adds test case bypass 2019-12-16 12:24:04 +07:00
Marc Durdin
d57c4974ca
Merge branch 'master' into chore/history 2019-12-13 05:16:52 +11:00
Darcy Wong
4eef1a1908 chore: update history.md 2019-12-12 16:37:41 +07:00
Darcy Wong
05f50f03f4 fix(android): Investigate propagating custom help links 2019-12-12 16:24:37 +07:00
Darcy Wong
3251f74962 fix(android): Check substring length
Cherrypick of #2444 to master to fix `StringIndexOutOfBoundsException` on [Crashlytics](https://console.firebase.google.com/u/0/project/kmapro-ee779/crashlytics/app/android:com.tavultesoft.kmapro/issues/74f8209642c77218cc473098ee294ceb?time=last-seven-days&sessionId=5DEFABD703CE000144559FADAEE45C9D_DNE_0_v2)
2019-12-12 08:58:14 +07:00
Marc Durdin
c4247fe7d2 chore: update history 2019-12-08 10:01:05 +00:00