We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 472c2ae + fa1bbaf commit 6d37bcbCopy full SHA for 6d37bcb
ios/AutomaticProperties.swift
@@ -5,7 +5,7 @@ class AutomaticProperties {
5
static var peopleProperties: Dictionary<String, MixpanelType> = [:];
6
7
static func setAutomaticProperties(_ properties: [String: Any]) {
8
- for (key,value) in properties {
+ for (key,value) in properties ?? [:] {
9
peopleProperties[key] = MixpanelTypeHandler.mixpanelTypeValue(value)
10
}
11
0 commit comments