Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mParticle-Apple-SDK/Utils/MPDevice.swift
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ import CoreTelephony
if let vendor = userDefaults[Device.kMPDeviceAppVendorIdKey] as? String, vendor != Device.kMPDeviceInvalidVendorId {
_vendorId = vendor
} else {
_vendorId = UUID().uuidString
_vendorId = UIDevice.current.identifierForVendor?.uuidString
userDefaults[Device.kMPDeviceAppVendorIdKey] = _vendorId
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heres the old functionality to compare this more easily. I think this is the correct fix comparing these

}
}
return _vendorId
Expand Down