Skip to content

Commit

Permalink
Merge pull request #375 from Countly/arifBurakDemiray-patch-1
Browse files Browse the repository at this point in the history
fix: recursive set
  • Loading branch information
turtledreams authored Feb 4, 2025
2 parents da6882a + 586086d commit 8f0e91c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 25.1.1
* Mitigated an issue while setting zone timer interval for content.

## 25.1.0
* Added dynamic resizing functionality for the content zone
* Added a config option to content (setZoneTimerInterval) to set content zone timer. (Experimental!)
Expand Down
2 changes: 1 addition & 1 deletion Countly-PL.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Countly-PL'
s.version = '25.1.0'
s.version = '25.1.1'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
s.homepage = 'https://github.com/Countly/countly-sdk-ios'
Expand Down
2 changes: 1 addition & 1 deletion Countly.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Countly'
s.version = '25.1.0'
s.version = '25.1.1'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
s.homepage = 'https://github.com/Countly/countly-sdk-ios'
Expand Down
4 changes: 2 additions & 2 deletions Countly.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 25.1.0;
MARKETING_VERSION = 25.1.1;
PRODUCT_BUNDLE_IDENTIFIER = ly.count.CountlyiOSSDK;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -770,7 +770,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 25.1.0;
MARKETING_VERSION = 25.1.1;
PRODUCT_BUNDLE_IDENTIFIER = ly.count.CountlyiOSSDK;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion CountlyCommon.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ @interface CountlyCommon ()
#endif
@end

NSString* const kCountlySDKVersion = @"25.1.0";
NSString* const kCountlySDKVersion = @"25.1.1";
NSString* const kCountlySDKName = @"objc-native-ios";

NSString* const kCountlyErrorDomain = @"ly.count.ErrorDomain";
Expand Down
8 changes: 4 additions & 4 deletions CountlyContentConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ - (instancetype)init
#if (TARGET_OS_IOS)
-(void)setGlobalContentCallback:(ContentCallback) callback
{
self.contentCallback = callback;
_contentCallback = callback;
}

- (ContentCallback) getGlobalContentCallback
{
return self.contentCallback;
return _contentCallback;
}


-(void)setZoneTimerInterval:(NSUInteger)zoneTimerIntervalSeconds
{
if (zoneTimerIntervalSeconds > 15) {
self.zoneTimerInterval = zoneTimerIntervalSeconds;
_zoneTimerInterval = zoneTimerIntervalSeconds;
}
}

- (NSUInteger) getZoneTimerInterval
{
return self.zoneTimerInterval;
return _zoneTimerInterval;
}
#endif

Expand Down

0 comments on commit 8f0e91c

Please sign in to comment.