Skip to content

Commit

Permalink
5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
unity-thull committed Nov 3, 2022
1 parent 2dd5100 commit cf53dd4
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [5.0.2](https://github.com/deltaDNA/ios-sdk/releases/tag/5.0.2)

### Fixed
- Resuming an app from the background after a session has expired and the SDK is stopped will no longer throw an exception

## [5.0.1](https://github.com/deltaDNA/ios-sdk/releases/tag/5.0.1)

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions DeltaDNA.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Pod::Spec.new do |spec|

# Spec Metadata
spec.name = "DeltaDNA"
spec.version = "5.0.1"
spec.version = "5.0.2"
spec.summary = "A gaming analytics platform."

spec.homepage = "https://deltadna.com"
Expand All @@ -18,7 +18,7 @@ Pod::Spec.new do |spec|
spec.platform = :ios

# Source Location
spec.source = { :http => "https://github.com/deltaDNA/ios-sdk/releases/download/5.0.1/DeltaDNA-5.0.1.zip" }
spec.source = { :http => "https://github.com/deltaDNA/ios-sdk/releases/download/5.0.2/DeltaDNA-5.0.2.zip" }

# Source Code
spec.vendored_frameworks = 'build/Frameworks/DeltaDNA.xcframework'
Expand Down
2 changes: 1 addition & 1 deletion DeltaDNA/DDNASettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import "DDNASettings.h"

NSString *const DDNA_SDK_VERSION = @"iOS SDK v5.0.1";
NSString *const DDNA_SDK_VERSION = @"iOS SDK v5.0.2";
NSString *const DDNA_ENGAGE_API_VERSION = @"4";

NSString *const DDNA_EVENT_STORAGE_PATH = @"{persistent_path}";
Expand Down
4 changes: 3 additions & 1 deletion DeltaDNA/DDNATrackingSdk.m
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,9 @@ - (void)appWillEnterForeground:(NSNotification *)notification
NSTimeInterval backgroundSeconds = [[NSDate date] timeIntervalSinceDate:self.lastActiveDate];
if (backgroundSeconds > self.sdk.settings.sessionTimeoutSeconds) {
self.lastActiveDate = nil;
[self.sdk newSession];
if (self.sdk.started) {
[self.sdk newSession];
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ target 'MyApp' do
# 如果你使用Swift或者想要使用动态框架,请取消此行注释
use_frameworks!

pod 'DeltaDNA', '~> 5.0.1'
pod 'DeltaDNA', '~> 5.0.2'

target 'MyAppTests' do
inherit! :search_paths
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ target 'MyApp' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
use_frameworks!

pod 'DeltaDNA', '~> 5.0.1'
pod 'DeltaDNA', '~> 5.0.2'

target 'MyAppTests' do
inherit! :search_paths
Expand Down
4 changes: 2 additions & 2 deletions buildFrameworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ xcodebuild -create-xcframework -framework archives/ios_devices.xcarchive/Product

# Compress the archive ready for distribution to GitHub
rm build/*.zip
zip -r DeltaDNA-5.0.1.zip build
mv DeltaDNA-5.0.1.zip build/
zip -r DeltaDNA-5.0.2.zip build
mv DeltaDNA-5.0.2.zip build/

0 comments on commit cf53dd4

Please sign in to comment.