Skip to content

Commit fc45417

Browse files
Merge branch 'staging' into events
2 parents 2f121fd + 91a921f commit fc45417

20 files changed

+204
-61
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@
1111
* 'startEvent(key)', instead use 'events.startEvent(key)'
1212
* 'endEvent(options)', instead use 'events.endEvent(key, [segmentation, count, sum])'
1313

14+
## 25.1.0
15+
* Improved content size management for better adaptability across devices.
16+
* Resolved an issue where the action bar overlapped with the content display.
17+
* Added dynamic resizing functionality for the content zone for enhanced responsiveness.
18+
* Introduced a configuration option (setZoneTimerInterval) to customize the content zone timer interval.
19+
20+
* Enhanced CertificateTrustManager to support domain-specific configurations with hostname-aware checkServerTrusted calls (Android).
21+
22+
* Fixed an issue where the build UUID and executable name were missing from crash reports (iOS).
23+
24+
* Updated underlying Android SDK version to 25.1.0
25+
* Updated underlying iOS SDK version to 25.1.0
26+
1427
## 24.11.2
1528
* Improved view tracking capabilities in iOS.
1629

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ android {
3838
}
3939

4040
dependencies {
41-
implementation 'ly.count.android:sdk:24.7.7'
41+
implementation 'ly.count.android:sdk:25.1.0'
4242
implementation 'com.google.firebase:firebase-messaging:24.0.3'
4343
}

android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,10 +1763,15 @@ public void callback(String error) {
17631763
if (_config.has("visibilityTracking")) {
17641764
this.config.experimental.enableVisibilityTracking();
17651765
}
1766+
17661767
if (_config.has("previousNameRecording")) {
17671768
this.config.experimental.enablePreviousNameRecording();
17681769
}
17691770

1771+
if (_config.has("zoneTimerInterval")) {
1772+
this.config.content.setZoneTimerInterval(_config.getInt("zoneTimerInterval"));
1773+
}
1774+
17701775
this.config.content.setGlobalContentCallback(new ContentCallback() {
17711776
@Override
17721777
public void onContentCallback(ContentStatus contentStatus, Map<String, Object> contentData) {

example/ios/Flutter/Flutter.podspec

Lines changed: 0 additions & 18 deletions
This file was deleted.

ios/Classes/CountlyFlutterPlugin.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,6 +1773,11 @@ - (void)populateConfig:(NSDictionary *)_config {
17731773

17741774
[_channel invokeMethod:@"contentCallback" arguments:contentCallbackData];
17751775
}];
1776+
1777+
NSNumber *zoneTimerInterval = _config[@"zoneTimerInterval"];
1778+
if (zoneTimerInterval) {
1779+
[config.content setZoneTimerInterval:[zoneTimerInterval unsignedIntValue]];
1780+
}
17761781

17771782
} @catch (NSException *exception) {
17781783
COUNTLY_FLUTTER_LOG(@"[populateConfig], Unable to parse Config object: %@", exception);

ios/Classes/CountlyiOS/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 25.1.0
2+
* Added dynamic resizing functionality for the content zone
3+
* Added a config option to content (setZoneTimerInterval) to set content zone timer. (Experimental!)
4+
5+
* Improved management of content zone size for better responsiveness
6+
* Fixed an issue where the build UUID and executable name were missing from crash reports
7+
18
## 24.7.9
29
* Improved view tracking capabilities
310

ios/Classes/CountlyiOS/Countly-PL.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Countly-PL'
3-
s.version = '24.7.9'
3+
s.version = '25.1.0'
44
s.license = { :type => 'MIT', :file => 'LICENSE' }
55
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
66
s.homepage = 'https://github.com/Countly/countly-sdk-ios'

ios/Classes/CountlyiOS/Countly.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ - (void)startWithConfig:(CountlyConfig *)config
275275
if(config.content.getGlobalContentCallback) {
276276
CountlyContentBuilderInternal.sharedInstance.contentCallback = config.content.getGlobalContentCallback;
277277
}
278+
if(config.content.getZoneTimerInterval){
279+
CountlyContentBuilderInternal.sharedInstance.zoneTimerInterval = config.content.getZoneTimerInterval;
280+
}
278281
#endif
279282

280283
[CountlyPerformanceMonitoring.sharedInstance startWithConfig:config.apm];

ios/Classes/CountlyiOS/Countly.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Countly'
3-
s.version = '24.7.9'
3+
s.version = '25.1.0'
44
s.license = { :type => 'MIT', :file => 'LICENSE' }
55
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
66
s.homepage = 'https://github.com/Countly/countly-sdk-ios'

ios/Classes/CountlyiOS/CountlyCommon.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ @interface CountlyCommon ()
2929
#endif
3030
@end
3131

32-
NSString* const kCountlySDKVersion = @"24.7.9";
32+
NSString* const kCountlySDKVersion = @"25.1.0";
3333
NSString* const kCountlySDKName = @"objc-native-ios";
3434

3535
NSString* const kCountlyErrorDomain = @"ly.count.ErrorDomain";

0 commit comments

Comments
 (0)