We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05881a3 commit 75d2a2cCopy full SHA for 75d2a2c
CHANGELOG.md
@@ -1,5 +1,7 @@
1
## Next
2
3
+- fix: wrong is_identified fallback value ([#317](https://github.com/PostHog/posthog-ios/pull/317))
4
+
5
## 3.20.0 - 2025-03-04
6
7
- feat: support multiple SDK instances ([#310](https://github.com/PostHog/posthog-ios/pull/310))
PostHog/PostHogStorageManager.swift
@@ -95,7 +95,7 @@ public class PostHogStorageManager {
95
public func isIdentified() -> Bool {
96
identifiedLock.withLock {
97
if isIdentifiedValue == nil {
98
- isIdentifiedValue = storage.getBool(forKey: .isIdentified) ?? (getDistinctId() != getDistinctId())
+ isIdentifiedValue = storage.getBool(forKey: .isIdentified) ?? (getDistinctId() != getAnonymousId())
99
}
100
101
return isIdentifiedValue ?? false
0 commit comments