我一直在致力于将Firebase事件跟踪模块与Android Firebase SDK集成在一起。我已经在应用程序中使用“自定义键”编写了Firebase事件跟踪代码。但是,我无法在Firebase控制台上看到事件日志。
val bundle = Bundle()
bundle.putString(FirebaseAnalytics.Param.ITEM_ID, id)
bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, key)
bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, CLICK)
firebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle)
Event recorded: Event{
appId='com.peace.TextScanner', name='app_update(_au)',
params=Bundle[{firebase_event_origin(_o)=auto,
previous_app_version(_pv)=5.3.3}]}
Event recorded: Event{
appId='com.peace.TextScanner', name='notification',
params=Bundle[{action=receive, firebase_event_origin(_o)=app}]}
Event recorded: Event{
appId='com.gogo.cinema', name='select_content',
params=Bundle[{item_name=create_show_tab,
firebase_event_origin(_o)=app,
firebase_screen_class(_sc)=HomeActivity,
firebase_screen_id(_si)=-4312275809756987004, content_type=click,
item_id=create_show_tab}]}