Skip to content

🐛 [firebase_analytics] Doesn't send screen resolution #7220

@greymag

Description

@greymag

Bug report

Analytics doesn't send screen resolution and you can't see information about resolutions in Google Analytics. Other parameters - Device, OS, etc, - is presented.

Checked with the last versions of Firebase libs (firebase_analytics 8.3.3).

Steps to reproduce

Steps to reproduce the behavior:

  1. Add analytics in project.
  2. Run application.
  3. Go to Google Analytics, Reports -> User -> Tech Details
  4. Select "Screen resolution"
  5. See 1 line "(not set)"

Screen Shot on 2021-10-21 at 11:04:22

Expected behavior

Expected see resolutions of user's devices.

Sent data

If I enable verbose log, I can see following output:

Output
10-21 16:39:17.786 V/FA-SVC  ( 7942): batch {
10-21 16:39:17.786 V/FA-SVC  ( 7942):   bundle {
10-21 16:39:17.786 V/FA-SVC  ( 7942):     protocol_version: 1
10-21 16:39:17.786 V/FA-SVC  ( 7942):     platform: android
10-21 16:39:17.786 V/FA-SVC  ( 7942):     gmp_version: 44007
10-21 16:39:17.786 V/FA-SVC  ( 7942):     uploading_gmp_version: 213916
10-21 16:39:17.786 V/FA-SVC  ( 7942):     dynamite_version: 53
10-21 16:39:17.786 V/FA-SVC  ( 7942):     config_version: 1633430556036280
10-21 16:39:17.786 V/FA-SVC  ( 7942):     gmp_app_id: 1:646929284681:android:d8d02c1a4773c6617d4998
10-21 16:39:17.786 V/FA-SVC  ( 7942):     admob_app_id: 
10-21 16:39:17.786 V/FA-SVC  ( 7942):     app_id: ru.innim.my_finance
10-21 16:39:17.786 V/FA-SVC  ( 7942):     app_version: 0.8.1
10-21 16:39:17.786 V/FA-SVC  ( 7942):     app_version_major: 4065
10-21 16:39:17.786 V/FA-SVC  ( 7942):     firebase_instance_id: cPX5ZqxtQbmLmvgUsvKcqe
10-21 16:39:17.786 V/FA-SVC  ( 7942):     app_store: manual_install
10-21 16:39:17.786 V/FA-SVC  ( 7942):     upload_timestamp_millis: 1634823557605
10-21 16:39:17.786 V/FA-SVC  ( 7942):     start_timestamp_millis: 1634823554459
10-21 16:39:17.786 V/FA-SVC  ( 7942):     end_timestamp_millis: 1634823555043
10-21 16:39:17.786 V/FA-SVC  ( 7942):     previous_bundle_start_timestamp_millis: 1634823512862
10-21 16:39:17.786 V/FA-SVC  ( 7942):     previous_bundle_end_timestamp_millis: 1634823512862
10-21 16:39:17.786 V/FA-SVC  ( 7942):     app_instance_id: 2049a03edf7e6916b49728826adb8f52
10-21 16:39:17.786 V/FA-SVC  ( 7942):     resettable_device_id: e3a5e497-b95c-4158-8d10-b7df39149de7
10-21 16:39:17.786 V/FA-SVC  ( 7942):     ds_id: DSID=AAO-7r4Hw-nTdDfov5pSA0VZZuJ0oqaee4D1VslbgTR8ex8gkA-5ICkJI75FRp9j1GnR2Vipigga011-WAXtbkM-fjdczkkS4hvdTi1Af9H644JQymcHz00
10-21 16:39:17.786 V/FA-SVC  ( 7942):     limited_ad_tracking: false
10-21 16:39:17.786 V/FA-SVC  ( 7942):     os_version: 9
10-21 16:39:17.786 V/FA-SVC  ( 7942):     device_model: SM-A105F
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_default_language: ru-ru
10-21 16:39:17.786 V/FA-SVC  ( 7942):     time_zone_offset_minutes: 180
10-21 16:39:17.786 V/FA-SVC  ( 7942):     bundle_sequential_index: 12
10-21 16:39:17.786 V/FA-SVC  ( 7942):     service_upload: true
10-21 16:39:17.786 V/FA-SVC  ( 7942):     health_monitor: 
10-21 16:39:17.786 V/FA-SVC  ( 7942):     consent_signals: G1--
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634822774332
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: first_open_time(_fot)
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: 
10-21 16:39:17.786 V/FA-SVC  ( 7942):       int_value: 1634824800000
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634822774332
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: first_open_after_install(_fi)
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: 
10-21 16:39:17.786 V/FA-SVC  ( 7942):       int_value: 1
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634822776131
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: ga_session_number(_sno)
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: 
10-21 16:39:17.786 V/FA-SVC  ( 7942):       int_value: 1
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634822776131
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: ga_session_id(_sid)
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: 
10-21 16:39:17.786 V/FA-SVC  ( 7942):       int_value: 1634822776
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634822786348
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: experiment_id(_exp_2)
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: 0
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634822884840
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: debug
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: true
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634822884842
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: demo
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: false
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634822890315
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: locale
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: ru
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634823557619
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: lifetime_user_engagement(_lte)
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: 
10-21 16:39:17.786 V/FA-SVC  ( 7942):       int_value: 122355
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     user_property {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       set_timestamp_millis: 1634823557620
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: session_user_engagement(_se)
10-21 16:39:17.786 V/FA-SVC  ( 7942):       string_value: 
10-21 16:39:17.786 V/FA-SVC  ( 7942):       int_value: 122354
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     event {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: select_item
10-21 16:39:17.786 V/FA-SVC  ( 7942):       timestamp_millis: 1634823554459
10-21 16:39:17.786 V/FA-SVC  ( 7942):       previous_timestamp_millis: 1634823408898
10-21 16:39:17.786 V/FA-SVC  ( 7942):       param {
10-21 16:39:17.786 V/FA-SVC  ( 7942):         name: ga_event_origin(_o)
10-21 16:39:17.786 V/FA-SVC  ( 7942):         string_value: app
10-21 16:39:17.786 V/FA-SVC  ( 7942):       }
10-21 16:39:17.786 V/FA-SVC  ( 7942):       param {
10-21 16:39:17.786 V/FA-SVC  ( 7942):         name: _r
10-21 16:39:17.786 V/FA-SVC  ( 7942):         int_value: 1
10-21 16:39:17.786 V/FA-SVC  ( 7942):       }
10-21 16:39:17.786 V/FA-SVC  ( 7942):       param {
10-21 16:39:17.786 V/FA-SVC  ( 7942):         name: _dbg
10-21 16:39:17.786 V/FA-SVC  ( 7942):         int_value: 1
10-21 16:39:17.786 V/FA-SVC  ( 7942):       }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     event {
10-21 16:39:17.786 V/FA-SVC  ( 7942):       name: screen_view(_vs)
10-21 16:39:17.786 V/FA-SVC  ( 7942):       timestamp_millis: 1634823555043
10-21 16:39:17.786 V/FA-SVC  ( 7942):       previous_timestamp_millis: 1634823411079
10-21 16:39:17.786 V/FA-SVC  ( 7942):       param {
10-21 16:39:17.786 V/FA-SVC  ( 7942):         name: ga_event_origin(_o)
10-21 16:39:17.786 V/FA-SVC  ( 7942):         string_value: auto
10-21 16:39:17.786 V/FA-SVC  ( 7942):       }
10-21 16:39:17.786 V/FA-SVC  ( 7942):       param {
10-21 16:39:17.786 V/FA-SVC  ( 7942):         name: _r
10-21 16:39:17.786 V/FA-SVC  ( 7942):         int_value: 1
10-21 16:39:17.786 V/FA-SVC  ( 7942):       }
10-21 16:39:17.786 V/FA-SVC  ( 7942):       param {
10-21 16:39:17.786 V/FA-SVC  ( 7942):         name: ga_screen_class(_sc)
10-21 16:39:17.786 V/FA-SVC  ( 7942):         string_value: MainActivity
10-21 16:39:17.786 V/FA-SVC  ( 7942):       }
10-21 16:39:17.786 V/FA-SVC  ( 7942):       param {
10-21 16:39:17.786 V/FA-SVC  ( 7942):         name: ga_screen_id(_si)
10-21 16:39:17.786 V/FA-SVC  ( 7942):         int_value: 1509275953906126282
10-21 16:39:17.786 V/FA-SVC  ( 7942):       }
10-21 16:39:17.786 V/FA-SVC  ( 7942):       param {
10-21 16:39:17.786 V/FA-SVC  ( 7942):         name: _dbg
10-21 16:39:17.786 V/FA-SVC  ( 7942):         int_value: 1
10-21 16:39:17.786 V/FA-SVC  ( 7942):       }
10-21 16:39:17.786 V/FA-SVC  ( 7942):     }
10-21 16:39:17.786 V/FA-SVC  ( 7942):   }
10-21 16:39:17.786 V/FA-SVC  ( 7942): }

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: invalidThis doesn't seem right and might not belong here.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions