File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
firebase-sessions/src/test/kotlin/com/google/firebase/sessions Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ class SessionEventEncoderTest {
71
71
"app_id":"1:12345:android:app",
72
72
"device_model":"${Build .MODEL } ",
73
73
"session_sdk_version":"0.1.0",
74
+ "os_version":"${Build .VERSION .RELEASE } ",
74
75
"log_environment":3,
75
76
"android_app_info":{
76
77
"package_name":"com.google.firebase.sessions.test",
@@ -101,6 +102,7 @@ class SessionEventEncoderTest {
101
102
appId = " " ,
102
103
deviceModel = " " ,
103
104
sessionSdkVersion = " " ,
105
+ osDisplayVersion = " " ,
104
106
logEnvironment = LogEnvironment .LOG_ENVIRONMENT_PROD ,
105
107
AndroidApplicationInfo (packageName = " " , versionName = " " ),
106
108
)
@@ -129,6 +131,7 @@ class SessionEventEncoderTest {
129
131
"app_id":"",
130
132
"device_model":"",
131
133
"session_sdk_version":"",
134
+ "os_version":"",
132
135
"log_environment":3,
133
136
"android_app_info":{
134
137
"package_name":"",
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ internal object TestSessionEventData {
57
57
appId = FakeFirebaseApp .MOCK_APP_ID ,
58
58
deviceModel = Build .MODEL ,
59
59
sessionSdkVersion = BuildConfig .VERSION_NAME ,
60
+ osDisplayVersion = Build .VERSION .RELEASE ,
60
61
logEnvironment = LogEnvironment .LOG_ENVIRONMENT_PROD ,
61
62
AndroidApplicationInfo (
62
63
packageName = ApplicationProvider .getApplicationContext<Context >().packageName,
You can’t perform that action at this time.
0 commit comments