I’m not getting any name
value on the screen context payload unless I manually set ScreenState
activity or fragment property via updateWithActivity
or updateWithFragment
method.
Could someone clarify if thats correct? Or maybe I’m just missing something. I can’t seem to find a comprehensive document about this and base on the release notes I had an impression that this would be automatically done by the SDK.
Here are some snippets of the code I have.
This doesn’t return a name value on screen context payload:
Tracker.TrackerBuilder(emitter, context.packageName, context.packageName, context)
.level(LogLevel.VERBOSE)
.platform(DevicePlatforms.Mobile)
.sessionContext(true)
.mobileContext(true)
.lifecycleEvents(true)
.screenContext(true)
.installTracking(true)
.applicationContext(true)
.subject(subject)
.base64(true)
.backgroundTimeout(90)
.foregroundTimeout(600)
.build()
Event
Tracker.instance().track(Structured.builder()
.category("category")
.action("action")
.label("ping")
.value(100.00)
.build());