File tree Expand file tree Collapse file tree 2 files changed +33
-2
lines changed
firebase-sessions/src/main
java/com/google/firebase/sessions
kotlin/com/google/firebase/sessions Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2025 Google LLC
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package com .google .firebase .sessions ;
18+
19+ import androidx .annotation .NonNull ;
20+ import androidx .datastore .preferences .PreferenceDataStoreDelegateKt ;
21+
22+ public class Eh {
23+
24+ @ NonNull
25+ public static String getMissingClassName () {
26+ return PreferenceDataStoreDelegateKt .class .getName ();
27+ }
28+ }
Original file line number Diff line number Diff line change 1616
1717package com.google.firebase.sessions
1818
19+ import android.util.Log
1920import androidx.annotation.Keep
2021import com.google.android.datatransport.TransportFactory
2122import com.google.firebase.FirebaseApp
@@ -38,8 +39,9 @@ import kotlinx.coroutines.CoroutineDispatcher
3839 */
3940@Keep
4041internal class FirebaseSessionsRegistrar : ComponentRegistrar {
41- override fun getComponents () =
42- listOf (
42+ override fun getComponents (): List <Component <out Any >> {
43+ Log .w(" find me" , " the missing class name: ${Eh .getMissingClassName()} " )
44+ return listOf (
4345 Component .builder(FirebaseSessions ::class .java)
4446 .name(LIBRARY_NAME )
4547 .add(Dependency .required(firebaseApp))
@@ -110,6 +112,7 @@ internal class FirebaseSessionsRegistrar : ComponentRegistrar {
110112 .build(),
111113 LibraryVersionComponent .create(LIBRARY_NAME , BuildConfig .VERSION_NAME ),
112114 )
115+ }
113116
114117 private companion object {
115118 private const val LIBRARY_NAME = " fire-sessions"
You can’t perform that action at this time.
0 commit comments