Commit graph

121 commits

Author SHA1 Message Date
Darcy Wong
e722fa6ad5 Merge branch 'master' into refactor/android/engine-package 2023-02-01 14:17:43 +07:00
Marc Durdin
c045bf5bf4
fix(android): use getApplicationContext() instead of context
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2023-01-24 18:49:46 +11:00
Marc Durdin
0061c7cd5a chore(android): add sentry tags for FV app 2023-01-24 11:48:24 +07:00
Darcy Wong
988bea8e93 chore(android): Merge remote-tracking branch 'origin/master' into refactor/android/engine-package 2023-01-24 09:14:57 +07:00
Marc Durdin
067028cec2 chore: revise tag variable name to VERSION_GIT_TAG
Introduce new $VERSION_GIT_TAG environment variable, and update all
references to release@version in all projects to use the new variable.
2023-01-21 17:02:50 +07:00
Marc Durdin
34ece2182d fix(common): update sentry release identifiers to support semver
Fixes #7895.

This should mean that Sentry reports start to track semantic versions. I
have reviewed each project and I _think_ I've captured all the locations
where we need to construct release identifiers. Note that one of them
was fixed from a plain version number.

Docs on release format: https://docs.sentry.io/platforms/node/guides/serverless-cloud/configuration/releases/#bind-the-version
2023-01-17 17:04:24 +07:00
Darcy Wong
11c8f6289f chore(oem/fv/android): Update namespace for FV Android 2023-01-06 09:18:49 +07:00
Marc Durdin
d9eae3869d
Merge branch 'master' into chore/a17s2-beta-to-master 2022-12-23 08:44:42 +11:00
Marc Durdin
be7fb6c2bd
Merge pull request #7909 from keymanapp/fix/fv/view-permission
fix(oem/fv/android): Add view permission of online help
2022-12-22 07:30:57 +11:00
Darcy Wong
c9e0bf2df4 fix(oem/fv/android): Prefix the string with fv_ 2022-12-21 16:53:57 +07:00
Darcy Wong
5772d443d3 fix(oem/fv/android): Fix keyboard version title (again) 2022-12-21 15:51:54 +07:00
Darcy Wong
58899cd6b2 fix(oem/fv/android): Add view permission of online help 2022-12-15 15:04:25 +07:00
Darcy Wong
65e9e00b3a fix(oem/fv/android): Cleanup version title 2022-12-15 15:03:11 +07:00
Darcy Wong
6771bd55f0 chore(android): Additional cleanup 2022-12-15 09:09:43 +07:00
Darcy Wong
2a0368bc54 chore(android): Update Gradle dependencies 2022-12-13 11:26:35 +07:00
Darcy Wong
4e71d27606 chore(android): Update Target SDK Version to 31 2022-11-18 14:50:26 +07:00
Darcy Wong
6a8865d0b6 chore(android): Update Target SDK Version to 31 2022-11-18 08:48:58 +07:00
Marc Durdin
6644697eec
Merge pull request #7001 from keymanapp/fix/android/6899-verify-browser-for-links
fix(android): verify browser before starting activity
2022-08-23 17:07:51 -05:00
Marc Durdin
f90eaee6dd fix(android): add toast when browser fails to open 2022-08-23 07:41:56 +10:00
Marc Durdin
127fb3b4e0 chore(android): fixup getPackageManager ref 2022-07-27 15:59:50 +10:00
Marc Durdin
bdb7b5e45a fix(android): verify browser before starting activity
Fixes #6899.
2022-07-27 15:16:02 +10:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Darcy Wong
3e2217d905 fix(oem/fv/android): Check current keyboard before registering model 2022-05-13 09:10:43 +07:00
Darcy Wong
8aadea6086 fix(oem/fv/android): Refresh menu on install 2022-03-14 08:43:10 +07:00
Darcy Wong
2b7d10718b fix(oem/fv/android): Refresh Settings menu 2022-03-14 06:56:55 +07:00
Darcy Wong
e138ca382e fix(oem/fv/android): Toggle predictions when dictionary installed 2022-03-14 06:56:55 +07:00
Darcy Wong
738b3cc08a fix(oem/fv/android): Fold model picker into Keyboard settings menu 2022-03-14 06:56:55 +07:00
Darcy Wong
1e6b4bce31 fix(oem/fv/android): Check keyboard exists before registering a model 2022-03-09 10:05:21 +07:00
Darcy Wong
04297aa47c
Update oem/firstvoices/android/app/src/main/java/com/firstvoices/android/FVKmpInstallMode.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-03-03 11:27:07 +07:00
Darcy Wong
3524e6c918 fix(oem/fv/android): Use BCP47 util to check language ID 2022-03-02 12:30:51 +07:00
Darcy Wong
f3c317566e fix(oem/fv/android): Make FVShared a Singleton pattern 2022-03-02 12:30:51 +07:00
Darcy Wong
d4225fa841 fix(oem/fv/android): Check prediction toggle on start of input
Copied SystemKeyboard from #2255
2022-03-02 12:30:51 +07:00
Darcy Wong
f6395e463f chore(oem/fv/android): Cleanup unused imports 2022-03-02 12:30:51 +07:00
Darcy Wong
d85af16858 feat(oem/fv/android): Add keyboard and dictionary controls 2022-03-02 12:30:51 +07:00
Darcy Wong
8c9014ced9 chore(android): Upgrade gradle-wrapper version to 6.8 2022-02-09 08:59:56 +07:00
Darcy Wong
ce1e672f10 chore(android): Update Play publishing plugin to 3.5.0 2022-02-08 08:49:37 +07:00
Darcy Wong
3dcb2ea268 chore(android): Specify build tools version on other projects
While Android Studio Gradle plugin should automatically use a default version of build tools, we can specify it:
https://developer.android.com/studio/releases/build-tools

