Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

Play Core Library release notes

This page explains what's in the recent updates to the Play Core library.

1.8.2 (September 2020)

Bug fixes

  • Fixed UI flickering in the In-App Review API.
  • Minor bug fixes for other APIs.

1.8.1 (August 2020)

com.google.android.play:core-ktx bugfix release only.

Bug fixes

  • Fixes an issue where including the Play Core KTX library adds unnecessary permissions to the app project.

1.8.0 (July 2020)

New features

Behavior changes

  • Asset Delivery, In-App Update, and Split Install API now return a specific APP_NOT_OWNED error if the user hasn't acquired the app via Play. This error used to be surfaced as API_NOT_AVAILABLE: the latter is still used for other cases when the API is not available (such as when the device is not supported).
  • Bugfixes in Play Asset Delivery that improve the stability and performance of app updates with asset packs.
  • Play Core KTX no longer incorrectly exposes the ExperimentalCoroutinesApi annotation on its extension functions.

Known issues

  • The Play Core KTX artifact (com.google.android.play:core-ktx) incorrectly specifies its minSdkVersion, resulting in unnecessary permissions being added to the app project. Please use the 1.8.1 bugfix release of the KTX library.

1.7.3 (May 2020)

New features

Behavior changes

1.7.2 (March 2020)

Behavior changes

  • Fixed a path traversal security vulnerability in Split Install API (CVE-2020-8913) and other general bugfixes. If you are using a lower version, please update to this version.

1.7.1 (March 2020)

New features

Behavior changes

  • Fixed a permission bug in the Asset Delivery API. If you are using 1.7.0, please update to this version.

1.7.0 (March 2020)

New features

  • Adds support for Dynamic Asset Delivery.
  • Kotlin extensions:
    • New Dynamic Asset Delivery extension.
    • Added support for new signals (update priority, app staleness, download progress) in the In-App Updates extension.

1.6.5 (February 2020)

New features

  • Adds new features to In-App Updates API:
    • Check staleness of the installed version of your app.
    • Monitor download progress.
    • Retrieve in-app update priority, as as defined by you in the Google Play Developer API.
  • Better local testing of the module install flow using the FakeSplitInstallManager:
    • Automatically instantiate the fake implementation of SplitInstallManager from SplitInstallManagerFactory if the App Bundle was built in local testing mode.
    • Improvements to more realistically match the actual implementation.
  • You can now initiate SplitInstallManager confirmation flows from fragments (in addition to activities).

Behavior changes

  • Improved dynamic feature module installation performance, especially for Android L.
  • Kotlin extensions: The Flow returned by SplitInstallManager.requestProgressFlow now uses Channel.UNLIMITED instead of Channel.BUFFERED.

1.6.4 (October 2019)

New features

  • Adds FakeSplitInstallManager, which you can use for testing dynamic feature module install in integration tests, without connectivity.
  • Javadoc and IntDef annotations are now exported in the maven repository, providing Android Studio completion, etc.
  • Kotlin extensions now available in alpha. Add com.google.android.play:core-ktx:1.6.4 as a module dependency and include import com.google.android.play.core.ktx.* in your code.
  • You can now initiate in-app update flows from fragments (in addition to activities).

1.6.3 (September 2019)

This release includes general bugfixes.

1.6.2 (September 2019)

New features

  • Adds a new API SplitCompat.installActivity for installing SplitCompat on activities. This has better performance than calling full SplitCompat.install on the activity.

Behavior changes

  • Native code fix for loading certain libraries on certain devices
  • More robust recovery from interrupted SplitCompat
  • More useful information in the string representation of exceptions
  • Other general bugfixes and updated JavaDocs

1.6.1 (July 2019)

This release includes general bugfixes.

1.6.0 (May 2019)

New features

  • New Sideloading crash prevention API, which allows you to detect incomplete installation of apps that are built using an Android App Bundle. To learn more, read Verify non-Google Play app installs.

1.5.0 (April 2019)

New features

  • New In-App Update API, which allows you to request users to trigger an update directly from the app. To learn more, read Support in-app updates.

1.4.1 (April 2019)

Behavior changes

  • Fixes multi-process race condition in SplitCompat
  • Better background thread management

1.4.0 (February 2019)

New features

1.3.7 (February 2019)

New features

  • Adds explicit error codes for SplitCompat failure scenarios
  • Adds the startIntentSenderForResult() method to start the confirmation dialog. Using the PendingIntent directly has been deprecated. To learn more, read Obtain user confirmation

Behavior changes

  • Fixes race conditions in SplitCompat that, in rare occasions, lead to errors
  • Fixes bug in SplitCompat where, in the rare case that the app had no configuration splits, modules were not reported as installed

1.3.6 (November 2018)

New features

  • New INSUFFICIENT_STORAGE error when installs cannot complete due to lack of disk space

Behavior changes

  • A module is now reported as installed only if its master split is installed (previously any split would suffice)
  • Mixed case class names are no longer used, which sometimes caused issues when building on Windows