Skip to content

Commit 6a7d360

Browse files
committed
version update
1 parent 19bfb36 commit 6a7d360

25 files changed

+1048
-310
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ repositories {
6565

6666
dependencies {
6767
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
68-
implementation 'ly.count.android:sdk:25.4.2'
68+
implementation 'ly.count.android:sdk:25.4.4'
6969

7070
// Import the BoM for the Firebase platform
7171
// The BoM version of 28.4.2 is the newest release that will target firebase-messaging version 22

ios/src/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 = '25.4.3'
3+
s.version = '25.4.6'
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/src/Countly.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ NS_ASSUME_NONNULL_BEGIN
100100
*/
101101
- (void)addDirectRequest:(NSDictionary<NSString *, NSString *> * _Nullable)requestParameters;
102102

103+
/**
104+
* Records current device metrics and puts them into the request queue.
105+
* @discussion Optionally, provide a dictionary to override detected metrics.
106+
* @param metricsOverride Dictionary of metrics to override.
107+
*/
108+
- (void)recordMetrics:(NSDictionary<NSString *, NSString *> *_Nullable)metricsOverride;
103109

104110

105111
#pragma mark - Sessions
@@ -837,7 +843,8 @@ NS_ASSUME_NONNULL_BEGIN
837843
- (void)halt;
838844
- (void)halt:(BOOL) clearStorage;
839845

840-
/* Combine all events in event queue into a request and attempt to process stored requests on demand
846+
/**
847+
* Combine all events in event queue into a request and attempt to process stored requests on demand
841848
*/
842849
- (void)attemptToSendStoredRequests;
843850

ios/src/Countly.m

Lines changed: 147 additions & 187 deletions
Large diffs are not rendered by default.

ios/src/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 = '25.4.3'
3+
s.version = '25.4.6'
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/src/Countly.xcodeproj/project.pbxproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
965A2E9C2DDDCDAC00F28F6A /* CountlyHealthTracker.m in Sources */ = {isa = PBXBuildFile; fileRef = 965A2E9B2DDDCDAC00F28F6A /* CountlyHealthTracker.m */; };
9090
965A2E9D2DDDCDAC00F28F6A /* CountlyHealthTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 965A2E9A2DDDCDAC00F28F6A /* CountlyHealthTracker.h */; };
9191
968426812BF2302C007B303E /* CountlyConnectionManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 968426802BF2302C007B303E /* CountlyConnectionManagerTests.swift */; };
92+
96C05AB02E82936F0028A976 /* CountlyHealthTrackerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96C05AAF2E8293630028A976 /* CountlyHealthTrackerTests.swift */; };
9293
96DA74BB2D9FB687006FA6FF /* MockFeedbackWidget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96DA74BA2D9FB687006FA6FF /* MockFeedbackWidget.swift */; };
9394
96E680422BFF89AC0091E105 /* CountlyCrashReporterTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E680412BFF89AC0091E105 /* CountlyCrashReporterTests.swift */; };
9495
D219374B248AC71C00E5798B /* CountlyPerformanceMonitoring.h in Headers */ = {isa = PBXBuildFile; fileRef = D2193749248AC71C00E5798B /* CountlyPerformanceMonitoring.h */; };
@@ -196,6 +197,7 @@
196197
965A2E9B2DDDCDAC00F28F6A /* CountlyHealthTracker.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CountlyHealthTracker.m; sourceTree = "<group>"; };
197198
96681A9B2D97D9B300A4845A /* CountlyTests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = CountlyTests.xctestplan; sourceTree = "<group>"; };
198199
968426802BF2302C007B303E /* CountlyConnectionManagerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CountlyConnectionManagerTests.swift; sourceTree = "<group>"; };
200+
96C05AAF2E8293630028A976 /* CountlyHealthTrackerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CountlyHealthTrackerTests.swift; sourceTree = "<group>"; };
199201
96DA74BA2D9FB687006FA6FF /* MockFeedbackWidget.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockFeedbackWidget.swift; sourceTree = "<group>"; };
200202
96E680412BFF89AC0091E105 /* CountlyCrashReporterTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CountlyCrashReporterTests.swift; sourceTree = "<group>"; };
201203
D2193749248AC71C00E5798B /* CountlyPerformanceMonitoring.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CountlyPerformanceMonitoring.h; sourceTree = "<group>"; };
@@ -228,6 +230,7 @@
228230
1A5C4C952B35B0850032EE1F /* CountlyTests */ = {
229231
isa = PBXGroup;
230232
children = (
233+
96C05AAF2E8293630028A976 /* CountlyHealthTrackerTests.swift */,
231234
96DA74BA2D9FB687006FA6FF /* MockFeedbackWidget.swift */,
232235
962485B92D9E971400FA3C20 /* TestUtils.swift */,
233236
96329DE32D952F1500BFD641 /* MockURLProtocol.swift */,
@@ -509,6 +512,7 @@
509512
3964A3E72C2AF8E90091E677 /* CountlySegmentationTests.swift in Sources */,
510513
96DA74BB2D9FB687006FA6FF /* MockFeedbackWidget.swift in Sources */,
511514
962485BA2D9E971800FA3C20 /* TestUtils.swift in Sources */,
515+
96C05AB02E82936F0028A976 /* CountlyHealthTrackerTests.swift in Sources */,
512516
3972EDDB2C08A38D00EB9D3E /* CountlyEventStruct.swift in Sources */,
513517
96E680422BFF89AC0091E105 /* CountlyCrashReporterTests.swift in Sources */,
514518
);
@@ -768,7 +772,7 @@
768772
"@loader_path/Frameworks",
769773
);
770774
MACOSX_DEPLOYMENT_TARGET = 10.14;
771-
MARKETING_VERSION = 25.4.3;
775+
MARKETING_VERSION = 25.4.6;
772776
PRODUCT_BUNDLE_IDENTIFIER = ly.count.CountlyiOSSDK;
773777
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
774778
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -800,7 +804,7 @@
800804
"@loader_path/Frameworks",
801805
);
802806
MACOSX_DEPLOYMENT_TARGET = 10.14;
803-
MARKETING_VERSION = 25.4.3;
807+
MARKETING_VERSION = 25.4.6;
804808
PRODUCT_BUNDLE_IDENTIFIER = ly.count.CountlyiOSSDK;
805809
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
806810
PROVISIONING_PROFILE_SPECIFIER = "";

