Skip to content

Conversation

@joe-p
Copy link
Collaborator

@joe-p joe-p commented Jun 24, 2025

Closes #289
Closes #291

See the README in packages/android/algokit_transact for build and test steps.

Note that this PR is specifically targeted towards android and building an AAR. In the future we eventually should publish a multi-platform package for algokit_transact on maven central.

Will need #292 to merge first

@joe-p joe-p marked this pull request as ready for review November 13, 2025 15:42
@joe-p joe-p requested a review from lempira as a code owner November 13, 2025 15:42
Copilot AI review requested due to automatic review settings November 13, 2025 15:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces preliminary Kotlin/Android support for algokit_transact by adding build infrastructure and test coverage. The changes include a new Kotlin build module, updates to existing Swift FFI bindings to reflect API changes, and refactoring of error message field names from message to error_msg across the Rust codebase.

  • New Kotlin build support with Android-specific configurations
  • Refactored error handling field naming for consistency
  • Updated Swift package tests to align with API changes

Reviewed Changes

Copilot reviewed 45 out of 59 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/build_pkgs/src/kotlin.rs New build script for Kotlin/Android packages with multi-target compilation
tools/build_pkgs/src/main.rs Added Kotlin language variant and integrated kotlin build module
tools/build_pkgs/src/python.rs Updated to use new dylib(None) signature
packages/android/algokit_transact/* New Gradle-based Android library with unit and instrumented tests
crates/algokit_transact_ffi/src/lib.rs Renamed error field from message to error_msg
crates/algokit_transact/src/error.rs Renamed error message field for consistency
packages/swift/AlgoKitTransact/* Updated tests and FFI headers to reflect API changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@joe-p joe-p changed the title build(kotlin): preliminary kotlin support for algokit_transact build(kotlin): preliminary Android support for algokit_transact Nov 13, 2025
@joe-p joe-p changed the title build(kotlin): preliminary Android support for algokit_transact build(android): preliminary Android support for algokit_transact Nov 13, 2025
@joe-p joe-p marked this pull request as draft November 13, 2025 21:19
@joe-p joe-p marked this pull request as ready for review November 14, 2025 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Android CI Add Android to build script

2 participants