Analytics - Data mismatch between CustomProperties and Pinpoint Attributes #2850
Labels
analytics
Issues related to the Amplify Analytics Category
feature-parity
A request for a feature that is fully or partially available on another platform (JS, iOS, Android)
feature-request
A request for a new feature or an enhancement to an existing API or category.
Description
When calling
Amplify.Analytics.identifyUser
orAmplify.Analytics.RecordEvent
you can pass in anAnalyticsProperties
(in v0) orCustomProperties
(in v1) object.CustomProperties
represents attributes as aMap<String, String>
but the underlying Pinpoint Endpoint attributes is aMap<String, List<String>>
We solved this issue for Pinpoint Endpoint User attributes by allowing
Map<String, List<String>>
in theAWSPinpointUserProfile
object, but don't allowMap<String, List<String>>
for setting Pinpoint Endpoint attribute.Proposal
Allow the Pinpoint Endpoint attributes field to be set as a
Map<String, List<String>>
inUserProfile
by:UserProfile.customProperties
fieldUserProfile.attributes
of typeMap<String, List<String>>
UserProfile.metrics
of typeMap<String, double>
Categories
Steps to Reproduce
No response
Screenshots
No response
Platforms
Flutter Version
3.3.10
Amplify Flutter Version
All
Deployment Method
Amplify CLI
Schema
No response
The text was updated successfully, but these errors were encountered: