Skip to content

Commit 731eda9

Browse files
Release 1.0.10
🐛 Fix app state when late initializing SDK ⬆️ Bump SDK version
1 parent 6814bd4 commit 731eda9

File tree

6 files changed

+7
-21
lines changed

6 files changed

+7
-21
lines changed

Sample/UserpilotSwiftSample/UserpilotSample.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@
923923
"$(inherited)",
924924
"@executable_path/Frameworks",
925925
);
926-
MARKETING_VERSION = 1.0.9;
926+
MARKETING_VERSION = 1.0.10;
927927
PRODUCT_BUNDLE_IDENTIFIER = com.userpilot.sample.dev;
928928
PRODUCT_NAME = "$(TARGET_NAME)";
929929
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -958,7 +958,7 @@
958958
"$(inherited)",
959959
"@executable_path/Frameworks",
960960
);
961-
MARKETING_VERSION = 1.0.9;
961+
MARKETING_VERSION = 1.0.10;
962962
PRODUCT_BUNDLE_IDENTIFIER = com.userpilot.sample;
963963
PRODUCT_NAME = "$(TARGET_NAME)";
964964
PROVISIONING_PROFILE_SPECIFIER = "";

Sample/UserpilotSwiftSample/UserpilotSample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

Sources/Userpilot/Analytics/SessionMonitor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal class SessionMonitor: SessionMonitoring {
3737
private var hasInitializedForeground = false
3838

3939
/// A flag to mintor app status
40-
private var _isAppActive = false
40+
private var _isAppActive = true
4141

4242
/// Initializes the `SessionMonitor` with a dependency container that resolves an `AnalyticsPublishing` instance.
4343
/// - Parameter container: The dependency injection container used to resolve the required dependencies.

Sources/Userpilot/Experiences/Events/SDKEvent.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ internal extension SDKEvent {
3636
}
3737

3838
func isEventForCloseNPSExperience() -> Bool {
39-
return self.eventName == SDKEventsName.npsExperienceDismissed.rawValue
39+
return self.eventName == SDKEventsName.npsExperienceDismissed.rawValue ||
40+
self.eventName == SDKEventsName.npsExperienceSubmitted.rawValue
4041
}
4142

4243
}

Sources/Userpilot/Version.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ import Foundation
1414
/// The current version of the Userpilot SDK.
1515
private let versionMajor = "1"
1616
private let versionMinor = "0"
17-
private let versionPatch = "9"
17+
private let versionPatch = "10"
1818
let userpilotVersion = "\(versionMajor).\(versionMinor).\(versionPatch)"

Userpilot.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Pod::Spec.new do |spec|
22

33
spec.name = "Userpilot"
44
spec.module_name = "Userpilot"
5-
spec.version = "1.0.9"
5+
spec.version = "1.0.10"
66
spec.summary = "Userpilot iOS SDK allows you to integrate Userpilot experiences into your native iOS apps"
77

88
spec.description = <<-DESC

0 commit comments

Comments
 (0)