File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
firebase-sessions/test-app
src/main/kotlin/com/google/firebase/testing/sessions Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,13 @@ package com.google.firebase.testing.sessions
19
19
import android.os.Bundle
20
20
import android.widget.TextView
21
21
import androidx.appcompat.app.AppCompatActivity
22
+ import com.google.firebase.sessions.FirebaseSessions
22
23
23
24
class MainActivity : AppCompatActivity () {
24
25
override fun onCreate (savedInstanceState : Bundle ? ) {
25
26
super .onCreate(savedInstanceState)
26
27
setContentView(R .layout.activity_main)
27
28
28
- findViewById<TextView >(R .id.greeting_text).text = getString( R .string.firebase_greetings )
29
+ findViewById<TextView >(R .id.greeting_text).text = FirebaseSessions .instance.greeting( )
29
30
}
30
31
}
Original file line number Diff line number Diff line change 17
17
plugins {
18
18
id(" com.android.application" )
19
19
id(" org.jetbrains.kotlin.android" )
20
+ id(" com.google.gms.google-services" )
20
21
}
21
22
22
23
android {
@@ -47,5 +48,5 @@ dependencies {
47
48
implementation(" com.google.android.material:material:1.8.0" )
48
49
}
49
50
50
- extra[" packageName" ] = " com.google.firebase.testing.sessions"
51
- apply (from = " ../../gradle/googleServices.gradle" )
51
+ // extra["packageName"] = "com.google.firebase.testing.sessions"
52
+ // apply(from = "../../gradle/googleServices.gradle")
You can’t perform that action at this time.
0 commit comments