From 3a5ae687097ed709c03a20c9ab5e1949a7574347 Mon Sep 17 00:00:00 2001 From: Sam Dozor Date: Fri, 1 Mar 2024 16:55:48 -0500 Subject: [PATCH] Remove number parsing this code is problematic and violates the mParticle schema. --- .../internal/database/services/MParticleDBManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-core/src/main/java/com/mparticle/internal/database/services/MParticleDBManager.java b/android-core/src/main/java/com/mparticle/internal/database/services/MParticleDBManager.java index 0135b9698..20c99fc3d 100644 --- a/android-core/src/main/java/com/mparticle/internal/database/services/MParticleDBManager.java +++ b/android-core/src/main/java/com/mparticle/internal/database/services/MParticleDBManager.java @@ -530,7 +530,7 @@ public Map getUserAttributeSingles(long mpId) { for (Map.Entry stringifiedAttribute : stringifiedAttributes.entrySet()) { String key = stringifiedAttribute.getKey(); String value = stringifiedAttribute.getValue(); - typedAttributes.put(key, MPUtility.toNumberOrString(value)); + typedAttributes.put(key, value); } return typedAttributes; }