Skip to content

Commit 009307f

Browse files
authored
Allow Perf to use this version of AQS (#7041)
1 parent ada72e1 commit 009307f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

firebase-sessions/src/main/kotlin/com/google/firebase/sessions/api/FirebaseSessionsDependencies.kt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,6 @@ object FirebaseSessionsDependencies {
3939
*/
4040
@JvmStatic
4141
fun addDependency(subscriberName: SessionSubscriber.Name) {
42-
if (subscriberName == SessionSubscriber.Name.PERFORMANCE) {
43-
throw IllegalArgumentException(
44-
"""
45-
Incompatible versions of Firebase Perf and Firebase Sessions.
46-
A safe combination would be:
47-
firebase-sessions:1.1.0
48-
firebase-crashlytics:18.5.0
49-
firebase-perf:20.5.0
50-
For more information contact Firebase Support.
51-
"""
52-
.trimIndent()
53-
)
54-
}
5542
if (dependencies.containsKey(subscriberName)) {
5643
Log.d(TAG, "Dependency $subscriberName already added.")
5744
return

0 commit comments

Comments
 (0)