Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.


Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
September 5, 2019 - - 1.0.0-beta01 -

Declaring dependencies

To add a dependency on ShareTarget, 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:

dependencies {
    def sharetarget_version = "1.0.0-beta01"

    implementation "androidx.sharetarget:sharetarget:$sharetarget_version"

For more information about dependencies, see Add Build Dependencies.

Version 1.0.0

Version 1.0.0-beta01

September 5, 2019

androidx.sharetarget:sharetarget:1.0.0-beta01 is released with no changes since 1.0.0-alpha02. The commits included in this version can be found here.

Version 1.0.0-alpha02

June 5, 2019

androidx.sharetarget:sharetarget:1.0.0-alpha02 is released. The commits included in this version can be found here.

Bug fixes

  • Read the shortcuts resource name from manifest instead of hardcoded name (b/130500127)

Version 1.0.0-alpha01

March 13, 2019

androidx.sharetarget:sharetarget:1.0.0-alpha01 is released.

This module provides backwards compatibility for publishing direct share targets on pre-Q Android versions. None of the APIs in this module are meant to be used directly by the app, but when imported as a dependency, will add extra background functionality to ShortcutManagerCompat in the androidx.core module.

The full list of commits included in this initial release can be found here.

Please file bugs and feature requests under the ShareTarger Issue Tracker.

New features

  • This is the first release of this module.