radarlabs / radar-sdk-android

Android SDK for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
75 stars 22 forks source link

Fix conversion of confidence enum to int #325

Closed KennyHuRadar closed 11 months ago

KennyHuRadar commented 11 months ago

The confidence field of the event object was not being converted to a json object correctly, this causes issues with the RN sdk not being able to show this field.

The enumeration to int conversion is fixed in this PR.

QA: This Android sdk is installed in waypoint and a single trackOnce is called with its results printed. Note how the events in the events array have the confidence field now.

image