-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Attempting to use MParticle.CommerceEvent.createPromotionEvent() which takes an enum/int for the ActionType. Seeing different results on iOS vs Android. This makes the enum values MParticle.PromotionActionType.Click and MParticle.PromotionActionType.View not able to be used without a Platform check.
On Android, this maps to 0 for View and 1 for Click.
On iOS, this maps to 1 for View and 0 for Click.
To fix - in the mParticle RN SDK, I guess do a platform check so consumers do not need to worry about this?
snoattoh
Metadata
Metadata
Assignees
Labels
No labels