ios/src/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 = @"25.4.3";
32+
NSString* const kCountlySDKVersion = @"25.4.6";
3333
NSString* const kCountlySDKName = @"objc-native-ios";
3434

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

ios/src/CountlyConfig.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ extern CLYConsent const CLYConsentPerformanceMonitoring;
8888
extern CLYConsent const CLYConsentFeedback;
8989
extern CLYConsent const CLYConsentRemoteConfig;
9090
extern CLYConsent const CLYConsentContent;
91+
extern CLYConsent const CLYConsentMetrics;
9192

9293
//NOTE: Push Notification Test Modes
9394
typedef NSString* CLYPushTestMode NS_EXTENSIBLE_STRING_ENUM;
@@ -389,6 +390,13 @@ typedef enum : NSUInteger
389390
*/
390391
@property (nonatomic) NSUInteger requestDropAgeHours;
391392

393+
/**
394+
* Set the request timeout duration in seconds
395+
* Minimum value is "1" second
396+
* Default value is "30" seconds
397+
*/
398+
@property (nonatomic) NSInteger requestTimeoutDuration;
399+
392400
/**
393401
* Limit for the length of all string keys.
394402
* @discussion It affects:

ios/src/CountlyConfig.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,11 @@ - (instancetype)init
7373

7474
self.URLSessionConfiguration = NSURLSessionConfiguration.defaultSessionConfiguration;
7575

76-
self.internalLogLevel = CLYInternalLogLevelDebug;
76+
self.internalLogLevel = CLYInternalLogLevelVerbose;
7777

7878
self.enableOrientationTracking = YES;
7979
self.remoteConfigGlobalCallbacks = NSMutableArray.new;
80+
self.requestTimeoutDuration = 30;
8081
}
8182

8283
return self;

ios/src/CountlyConnectionManager.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ extern const NSInteger kCountlyGETRequestMaxLength;
4040

4141
+ (instancetype)sharedInstance;
4242

43+
- (void)recordMetrics:(nullable NSDictionary *)metricsOverride;
44+
4345
- (void)beginSession;
4446
- (void)updateSession;
4547
- (void)endSession;

0 commit comments

Comments
 (0)