Startup

Implement a straightforward, performant way to initialize components at app startup.
Latest Update Stable Release Release Candidate Beta Release Alpha Release
September 18, 2024 1.2.0 - - -

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.

Version 1.2

Version 1.2.0

September 18, 2024

androidx.startup:startup-runtime:1.2.0 is released. Version 1.2.0 contains these commits.

Important changes since 1.1.0

  • Fixes metadata lookup when the InitializationProvider is defined for secondary processes. (Id9ff1)
  • Fixed a bug in AppInitializer.isEagerlyInitialized(). (I99e9a)

Version 1.2.0-rc01

September 4, 2024

androidx.startup:startup-runtime:1.2.0-rc01 is released with no changes from the last beta release. Version 1.2.0-rc01 contains these commits.

Version 1.2.0-beta01

August 21, 2024

androidx.startup:startup-runtime:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.

New Features

  • Added explicit ProfileInstaller dependency to support baseline profile installation fallback when profiles not installed by play.

Version 1.2.0-alpha02

January 11, 2023

androidx.startup:startup-runtime:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.

Bug Fixes

  • Fixes metadata lookup when the InitializationProvider is defined for secondary processes. (aosp/2012215)

Version 1.2.0-alpha01

February 9, 2022

androidx.startup:startup-runtime:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.

Bug Fixes

  • Fixed a bug in AppInitializer.isEagerlyInitialized(). aosp/1855769

Version 1.1.1

Version 1.1.1

February 9, 2022

androidx.startup:startup-runtime:1.1.1 is released. Version 1.1.1 contains these commits.

Bug Fixes

  • Fixed a bug in AppInitializer.isEagerlyInitialized(). aosp/1855769

Version 1.1.0

Version 1.1.0

August 4, 2021

androidx.startup:startup-runtime:1.1.0 is released. Version 1.1.0 contains these commits.

This release is identical to androidx.startup:startup-runtime:1.1.0-rc01.

Important changes since 1.0.0

  • Multiple InitializationProvider <provider> elements can now be added to the application’s AndroidManifest.xml for libraries or applications that require automatic initialization in multiple processes. Ia0712, b/183136596

  • Better proguard rules, multi-dex rules to ensure Initializers end up in the primary dex file. aosp/1743740

  • Add baseline profile rules to optimize the use of androidx.startup. aosp/17639340

Version 1.1.0-rc01

July 21, 2021

androidx.startup:startup-runtime:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.

Bug Fixes

  • Better proguard rules, multi-dex rules to ensure Initializers end up in the primary dex file. (aosp/1743740)
  • Add baseline profile rules to optimize the use of androidx.startup. (aosp/17639340

Version 1.1.0-beta01

May 18, 2021

androidx.startup:startup-runtime:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits.

New Features

  • Multiple InitializationProvider <provider> elements can now be added to the application’s AndroidManifest.xml for libraries or applications that require automatic initialization in multiple processes. (Ia0712, b/183136596)

Bug Fixes

Version 1.1.0-alpha01

April 7, 2021

androidx.startup:startup-runtime:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.

API Changes

  • Multiple InitializationProvider <provider> elements can now be added to the application’s AndroidManifest.xml for libraries or applications that require automatic initialization in multiple processes. (Ia0712, b/183136596)

Version 1.0.0

Version 1.0.0

October 28, 2020

androidx.startup:startup-runtime:1.0.0 is released. Version 1.0.0 contains these commits.

Major features of 1.0.0

  • Provides a straightforward, performant way to define Initializers to run at application startup without having to define a ContentProvider.
  • Provides a consistent API for lazy initialization.
  • Initializers can define dependencies on other Initializers which helps define the order of initialization explicitly.

Version 1.0.0-rc01

October 14, 2020

androidx.startup:startup-runtime:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.

This release is identical to 1.0.0-beta01.

Version 1.0.0-beta01

September 16, 2020

androidx.startup:startup-runtime:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.

This version is identical to 1.0.0-alpha03. androidx.startup is now API stable.

Version 1.0.0-alpha03

August 19, 2020

androidx.startup:startup-runtime:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.

New Features

  • Added a new isEagerlyInitialized() API which provides a way for the Initializer to determine if it has been eagerly initialized. (aosp/1372879, b/159952713)

Version 1.0.0-alpha02

July 22, 2020

androidx.startup:startup-runtime:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

Bug Fixes

Version 1.0.0-alpha01

June 10, 2020

androidx.startup:startup-runtime:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

New Features

The App Startup library provides a straightforward, performant way to initialize components at application startup. Both library developers and app developers can use App Startup to streamline startup sequences and explicitly set the order of initialization. This initial release is 1.0.0-alpha01.