Attempting to resolve lint exceptions on the build agent.
2021-11-29 10:57:54 +07:00
Marc Durdin
024a36da9f
Merge pull request #5787 from keymanapp/chore/sentry-io
chore: sentry.io dsn 👮‍♂️
2021-10-06 07:32:43 +11:00
Marc Durdin
3219b44624 chore: sentry.io dsn 2021-10-04 15:01:36 +11:00
Darcy Wong
a69c802a1e fix(android/engine): Remove ACCESS_NETWORK_STATE permission 2021-09-28 13:33:12 +07:00
Darcy Wong
d744c62c93 fix(android/engine): Remove unnecessary permissions from Manifest 2021-09-27 14:59:21 +07:00
Darcy Wong
95b3274d7e fix(oem/fv/android): Update sentry-android-gradle-plugin 2021-08-04 10:38:42 +07:00
Marc Durdin
a3ec34a3ce feat(android): Spacebar text controls
Relates to #949.

* Adds setSpacebarText() API to Keyman Engine for Android
* Adds displayName API to Keyman Engine for Android
* Adds Preference for spacebar text to Keyman for Android
* Sets default spacebar text to keyboard name for FirstVoices Keyboards
2021-06-24 10:58:26 +10:00
Marc Durdin
26aafc6afb fix(android): rotation fix for samples and FV Keyboards 2021-06-10 10:47:50 +10:00
Marc Durdin
c244eded35
Merge pull request #5175 from keymanapp/fix/common/build-script-help-param
fix(common): build script help param
2021-05-31 11:08:36 +10:00
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
Darcy Wong
5eaa5314ff fix(oem/fv/android): Also check key files for FV app 2021-05-26 15:18:38 +07:00
Darcy Wong
4e8fb193a0 chore(oem/fv/android): Update dependencies 2021-05-21 11:12:46 +07:00
Darcy Wong
4423ddccde fix(oem/fv/android): Migrate keyboard list from 12.0 to 14.0 2021-04-22 09:25:02 +07:00
Darcy Wong
51c6ac1658 fix(android/engine): Add divider styling 2021-03-16 20:22:07 +07:00