Skip to content

Commit

Permalink
Merge branch 'staging' of https://github.com/Countly/countly-sdk-unity
Browse files Browse the repository at this point in the history
…into staging

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
ArtursKadikis committed May 5, 2023
2 parents 87396bc + fea39a8 commit 904768b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Assets/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ indent_size = 4
tab_width = 4

# New line preferences
end_of_line = crlf
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
7 changes: 4 additions & 3 deletions Assets/Plugins/CountlySDK/Countly.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Countly : MonoBehaviour
//SDK limit defaults
internal const int MaxKeyLengthDefault = 128;
internal const int MaxValueSizeDefault = 256;
internal const int MaxSegmentationValuesDefault = 30;
internal const int MaxSegmentationValuesDefault = 100;
internal const int MaxBreadcrumbCountDefault = 100;
internal const int MaxStackTraceLinesPerThreadDefault = 30;
internal const int MaxStackTraceLineLengthDefault = 200;
Expand Down Expand Up @@ -187,7 +187,7 @@ public void Init(CountlyConfiguration configuration)
}

_logHelper.Debug("[Init] SDK initialized with the URL:[" + configuration.ServerUrl + "] and the appKey:[" + configuration.AppKey + "]");


if (configuration.SessionDuration < 1) {
_logHelper.Error("[Init] provided session duration is less than 1. Replacing it with 1.");
Expand Down Expand Up @@ -385,7 +385,8 @@ private void OnApplicationQuit()
StorageHelper?.CloseDB();
}

internal void CloseDBConnection() {
internal void CloseDBConnection()
{
StorageHelper?.CloseDB();
}

Expand Down
2 changes: 1 addition & 1 deletion Assets/Plugins/CountlySDK/Models/CountlyConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class CountlyConfiguration
/// <summary>
/// Max amount of custom (dev provided) segmentation in one event
/// </summary>
public int MaxSegmentationValues = 30;
public int MaxSegmentationValues = 100;

/// <summary>
/// Limits how many stack trace lines would be recorded per thread
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 22.06.1
* ! Minor breaking change ! The unhandled crash handler will no longer report messages with the LogType "errors". It will report only messages of the type "exceptions".
* Default max segmentation value count changed from 30 to 100

## 22.06.0
* Adding device ID type information to all requests.
Expand Down

0 comments on commit 904768b

Please sign in to comment.