File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+
2+ 22.06.3
3+ * Fixed a bug where empty metrics were sent with session begin request.
4+
1522.06.2
26* Fixed a bug where metrics were not sent with session begin request.
37
Original file line number Diff line number Diff line change 1212#include " nlohmann/json.hpp"
1313
1414#define COUNTLY_SDK_NAME " cpp-native-unknown"
15- #define COUNTLY_SDK_VERSION " 22.06.2 "
15+ #define COUNTLY_SDK_VERSION " 22.06.3 "
1616#define COUNTLY_POST_THRESHOLD 2000
1717#define COUNTLY_KEEPALIVE_INTERVAL 3000
1818#define COUNTLY_MAX_EVENTS_DEFAULT 200
Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ bool Countly::beginSession() {
518518 session_params.erase (" user_details" );
519519 }
520520
521- if (configuration->metrics .contains ( " metrics " ) ) {
521+ if (configuration->metrics .size () > 0 ) {
522522 data[" metrics" ] = configuration->metrics .dump ();
523523 }
524524
You can’t perform that action at this time.
0 commit comments