InstallationsKt

public final class InstallationsKt


Summary

Public fields

final @NonNull FirebaseInstallations

Accessing this object for Kotlin apps has changed; see the migration guide.

Public methods

static final @NonNull FirebaseInstallations

Accessing this object for Kotlin apps has changed; see the migration guide.

Public fields

installations

public final @NonNull FirebaseInstallations installations

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseInstallations instance of the default FirebaseApp.

Important: In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.

Public methods

InstallationsKt.installations

public static final @NonNull FirebaseInstallations InstallationsKt.installations(
    @NonNull Firebase receiver,
    @NonNull FirebaseApp app
)

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseInstallations instance of a given FirebaseApp.

Important: In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.