appfunctions

  
TODO
Latest Update Stable Release Release Candidate Beta Release Alpha Release
June 4, 2025 - - - 1.0.0-alpha02

Declaring dependencies

To add a dependency on appfunctions, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

Groovy

dependencies {
    implementation "androidx.appfunctions:appfunctions:1.0.0-alpha02"
    implementation "androidx.appfunctions:appfunctions-service:1.0.0-alpha02"
    implementation "androidx.appfunctions:appfunctions-compiler:1.0.0-alpha02"
}

Kotlin

dependencies {
    implementation("androidx.appfunctions:appfunctions:1.0.0-alpha02")
    implementation("androidx.appfunctions:appfunctions-service:1.0.0-alpha02")
    implementation("androidx.appfunctions:appfunctions-compiler:1.0.0-alpha02")
}

For more information about dependencies, see Add build dependencies.

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

There are no release notes for this artifact.

Version 1.0

Version 1.0.0-alpha02

June 4, 2025

androidx.appfunctions:appfunctions:1.0.0-alpha02, androidx.appfunctions:appfunctions-compiler:1.0.0-alpha02, and androidx.appfunctions:appfunctions-service:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.

New Features

  • Support Android 16 API(s).
  • Better support for parameterized AppFunctionSerializable(s) at compile time.

API Changes

  • Introduced AppFunctionSchemaDefinition API, enabling agents to define their own predefined function schemas.

Bug Fixes

  • Error handling for missing runtime enabled state of AppFunctions.
  • Minor bugfix in observeAppFunctions API to observe changes in AppFunctionComponentMetadata.
  • Additional error logs.

Version 1.0.0-alpha01

May 7, 2025

androidx.appfunctions:appfunctions:1.0.0-alpha01, androidx.appfunctions:appfunctions-compiler:1.0.0-alpha01, and androidx.appfunctions:appfunctions-service:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

New Features

The AppFunctions Jetpack library is built on top of android.app.appfunctions platform APIs. This library simplifies exposing your app's functionality to the Assistant and allows the Assistant to interact with the app's exposed functions.

  • androidx.appfunctions:appfunctions: Core client APIs for managing (enable/disable) and interacting with (search/execute) AppFunctions.
  • androidx.appfunctions:appfunctions-service: Service-side APIs to easily expose your app's functionalities as AppFunctions.
  • androidx.appfunctions:appfunctions-compiler: Required KSP compiler to generate necessary code for exposing AppFunctions.