Commit Graph

14 Commits

Author SHA1 Message Date
inkeliz 2e72e8f0b2 gogio: [android] bump target sdk version
Match the "Target SDK" with the mininum required
by Google Play.

Signed-off-by: inkeliz <inkeliz@inkeliz.com>
2026-02-28 01:10:27 +00:00
CoyAce e5b1a4e6cd gogio: [android] add CXX environment variable for cgo cross-compilation
Adds the CXX environment variable when building Android shared libraries
to ensure proper C++ compiler selection for cgo-enabled packages.

Signed-off-by: CoyAce <AkeyCoy@gmail.com>
2026-01-26 16:24:59 +01:00
inkeliz 8de547d61d gogio: [Android] add support for querying apps
Previously, it was impossible to identify if a specific app
was installed on the user device. It was also impossible to
launch a external app from Gio using Intent.

Now, you can use `-queries` with a comma separed package names,
like `com.another.app`. That allows you to launch Intent to
`com.another.app`.

Signed-off-by: inkeliz <inkeliz@inkeliz.com>
2025-12-16 21:53:56 +01:00
inkeliz ae8a780af9 gogio: add deeplink support
Add a new flag "-schemes" which links the URL schemes to the app.

Signed-off-by: inkeliz <inkeliz@inkeliz.com>
2025-12-15 22:25:08 +01:00
inkeliz aecb4723c9 gogio: [Android] support 16kB page sizes, required for Android 15+
Previously, Gio crashes on 16KB page-size enable version of
Android 15. Also, Google Play will require 16KB compatible
apps by November 2025.

This patch changes the page-size of C/CGO to 64KB, which is
compatible with 4KB, 16KB and 64KB. That is also the same
value used by Golang Compiler itself.

Signed-off-by: inkeliz <inkeliz@inkeliz.com>
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2025-05-27 10:26:34 +02:00
Elias Naur 3f0ad89ca9 gogio: use ANDROID_HOME instead of the deprecated ANDROID_SDK_ROOT
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2025-05-24 11:20:00 +02:00
Admin ae8dd5433d all: cleanup code and upgrade to modern Go facilities
Signed-off-by: ddkwork
2025-05-05 19:53:28 +02:00
zhengrui 6465f30f98 gogio: [Android] add -targetsdk flag to specify the target SDK level
Fixes: https://todo.sr.ht/~eliasnaur/gio/582
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2024-06-07 11:36:00 +02:00
Elias Naur aa41850405 gogio: support explicit version codes through a fourth version field
As suggested in review, explicitly specifying the version code with
-version major.minor.patch.versioncode provides more flexibility than
the a version code implied from the major, minor, patch fields.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2024-01-28 11:51:06 -05:00
Elias Naur 7a117566ca gogio: replace deprecated calls
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2024-01-28 11:51:06 -05:00
Elias Naur cb72b91a92 gogio: change -version parameter to accept semver versions
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2024-01-15 11:41:30 -05:00
Masala abc34cf117 gogio: add -tags to 'go list' command
Signed-off-by: Masala <masala@riseup.net>
2023-10-01 08:50:17 -05:00
gedw99 0a86898b41 gogio: update keytool path for newer JDK
Signed-off-by: gedw99 <gedw99@gmail.com>
2023-05-02 12:20:08 -06:00
Elias Naur 6826ef0b64 all: initial import from gio main repository
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2022-04-24 13:46:53 +02:00