heap / react-native-heap

A React Native integration for Heap
MIT License
82 stars 36 forks source link

When viewing events in live feed, the "Apple or Android" property always shows "Android". #369

Open hakeemsyd opened 1 year ago

hakeemsyd commented 1 year ago

When I'm viewing live feed and click on an event, the sidebar shows event properties. The property "Apple or Android" is always showing "Android" even when I'm using iOS. The feature property I added in event shows correct platform. Always Android

j0narch3r commented 1 year ago

This is a defined property based on raw property data you are sending. Check your app for the definition of Apple or Android. That should answer your question.

j0narch3r commented 1 year ago

Looking a bit deeper, you are sending a property on some Segment events by the name of Apple or Android, but not on the Product List Viewed event. Might want to update the name of the defined property (easiest), or of the raw property you're sending, to avoid this confusion.

hakeemsyd commented 1 year ago

@j0narch3r there is no raw/custom property with that name in our codebase. I am not sure how segment events would be linked to this. But there is no such property i am finding in our codebase.

hakeemsyd commented 1 year ago

@j0narch3r after digging deeper. I found that these properties e.g. Android or Apple & Android or Apple[HS] are been auto inferred from device brand which is picked up by heap sdk automatically. Please take a look at attached screenshot. Also it seems like we did not configure this proeprty someone from heapsdk team did.

Screenshot 2023-02-24 at 10 50 07 AM