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

Didn't find what you were looking for?

New post

Comments

2 comments

  • Hi Darren,

    I've just left some feedback for the devs to take a look at this for you. I'll let you know once they have and we can take it from there.

    Airship Support,

    Chilun

    Comment actions Permalink
    0
  • Hi Guys, any update on this?

    Comment actions Permalink
    0

Please sign in to leave a comment.