Skip to content

Commit e96465a

Browse files
authored
Added @deprecated annotation on unused crashlytics from ktx api. (#5619)
#5603 Added Deprecation annotation.
1 parent a16c647 commit e96465a

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

firebase-crashlytics/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Unreleased
2+
* [changed] Added Deprecated annotation on unused `Firebase.crashlytics` from ktx api.
23

34
# 18.6.0
45
* [changed] Include more details about app processes in reports.

firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/ktx/FirebaseCrashlytics.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ import com.google.firebase.ktx.Firebase
3434
* no longer release KTX modules. For details, see the
3535
* [FAQ about this initiative.](https://firebase.google.com/docs/android/kotlin-migration)
3636
*/
37+
@Deprecated(
38+
"Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.",
39+
ReplaceWith("")
40+
)
3741
val Firebase.crashlytics: FirebaseCrashlytics
3842
get() = FirebaseCrashlytics.getInstance()
3943

0 commit comments

Comments
 (0)