@@ -23,30 +23,16 @@ import com.google.firebase.ktx.Firebase
23
23
/* *
24
24
* Returns the [FirebaseInstallations] instance of the default [FirebaseApp].
25
25
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
26
- * respective main modules, and the Kotlin extension (KTX) APIs in Licensed under the Apache
27
- * License, Version 2.0 (the "License"); // you may not use this file except in compliance with the
28
- * License. // You may obtain a copy of the License at // //
29
- * http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to
30
- * in writing, software // distributed under the License is distributed on an "AS IS" BASIS, //
31
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for
32
- * the specific language governing permissions and // limitations under the License.
33
- *
34
- * package com.google.firebase.installations.ktx
35
- *
36
- * import com.google.firebase.FirebaseApp import com.google.firebase.components.Component import
37
- * com.google.firebase.components.ComponentRegistrar import
38
- * com.google.firebase.installations.FirebaseInstallations import com.google.firebase.ktx.Firebase
39
- *
40
- * /** Returns the [FirebaseInstallations] instance of the default [FirebaseApp]. */ @Deprecated(
41
- * "com.google.firebase.installationsktx.Firebase.installations has been deprecated. Use ` are now
42
- * deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the
26
+ * respective main modules, and the Kotlin extension (KTX) APIs in
27
+ * `com.google.firebase.firebase-storage-ktx` are now deprecated. As early as April 2024, we'll no
28
+ * longer release KTX modules. For details, see the
43
29
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
44
30
*/
45
31
@Deprecated(
46
- " com.google.firebase.insta " ,
32
+ " Use ` com.google.firebase.Firebase.installations` from the main module instead. " ,
47
33
ReplaceWith (
48
34
expression = " com.google.firebase.Firebase.installations" ,
49
- imports = [" com.google.firebase.Firebase" , " com.google.firebase.installationsinstallations " ]
35
+ imports = [" com.google.firebase.Firebase" , " com.google.firebase.installations.installations " ]
50
36
)
51
37
)
52
38
val Firebase .installations: FirebaseInstallations
@@ -55,27 +41,13 @@ val Firebase.installations: FirebaseInstallations
55
41
/* *
56
42
* Returns the [FirebaseInstallations] instance of a given [FirebaseApp].
57
43
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
58
- * respective main modules, and the Kotlin extension (KTX) APIs in Licensed under the Apache
59
- * License, Version 2.0 (the "License"); // you may not use this file except in compliance with the
60
- * License. // You may obtain a copy of the License at // //
61
- * http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to
62
- * in writing, software // distributed under the License is distributed on an "AS IS" BASIS, //
63
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for
64
- * the specific language governing permissions and // limitations under the License.
65
- *
66
- * package com.google.firebase.installations.ktx
67
- *
68
- * import com.google.firebase.FirebaseApp import com.google.firebase.components.Component import
69
- * com.google.firebase.components.ComponentRegistrar import
70
- * com.google.firebase.installations.FirebaseInstallations import com.google.firebase.ktx.Firebase
71
- *
72
- * /** Returns the [FirebaseInstallations] instance of the default [FirebaseApp]. */ @Deprecated(
73
- * "com.google.firebase.installationsktx.Firebase.installations has been deprecated. Use ` are now
74
- * deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the
44
+ * respective main modules, and the Kotlin extension (KTX) APIs in
45
+ * `com.google.firebase.firebase-storage-ktx` are now deprecated. As early as April 2024, we'll no
46
+ * longer release KTX modules. For details, see the
75
47
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
76
48
*/
77
49
@Deprecated(
78
- " com.google.firebase.insta " ,
50
+ " Use ` com.google.firebase.Firebase.installations(app)` from the main module instead. " ,
79
51
ReplaceWith (
80
52
expression = " com.google.firebase.Firebase.installations(app)" ,
81
53
imports = [" com.google.firebase.Firebase" , " com.google.firebase.installations.installations" ]
@@ -84,30 +56,9 @@ val Firebase.installations: FirebaseInstallations
84
56
fun Firebase.installations (app : FirebaseApp ): FirebaseInstallations =
85
57
FirebaseInstallations .getInstance(app)
86
58
87
- /* *
88
- * @suppress
89
- * @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
90
- * respective main modules, and the Kotlin extension (KTX) APIs in Licensed under the Apache
91
- * License, Version 2.0 (the "License"); // you may not use this file except in compliance with the
92
- * License. // You may obtain a copy of the License at // //
93
- * http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to
94
- * in writing, software // distributed under the License is distributed on an "AS IS" BASIS, //
95
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for
96
- * the specific language governing permissions and // limitations under the License.
97
- *
98
- * package com.google.firebase.installations.ktx
99
- *
100
- * import com.google.firebase.FirebaseApp import com.google.firebase.components.Component import
101
- * com.google.firebase.components.ComponentRegistrar import
102
- * com.google.firebase.installations.FirebaseInstallations import com.google.firebase.ktx.Firebase
103
- *
104
- * /** Returns the [FirebaseInstallations] instance of the default [FirebaseApp]. */ @Deprecated(
105
- * "com.google.firebase.installationsktx.Firebase.installations has been deprecated. Use ` are now
106
- * deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the
107
- * [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
108
- */
59
+ /* * @suppress */
109
60
@Deprecated(
110
- " com.google.firebase.insta " ,
61
+ " com.google.firebase.installations.FirebaseInstallationsKtxRegistrar has been deprecated. Use `com.google.firebase.installationsFirebaseInstallationsKtxRegistrar` instead. " ,
111
62
ReplaceWith (
112
63
expression = " FirebaseInstallationsKtxRegistrar" ,
113
64
imports =
0 commit comments