Apple 的 advertisingIdentifier 与 mac 地址?
Apple's advertisingIdentifier vs mac address?
Apple 的 advertisingIdentifier 和 mac 地址有什么区别?它能代替mac地址吗?路由器可以读取吗?例如advertisingIdentifier在堆栈的应用层。
来自关于此主题的Apple documentation:
Unlike the identifierForVendor property of the UIDevice, the same value is returned to all vendors. This identifier may change—for example, if the user erases the device—so you should not cache it.
如果标识符可以更改,那么与您设备的 mac
地址等同的可能性很小。
If the value is nil, wait and get the value again later. This happens, for example, after the device has been restarted but before the user has unlocked the device.
因此 Apple 在 iOS
启动时计算此值,它可能会在计算标识符(以及其他信息)时使用 mac 地址,但这并不能保证两者相同。
路由器可能会将其视为网络流量的一部分(如果您未使用 SSL
),但它们不知道那是 advertisingIdentifier
。
Apple 的 advertisingIdentifier 和 mac 地址有什么区别?它能代替mac地址吗?路由器可以读取吗?例如advertisingIdentifier在堆栈的应用层。
来自关于此主题的Apple documentation:
Unlike the identifierForVendor property of the UIDevice, the same value is returned to all vendors. This identifier may change—for example, if the user erases the device—so you should not cache it.
如果标识符可以更改,那么与您设备的 mac
地址等同的可能性很小。
If the value is nil, wait and get the value again later. This happens, for example, after the device has been restarted but before the user has unlocked the device.
因此 Apple 在 iOS
启动时计算此值,它可能会在计算标识符(以及其他信息)时使用 mac 地址,但这并不能保证两者相同。
路由器可能会将其视为网络流量的一部分(如果您未使用 SSL
),但它们不知道那是 advertisingIdentifier
。