You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Single access point to all firebase SDKs from Kotlin.
34
34
*
35
35
* <p>Acts as a target for extension methods provided by sdks.
36
+
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
37
+
* respective main modules, and the Kotlin extension (KTX) APIs in
38
+
* `com.google.firebase.firebase-common-ktx` are now deprecated. As early as April 2024, we'll no
39
+
* longer release KTX modules. For details, see the
40
+
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
36
41
*/
37
42
@Deprecated(
38
-
"Use `com.google.firebase.Firebase` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase:firebase-common-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
43
+
"Use `com.google.firebase.Firebase` from the main module instead.",
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
51
+
* respective main modules, and the Kotlin extension (KTX) APIs in
52
+
* `com.google.firebase.firebase-common-ktx` are now deprecated. As early as April 2024, we'll no
53
+
* longer release KTX modules. For details, see the
54
+
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules),
55
+
*/
44
56
@Deprecated(
45
-
"Use `com.google.firebase.Firebase.app` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase:firebase-common-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
57
+
"Use `com.google.firebase.Firebase.app` from the main module instead.",
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
69
+
* respective main modules, and the Kotlin extension (KTX) APIs in
70
+
* `com.google.firebase.firebase-common-ktx` are now deprecated. As early as April 2024, we'll no
71
+
* longer release KTX modules. For details, see the
72
+
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules),
73
+
*/
55
74
@Deprecated(
56
-
"Use `com.google.firebase.Firebase.app(name)` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase:firebase-common-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
75
+
"Use `com.google.firebase.Firebase.app(name)` from the main module instead.",
fun Firebase.app(name:String): FirebaseApp=FirebaseApp.getInstance(name)
63
82
64
-
/** Initializes and returns a FirebaseApp. */
83
+
/**
84
+
* Initializes and returns a FirebaseApp.
85
+
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
86
+
* respective main modules, and the Kotlin extension (KTX) APIs in
87
+
* `com.google.firebase.firebase-common-ktx` are now deprecated. As early as April 2024, we'll no
88
+
* longer release KTX modules. For details, see the
89
+
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules),
90
+
*/
65
91
@Deprecated(
66
-
"Use `com.google.firebase.Firebase.initialize(context)` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase:firebase-common-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
92
+
"Use `com.google.firebase.Firebase.initialize(context)` from the main module instead.",
fun Firebase.initialize(context:Context): FirebaseApp?=FirebaseApp.initializeApp(context)
73
99
74
-
/** Initializes and returns a FirebaseApp. */
100
+
/**
101
+
* Initializes and returns a FirebaseApp.
102
+
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
103
+
* respective main modules, and the Kotlin extension (KTX) APIs in
104
+
* `com.google.firebase.firebase-common-ktx` are now deprecated. As early as April 2024, we'll no
105
+
* longer release KTX modules. For details, see the
106
+
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules),
107
+
*/
75
108
@Deprecated(
76
-
"Use `com.google.firebase.Firebase.initialize(context, options)` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase:firebase-common-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
109
+
"Use `com.google.firebase.Firebase.initialize(context, options)` from the main module instead.",
@@ -82,9 +115,16 @@ fun Firebase.initialize(context: Context): FirebaseApp? = FirebaseApp.initialize
82
115
fun Firebase.initialize(context:Context, options:FirebaseOptions): FirebaseApp=
83
116
FirebaseApp.initializeApp(context, options)
84
117
85
-
/** Initializes and returns a FirebaseApp. */
118
+
/**
119
+
* Initializes and returns a FirebaseApp.
120
+
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
121
+
* respective main modules, and the Kotlin extension (KTX) APIs in
122
+
* `com.google.firebase.firebase-common-ktx` are now deprecated. As early as April 2024, we'll no
123
+
* longer release KTX modules. For details, see the
124
+
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules),
125
+
*/
86
126
@Deprecated(
87
-
"Use `com.google.firebase.Firebase.initialize(context, options, name)` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase:firebase-common-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
127
+
"Use `com.google.firebase.Firebase.initialize(context, options, name)` from the main module instead.",
@@ -93,9 +133,16 @@ fun Firebase.initialize(context: Context, options: FirebaseOptions): FirebaseApp
93
133
fun Firebase.initialize(context:Context, options:FirebaseOptions, name:String): FirebaseApp=
94
134
FirebaseApp.initializeApp(context, options, name)
95
135
96
-
/** Returns options of default FirebaseApp */
136
+
/**
137
+
* Returns options of default FirebaseApp
138
+
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
139
+
* respective main modules, and the Kotlin extension (KTX) APIs in
140
+
* `com.google.firebase.firebase-common-ktx` are now deprecated. As early as April 2024, we'll no
141
+
* longer release KTX modules. For details, see the
142
+
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules),
143
+
*/
97
144
@Deprecated(
98
-
"Use `com.google.firebase.Firebase.options` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase:firebase-common-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
145
+
"Use `com.google.firebase.Firebase.options` from the main module instead.",
@@ -106,7 +153,7 @@ val Firebase.options: FirebaseOptions
106
153
107
154
/** @suppress */
108
155
@Deprecated(
109
-
"Use `com.google.firebase.FirebaseCommonKtxRegistrar` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase:firebase-common-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
156
+
"Use `com.google.firebase.FirebaseCommonKtxRegistrar` from the main module instead.",
0 commit comments