Hi Guys,
I'm looking into capturing Airship Events in React Native.
So I'm using the following code:
Hi Guys,
I'm looking into capturing Airship Events in React Native.
So I'm using the following code:
Didn't find what you were looking for?
New postDarren
I just wanted to check and be sure you added the event as well. The call would look like:
UrbanAirship.addCustomEvent(customEvent);
The full docs on the feature you are looking to use can be found here: https://docs.airship.com/platform/react-native/analytics-and-reporting/
Please let me know if you additional questions.
Thank you,
Eric L.
Technical Support Engineer
Airship | Portland
Hi Eric,
Thanks for this. Yes, this is working for me now. Sorry I do have a quick additional question from me on this, if I wanted to capture the Named User with the Event? How would I approach this?
For example, I have the following code snippet:
const event = new UACustomEvent(screen);
event.addProperty("namedUser", namedUser);
UrbanAirship.addCustomEvent(event);
UrbanAirship.trackScreen(screen)
Please sign in to leave a comment.
Comments
2 comments