Commit graph

159 commits

Author SHA1 Message Date
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Darcy Wong
ab0556f339 fix(oem/fv/android): Only add default keyboard if no keyboards exist 2024-03-26 14:04:37 +07:00
Darcy Wong
90e8d32890
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-03-04 10:46:03 +07:00
Darcy Wong
24cd43862a refactor(oem/fv/android): Install fallback keyboard 2024-03-01 11:55:33 +07:00
Darcy Wong
fdb14f2582 chore(android): Update targetSdkVersion to 34 2024-01-16 09:26:24 +07:00
Darcy Wong
2ef0daf02a fix(android/engine): Use fallback keyboard if keyboard index undefined 2024-01-10 09:29:11 +07:00
Darcy Wong
d77df3942c fix(android): Refresh HTML banner when KeymanWeb reloads 2023-11-17 10:19:57 +07:00
Darcy Wong
4c453cc395 chore(android): Move banner.html up to assets/ folder
* They don't need to be copied into the resources folder on app load.
2023-11-16 15:24:13 +07:00
Darcy Wong
2b34c641f3
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-11-16 15:10:18 +07:00
Darcy Wong
b41f049036 chore(android): Tweak banner sizing 2023-11-16 14:47:57 +07:00
Darcy Wong
37e9bbd881 fix(oem/fv/android): Move banner asset folder 2023-11-16 13:58:41 +07:00
Darcy Wong
35a37bc033 chore(android): Additional cleanup
* Remove old assets
* Add API header
* Cleanup comments
2023-11-16 03:21:04 +07:00
Darcy Wong
d6a14a8cab fix(oem/fv/android): Tweak FV banner theme 2023-11-15 15:24:40 +07:00
Darcy Wong
c83410a128 fix(oem/fv/android): Apply teal banner theme 2023-11-15 08:32:36 +07:00
Darcy Wong
8630121828 fix(android/engine): Replace png's with svg's 2023-11-07 10:47:17 +07:00
Darcy Wong
a6b7b95603 feat(oem/fv/android): Add banner theme 2023-10-26 09:09:48 +07:00
Darcy Wong
07854ef611 chore(oem/fv/android): Update Gradle to 7.4 2023-09-19 10:35:10 +07:00
Darcy Wong
8d296568ce chore(android): Move namespace to gradle files 2023-04-25 14:39:15 +07:00
Darcy Wong
cd2d2b794b fix(android): Move cp from configure to build actions 2023-03-31 13:22:28 +07:00
Darcy Wong
3d1e2dafff fix(oem/fv/android): Use Java 11 2023-03-29 09:46:27 +07:00
Darcy Wong
ff6d5dbd44 chore(android): Update Android projects for Java 11 2023-03-29 09:46:27 +07:00
Darcy Wong
9948407ee9 chore(android): Update gradle-wrapper to 7.5.1 2023-03-29 09:46:27 +07:00
Darcy Wong
1a8d047ba1
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-13 11:13:14 +07:00
Darcy Wong
78adb337a1 refactor(android): Use builder_is_debug_build 2023-03-08 09:57:36 +07:00
Darcy Wong
55349e32cf fix(android): Have top level builder handle cleaning up upload 2023-03-03 13:21:16 +07:00
Darcy Wong
5be02f49a1 fix(oem/fv/android): Build output 2023-03-03 11:13:07 +07:00
Darcy Wong
6ab7068e0c
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-03 07:57:42 +07:00
Darcy Wong
5265058be1 refactor(android): Fix test actions 2023-03-02 11:18:56 +07:00
Darcy Wong
f70044029c fix(android): Configure path 2023-02-28 08:41:55 +07:00
Darcy Wong
576e1b1bfe refactor(oem/fv/android): Upgrade Gradle for final apk name 2023-02-27 11:46:27 +07:00
Darcy Wong
90b1bc82f2 fix(android): Include config in path to keyman-engine.aar 2023-02-27 11:42:24 +07:00
Darcy Wong
e1820013c6 fix(android): Fix output paths 2023-02-24 13:46:00 +07:00
Darcy Wong
7a1f80e70d fix(android): Update configure actions 2023-02-24 11:33:26 +07:00
Darcy Wong
da00510ca3 fix(android): Fix several scripts 2023-02-24 10:31:44 +07:00
Darcy Wong
2bb7443cc6 refactor(oem/fv/android): Update builder script 2023-02-23 16:33:30 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
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