UUIDProvider
@objc
public class UUIDProvider : NSObject
Use UUIDProvider.shared.getUUID() to get the device UUID
-
The shared instance of the UUID Provider
Declaration
Swift
@objc public static let shared: UUIDProvider
-
This function checks the
SpeedifyServiceAccount
that was specified inside of the info.plist for the containing app. It will then check the devices keychain to see if the entry is present, if it is not then a keychain entry will be saved and the resulting UUID will be returned.Declaration
Swift
@objc public func getUUID() -> String