Android represents Product action and Promotion actions as String contents, so I had to add an additional field on the dart side for the String value of ProductActionEnum and PromotionActionEnum'. This value is sent in an additional message field,"productActionString"and"promotionActionString"` respectively, and will only be consumed by the Android side of the plugin.
Tested existing buttons for Product, Promotion and Impression and confirmed all fields are being set in the native SDK properly and events are succeeding
Summary
Commerce implementation for Android.
Android represents Product action and Promotion actions as String contents, so I had to add an additional field on the dart side for the
String
value ofProductActionEnum
andPromotionActionEnum'. This value is sent in an additional message field,
"productActionString"and
"promotionActionString"` respectively, and will only be consumed by the Android side of the plugin.Tested existing buttons for Product, Promotion and Impression and confirmed all fields are being set in the native SDK properly and events are succeeding