The second Android 11 Developer Preview is now available, test it out and share your feedback.


Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
December 4, 2019 - 1.0.0-rc02 - -

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 {
    implementation "androidx.sharetarget:sharetarget:1.0.0-rc02"

For more information about dependencies, see Add Build Dependencies.

Version 1.0.0

Version 1.0.0-rc01

December 4, 2019

androidx.sharetarget:sharetarget:1.0.0-rc01 is released with no changes since 1.0.0-beta02. Version 1.0.0-rc01 contains these commits.

Version 1.0.0-beta02

November 7, 2019

androidx.sharetarget:sharetarget:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.

Bug fixes

  • When converting ShortcutInfos to ChooserTargets for backwards compatibility, sort shortcuts based on the given rank.

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.