Commit graph

893 commits

Author SHA1 Message Date
Darcy Wong
69bbc73971 feat(android): Additional Sentry integration
Revert intentional crash from #2778

Now that the call stack in Sentry is tested on Release build
http://sentry.keyman.com/organizations/keyman/issues/61/?project=7

The temporary menu to generate the intentional crash can be removed.

Also disable monitoring Application Not Responding (ANR)
2020-03-11 14:00:27 +07:00
Darcy Wong
61dabf63a5
Merge pull request #2778 from keymanapp/feat/android/sentry
feat(android): Start of Sentry-based crash reporting
2020-03-10 10:06:31 +07:00
Darcy Wong
e4aa24569d feat(android): Move intentional crash to temp menu 2020-03-10 09:55:17 +07:00
Darcy Wong
524c2d4981 feat(android): Update additional main app strings for crowdin 2020-03-09 13:17:58 +07:00
Darcy Wong
3e90edaa52 test(android): Change shouldUpdateTrueCallTest to span 2 days 2020-03-09 11:33:15 +07:00
Darcy Wong
19bab80487 fix(android): Adjust CI test result location 2020-03-09 10:06:39 +07:00
Darcy Wong
059dac554c fix(android): Add quotes to BUILD_FLAGS 2020-03-09 07:50:12 +07:00
Darcy Wong
44c25b3d6c feat(android): Don't send Sentry event for addKeyboard 2020-03-06 14:29:37 +07:00
Darcy Wong
7d635ac14e test(android): Add temporary code to force crash
This is temporary code for inducing crashes for testing Sentry with the nightly alpha build.
2020-03-06 09:12:15 +07:00
Darcy Wong
6e29aca0de feat(android): Have SystemKeyboard re-init Sentry as needed 2020-03-06 09:02:40 +07:00
Darcy Wong
19a2aea9ad fix(android): Fix build.sh to run unit tests 2020-03-06 06:15:17 +07:00
Darcy Wong
70b60bb852 feat(android): more cleanup and update FV app 2020-03-05 16:55:23 +07:00
Darcy Wong
594306032c chore(android): Cleanup commented code 2020-03-05 16:23:38 +07:00
Darcy Wong
5a7b603698 feat(android): Cleanup unnecessary parts for symbols 2020-03-05 16:15:50 +07:00
Darcy Wong
b241f0b0fe feat(android): Add an event in SystemKeyboard
Also fix debug variant of KMEA
2020-03-05 14:22:54 +07:00
Darcy Wong
36bee5838d Merge remote-tracking branch 'origin/master' into feat/android/sentry 2020-03-05 11:04:39 +07:00
Darcy Wong
863eb261c1 feat(android): Continue to try to include debug symbols 2020-03-05 11:03:53 +07:00
Darcy Wong
b3da5759ff fix(android): Fix analytic for adding keyboard 2020-03-04 13:40:14 +07:00
Darcy Wong
73ed039ed2 change(android): Revert KeyboardSettingsActivity text
Revert qrDescription
2020-03-04 11:15:54 +07:00
Darcy Wong
c774969746 Merge branch 'master' into feat/android/cleanup-strings 2020-03-04 10:55:45 +07:00
Darcy Wong
078af940c5 change(android): Move isCustom to FileUtils.isCustomKeyboard() 2020-03-04 10:25:24 +07:00
Darcy Wong
05869c3008 change(android): Replace fabric with sentry in other apps 2020-03-02 22:08:13 +07:00
Darcy Wong
ce21a88b5c feat(android): Add breadcrumb for keyboard analytics 2020-03-02 21:19:37 +07:00
Darcy Wong
96fc9d7262 feat(android): Add Sentry to KMEA 2020-03-02 16:25:19 +07:00
Darcy Wong
cfc85771a5 feat(android): Address review comments 2020-03-02 13:35:35 +07:00
Darcy Wong
b93923ee53 modification(android): Remove firebase references 2020-02-28 17:07:40 +07:00
Darcy Wong
e49583e088 feat(android): Start adding Sentry SDK 2020-02-28 16:24:48 +07:00
Darcy Wong
0981d726d7 chore(android): Revert <br> formatting 2020-02-28 07:56:58 +07:00
Darcy Wong
11a69f5506 chore(android): Cleanup KMAPro strings 2020-02-27 19:55:09 +07:00
Darcy Wong
9bb6806b14 chore(android): Cleanup KMEA strings
Clean up strings per
https://support.crowdin.com/file-formats/android-xml/#custom-attributes and
https://developer.android.com/guide/topics/resources/string-resource#Plurals
2020-02-27 19:11:32 +07:00
Darcy Wong
255d4c7921 chore(android): remove commented code 2020-02-26 13:15:11 +07:00
Darcy Wong
8964f2d0f7 feat(android): Handle keyman protocol for downloading kmp 2020-02-26 13:05:57 +07:00
Darcy Wong
ab9488d7e8 chore(android): remove debug statement 2020-02-24 16:19:44 +07:00
Darcy Wong
1e2c3f3258 fix(android): Add null check for kbdMapList 2020-02-24 12:16:34 +07:00
Darcy Wong
e06c29b63c fix(android): Sanitize app version string for api query
Follow-on to #2319

For 14.0 alpha, the app version needs to be sanitized to #.#.# when downloading a keyboard.

This refactors the regex to KMManager.getVersion()
2020-02-23 21:42:11 +07:00
Darcy
daf2122ef1 fix(linux): Fix builds for Sample and Test apps
* Fix version path for KMSample1
* Add executable bit for KeyboardHarness build.sh
2020-02-18 08:48:35 +07:00
Marc Durdin
255e4f4b7a chore: Merge branch 'master' into chore/beta-to-master-p9s2-1 2020-02-17 10:11:15 +11:00
Darcy Wong
fe0fc9fd28 chore(android): update history.md 2020-02-14 15:52:20 +07:00
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