Skip to content

Commit 49ed791

Browse files
Updated SDK version to 23.2.3 (#103)
* Updated SDK version to 23.2.3 - Updated Underlying android SDK version to 22.09.4 - Updated Underlying iOS SDK version to 23.02.2 - Updated Changelog * removed iOS extra file * fixed android duplicate class issue * Update CHANGELOG.md --------- Co-authored-by: ArtursKadikis <kadikis.arturs@gmail.com>
1 parent 351048e commit 49ed791

22 files changed

+283
-8
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 23.2.3
2+
* Not reporting battery level in the crash handler to prevent hanging in iOS
3+
* Fixing bug that prevented device ID to be changed when there is no consent given in Android
4+
* Updated Underlying android SDK version to 22.09.4
5+
* Updated Underlying iOS SDK version to 23.02.2
6+
7+
## 23.2.3-np
8+
* Not reporting battery level in the crash handler to prevent hanging in iOS
9+
* Fixing bug that prevented device ID to be changed when there is no consent given in Android
10+
* Updated Underlying android SDK version to 22.09.4
11+
* Updated Underlying iOS SDK version to 23.02.2
12+
113
## 23.2.2
214
* Added "previous event ID" logic for non-internal events
315
* Session update interval upper limit (10 minutes) has been lifted in Android

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ android {
3434
}
3535

3636
dependencies {
37-
implementation 'ly.count.android:sdk:22.09.3'
37+
implementation 'ly.count.android:sdk:22.09.4'
3838
implementation 'com.google.firebase:firebase-messaging:20.2.1'
3939
}

example-no-push/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ dependencies {
5959
testImplementation 'junit:junit:4.12'
6060
androidTestImplementation 'com.android.support.test:runner:1.0.2'
6161
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
62-
implementation 'ly.count.android:sdk:22.09.3'
62+
implementation 'ly.count.android:sdk:22.09.4'
6363
}
6464

example/android/app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ dependencies {
5959
testImplementation 'junit:junit:4.12'
6060
androidTestImplementation 'com.android.support.test:runner:1.0.2'
6161
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
62-
implementation 'ly.count.android:sdk:22.09.3'
62+
implementation 'ly.count.android:sdk:22.09.4'
6363
implementation 'com.google.firebase:firebase-messaging:20.2.1'
64+
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
6465
}
6566
apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin
6667

ios/Classes/CountlyiOS/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 23.02.2
2+
- Added server configuration functionality. This is an experimental feature.
3+
- Not reporting battery level in the crash handler to prevent hanging
4+
15
## 23.02.1
26
- Added previous event ID and sending it with custom events.
37
- Updated default `maxSegmentationValues` from 30 to 100

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 = '23.02.1'
3+
s.version = '23.02.2'
44
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,14 @@ - (void)startWithConfig:(CountlyConfig *)config
117117
CountlyDeviceInfo.sharedInstance.customMetrics = [config.customMetrics cly_truncated:@"Custom metric"];
118118

119119
[Countly.user save];
120+
121+
CountlyCommon.sharedInstance.enableServerConfiguration = config.enableServerConfiguration;
122+
123+
// Fetch server configs if 'enableServerConfiguration' is true.
124+
if(config.enableServerConfiguration)
125+
{
126+
[CountlyServerConfig.sharedInstance fetchServerConfig];
127+
}
120128

121129
#if (TARGET_OS_IOS)
122130
CountlyFeedbacks.sharedInstance.message = config.starRatingMessage;

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 = '23.02.1'
3+
s.version = '23.02.2'
44
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
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.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#import "CountlyLocationManager.h"
2323
#import "CountlyRemoteConfig.h"
2424
#import "CountlyPerformanceMonitoring.h"
25+
#import "CountlyServerConfig.h"
2526

2627
#define CLY_LOG_E(fmt, ...) CountlyInternalLog(CLYInternalLogLevelError, fmt, ##__VA_ARGS__)
2728
#define CLY_LOG_W(fmt, ...) CountlyInternalLog(CLYInternalLogLevelWarning, fmt, ##__VA_ARGS__)
@@ -57,6 +58,7 @@ NS_ERROR_ENUM(kCountlyErrorDomain)
5758
CLYErrorFeedbackWidgetNotTargetedForDevice = 10002,
5859
CLYErrorRemoteConfigGeneralAPIError = 10011,
5960
CLYErrorFeedbacksGeneralAPIError = 10012,
61+
CLYErrorServerConfigGeneralAPIError = 10013,
6062
};
6163

6264
@interface CountlyCommon : NSObject
@@ -72,6 +74,7 @@ NS_ERROR_ENUM(kCountlyErrorDomain)
7274
@property (nonatomic, copy) NSString* attributionID;
7375
@property (nonatomic) BOOL manualSessionHandling;
7476
@property (nonatomic) BOOL enableOrientationTracking;
77+
@property (nonatomic) BOOL enableServerConfiguration;
7578

7679

7780
@property (nonatomic) NSUInteger maxKeyLength;

ios/Classes/CountlyiOS/CountlyCommon.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ @interface CountlyCommon ()
2626
#endif
2727
@end
2828

29-
NSString* const kCountlySDKVersion = @"23.02.1";
29+
NSString* const kCountlySDKVersion = @"23.02.2";
3030
NSString* const kCountlySDKName = @"objc-native-ios";
3131

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

0 commit comments

Comments
 (0)