Darcy Wong
73ca23bf45
Merge pull request #11436 from keymanapp/fix/android/deprecated-get-size
...
fix(android): Replace deprecated APIs for Display, Size, Metrics
2024-05-17 11:22:48 +07:00
Darcy Wong
072aa7d21f
chore(android): update Gradle wrapper version
2024-05-14 13:55:52 +07:00
Darcy Wong
205c8c2d63
fix(android): Replace deprecated APIs for Display, Size, Metrics
2024-05-14 09:17:20 +07:00
Darcy Wong
dd20ae30d0
chore(android/samples): Update dependencies
2024-05-08 07:58:58 +07:00
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
fdb14f2582
chore(android): Update targetSdkVersion to 34
2024-01-16 09:26:24 +07:00
Darcy Wong
89fde7a447
fix(android/samples): Cleanup Sample/Tests apk's
2023-06-16 07:39:41 -05: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
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
30859f8d2c
chore(android/samples): Add todo comments for builder tests
2023-03-16 09:27:59 +07:00
Darcy Wong
3d57f17c83
fix(android/samples): Define empty builder test steps
2023-03-16 09:20:31 +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
6ab7068e0c
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-03 07:57:42 +07:00
Darcy Wong
f70044029c
fix(android): Configure path
2023-02-28 08:41:55 +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
132e7f6f86
chore(android/samples): Tidy up Sample builder scripts
2023-02-23 13:56:58 +07:00
Darcy Wong
0555028892
refactor(android/samples): Update KMSample builder scripts
2023-02-23 11:43:10 +07:00
Darcy Wong
cf2c402462
chore(android): Merge remote-tracking branch 'origin/master' into refactor/android/builder-script
2023-02-03 13:13:24 +07:00
Darcy Wong
a11164c57b
chore(android): Merge branch 'master' into refactor/android/builder-script
2023-01-12 15:17:36 +07:00
Darcy Wong
92c982723c
chore(android/samples): Update namespace for Sample apps
2023-01-06 09:04:12 +07:00
Darcy Wong
ad3fd833e3
chore(android): Merge remote-tracking branch 'origin/master' into refactor/android/builder-script
2022-12-15 16:06:00 +07:00
Darcy Wong
a4ff79037e
chore(android/samples): Remove Sentry dependencies
2022-12-14 07:03:16 +07:00
Darcy Wong
2a0368bc54
chore(android): Update Gradle dependencies
2022-12-13 11:26:35 +07:00
Darcy Wong
6a8865d0b6
chore(android): Update Target SDK Version to 31
2022-11-18 08:48:58 +07:00
Darcy Wong
e7e8dc6908
chore(android/samples): Update builder scripts
2022-10-20 11:05:45 +07:00
Darcy Wong
f21ffde0fc
fix(android/engine): Add language name when installing lexical-model
2022-09-22 14:28:54 +07:00
Darcy Wong
8c9014ced9
chore(android): Upgrade gradle-wrapper version to 6.8
2022-02-09 08:59:56 +07:00
Darcy Wong
e0ef491cdd
Update android/Samples/KMSample2/build.sh
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-06 06:59:45 +07:00
Darcy Wong
97c2a61870
chore(android): Add no-daemon flag to build script
2022-01-05 14:59:31 +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
Darcy Wong
973a2d3f86
chore(android): Remove runConfigurations.xml files
2021-08-09 17:17:26 +07:00
Darcy Wong
92c5e5d884
chore(android): Update sentry-android-gradle-plugin
2021-08-04 11:10:35 +07:00
Marc Durdin
26aafc6afb
fix(android): rotation fix for samples and FV Keyboards
2021-06-10 10:47:50 +10:00
Darcy Wong
6db8cea05b
chore(android/samples): Update dependencies for Sample projects
...
Also update targetSDKVersion to 30
2021-05-21 10:54:30 +07:00
Darcy Wong
3465e99271
chore(android/samples): Remove old sample keyboard loaded code
2021-01-22 09:40:38 +07:00
Darcy Wong
d8fbec7cd1
fix(android/samples): Add dependency on androidx.preference
2021-01-21 15:44:56 +07:00
Darcy Wong
56da04597f
Merge pull request #4267 from keymanapp/fix/android/sample-sentry-dependencies
...
fix(android/samples): Fix Sentry dependencies
2021-01-19 09:05:36 +07:00
Darcy Wong
7e740b765c
fix(android/samples): Fix Sentry dependencies
2021-01-15 13:20:27 +07:00
Marc Durdin
4bd2fba43f
fix(android): add missing imports
2021-01-15 06:18:49 +11: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
c55ce15a9e
fix(android): Remove use of version.gradle in Sample projects
...
Fixes #3896
2020-11-19 13:16:04 +07:00
Darcy Wong
9ef2cec502
chore(android): Update dependencies
2020-10-22 10:51:34 +07:00
Darcy Wong
5369d85d86
test(android): Update Sample and Test Projects to use Keyboard syntax
...
Also rebuild keyboardharness.kmp to set version for chirality.js
2020-06-05 11:03:49 +07:00