Skip to content

Commit

Permalink
fix(analytics): string parameters in logEvent are sent as String
Browse files Browse the repository at this point in the history
…instead of the parameter value (#76)
  • Loading branch information
robingenz authored Apr 27, 2022
1 parent aa001c9 commit 2201fbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hip-masks-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@capacitor-firebase/analytics": patch
---

fix(android): string parameters in `logEvent` are sent as `String` instead of the parameter value
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static Bundle createBundleFromJson(@Nullable JSONObject json) {
}
break;
default:
bundle.putString(key, value.getClass().getSimpleName());
bundle.putString(key, (String) value);
}
}
} catch (JSONException exception) {
Expand Down

0 comments on commit 2201fbd

Please sign in to comment.