Hi Guys,
Quick question on Custom Events on React Native.
If I wanted to capture the Named User with a Custom Event? How would I approach this?
For example, I have the following code snippet:
UrbanAirship.getNamedUser().then((namedUser) => {
if(namedUser !== null) {
const event = new UACustomEvent(screen);
event.addProperty("namedUser", namedUser);
UrbanAirship.addCustomEvent(event);
}
}
However, whenever I check the reporting. Reports -> Event Tracking. I don't see any additional properties. The screen variable is being pull form React Navigation Routes.
Thanks,
Darren
Comments
2 comments