Commit graph

103 commits

Author SHA1 Message Date
Darcy Wong
eeefd6bdc0 fix(android): Remove flatDir from Gradle file 2025-08-22 08:56:44 +07:00
Darcy Wong
ca3c19441b fix(android): Update sentry-android to 8.19.1 2025-08-20 07:29:31 +07:00
Darcy Wong
7e5e117901
Merge pull request #14396 from keymanapp/fix/android/constraint-layout
fix(android): Convert Keyman app layout to use ConstraintLayout for handling edge-to-edge 🪟
2025-08-18 14:11:51 +07:00
Darcy Wong
5e62747cf1
Merge branch 'master' into main/android/taregt-api-35 2025-08-12 15:36:25 +07:00
Darcy Wong
3ceccfc054 chore(android): Specify Java language version 21
Resolves Gradle deprecation and language version warnings
```gradle
Java compiler version 21 has deprecated support for compiling with source/target version 8.
```

The `java.toolchain.languageVersion` syntax is a superset that covers the previous syntax `android.compileOptions`
2025-08-11 11:44:51 +07:00
Darcy Wong
f6120747ad chore(android): Remove unused constraintlayout-compose dependency 2025-07-31 07:09:35 +07:00
Darcy Wong
85986dd6d8 fix(android): Convert to ConstraintLayout and apply insets
Using Android Studio's tool to convert the top level RelativeLayout to ConstraintLayout. This way, the edge-to-edge doesn't cover up the top and bottom portions of the app.

Also apply insets so app and keyboard fit in usable areas.
2025-07-30 14:12:03 +07:00
Darcy Wong
02fc68790b fix(android): Fix targetSdkVersion for the app 2025-07-24 14:39:12 +07:00
Darcy Wong
ed7c0caf9d maint(android): Update Android Target API to 35 2025-07-24 08:04:50 +07:00
Darcy Wong
eedfcf2f0e chore: Merge remote-tracking branch 'origin/master' 2025-05-13 07:05:25 +07:00
Darcy Wong
5f0cd83d05 maint(android): Update Gradle to use Java 21 2025-05-08 12:57:17 +07:00
Eberhard Beilharz
4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
Darcy Wong
77b5cff622 fix(android): Correct the scope of tier in build.gradle 2025-02-18 09:12:59 +07:00
Darcy Wong
51d9aead77 fix(android): Fix gradle syntax 2025-02-17 07:18:52 +07:00
Darcy Wong
81a47ddb14 fix(android): Use TIER.md to determine Play Store tier 2025-02-17 07:05:37 +07:00
Darcy Wong
d99d4d80ff fix(android): Separate publishSentry Gradle task to publish symbols 2024-09-04 10:36:09 +07:00
Darcy Wong
733bc29bf1
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-08-27 09:52:48 +07:00
Darcy Wong
fed6582f62 fix(android): Check in material-stepper as internal dependency
Follows this guide on [setting up a local maven respository](https://brightinventions.pl/blog/migrating-away-from-bintray-jcenter-when-there-is-no-alternative-repository/#setting-up-a-local-maven-repository) now that jcenter is deprecated.
2024-08-23 08:32:40 +07:00
Darcy Wong
8bc0726f32 chore(android/app): Update dependencies 2024-05-08 07:53:58 +07:00
Darcy Wong
fdb14f2582 chore(android): Update targetSdkVersion to 34 2024-01-16 09:26:24 +07:00
Darcy Wong
4166f6880e chore(android): Update QRGen version for Java 11 2023-04-26 11:33:27 +07:00
Darcy Wong
8d296568ce chore(android): Move namespace to gradle files 2023-04-25 14:39:15 +07:00
Darcy Wong
ea1779081b fix(android/app): Update triplet.play version 2023-03-30 09:07:09 +07:00
Darcy Wong
ff6d5dbd44 chore(android): Update Android projects for Java 11 2023-03-29 09:46:27 +07:00
Darcy Wong
c11352b4fa chore(android/engine): Update to Java 11 2023-03-29 09:46:27 +07:00
Darcy Wong
d2030767c7 refactor(android/app): Update Gradle for final apk name 2023-02-27 11:46:05 +07:00
Marc Durdin
fc4eb2b2c8 chore: address review comments 2023-01-23 14:13:38 +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
2e553c7887 chore(android/app): Remove debugging info on build.gradle 2022-11-12 10:37:32 +07:00
Darcy Wong
6c14d6cccf
Update android/KMAPro/kMAPro/build.gradle
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-12 06:52:51 +07:00
Darcy Wong
5ad8af10fe fix(android/app): One more startsWith teak 2022-11-11 14:44:19 +07:00
Darcy Wong
ab02676a4f fix(android/app): Use regex on PR name 2022-11-11 14:30:33 +07:00
Darcy Wong
ea45ab7177 fix(android/app): Update use of tag and environment 2022-11-11 13:40:25 +07:00
Darcy Wong
49a6d7fde3 fix(android/app): Tweak regex 2022-11-10 16:56:43 +07:00
Darcy Wong
8824678567 fix(android/app): Avoid calling build-utils again 2022-11-10 16:14:04 +07:00
Darcy Wong
a0f546471f chore(android/app): Revert version.gradle
Keep build-utils code to just KMAPro so it doesn't affect FV Android
2022-11-10 15:27:29 +07:00
Darcy Wong
52d45de605 fix(android/app): Use build-utils to populate build info 2022-11-10 14:45:03 +07:00
Darcy Wong
9645a6c11c fix(android/app): Add tier to version.gradle 2022-11-10 11:23:31 +07:00
Darcy Wong
b53f19dc58 fix(android/app): Append tier to app name 2022-11-10 10:22:17 +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
92c5e5d884 chore(android): Update sentry-android-gradle-plugin 2021-08-04 11:10:35 +07:00
Marc Durdin
cc6580779b chore(android): address review comments 2021-06-08 19:52:42 +10:00
Marc Durdin
d0edd5175f feat(android): Automatically install keyboard through Play Store
Resolves #5219.

Uses the Google Play Install Referrer API to automatically discover the
keyboard to install together with Keyman; this keyboard is passed in a
`referrer` parameter to the Play Store page for the Keyman app from the
Keyman website.
2021-06-07 07:20:22 +10:00
Darcy Wong
26ddeffc20 fix(android/app): Add another file check 2021-05-26 14:52:00 +07:00
Darcy Wong
e2d9aed236 fix(android/app): Check if key store files exist 2021-05-26 14:34:53 +07:00
Darcy Wong
db17557ad3 chore(android): Update targetSDKVersion to 30
To comply with upcoming Play Store requirement, this updates targetSDKVersion to 30.

* Also sets appropriate webView permissions to access local file (except for WebBrowserActivity, the in-app browser).
2021-05-21 08:28:43 +07:00
Darcy Wong
1f5b059033 fix(android/app): Attempt to fix resolutionStrategy 2021-05-20 05:18:36 +07:00
Darcy Wong
48c7668b2a fix(android/app): Update Play syntax 2021-05-19 20:38:09 +07:00
Darcy Wong
74e9488b0f fix(android/app): Update gradle-play-publisher compatible with AGP 4.2 2021-05-19 20:08:03 +07:00