问题标签 [udid]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
10 回答
42439 浏览

ios - iOS6 UDID - identifierForVendor 与 identifierForAdvertising 相比有什么优势?

Apple 正在更改其 iOS6 的隐私设置并弃用设备 UUID (UDID)。根据 WWDC 演示文稿和文档,在UIDevice类中有两个 UDID 的替代品:

-identifierForVendor

  • 来自同一开发者的应用程序之间相同的 ID。
  • 删除该团队 ID 的最后一个应用程序后删除。
  • 备份。

-identifierForAdvertising

  • 设备独有。
  • 适用于所有应用程序;用于广告 — iAd 已从 iOS 6 及更高版本的 UDID 转换。
  • 使用“删除所有内容和设置”进行重置。
  • 备份。

在我看来,这似乎-identifierForVendor不如,-identifierForAdvertising因为它会在最后一次从供应商处卸载应用程序时重置,并通过“删除所有内容和设置”来重置。

-identifierForVendor有什么优势-identifierForAdvertising呢?

0 投票
2 回答
326 浏览

php - 如何每个浏览器会话只允许一个 POST?

如何每个浏览器会话只允许一个 POST?

0 投票
3 回答
374 浏览

php - 我如何只允许每个用户发布一个 POST?

这是添加到数据库的代码:

0 投票
1 回答
587 浏览

php - 如何在 php 中比较 iPhone UDID

我可以获取 iPhone udid 并将其发送到服务器。但是当我比较从 iPhone 发送的 udid 和从我的服务器发送的 udid 时,我的 php 代码从未找到任何匹配的东西。

我确信有一个与 iPhone 发送的匹配的 UDID,但我的 php 代码从未找到它。

php代码永远不会进入//做某事

0 投票
1 回答
1172 浏览

objective-c - iOS MDM:iOS MDM 和支持 MDM iOS 应用程序的通用密钥/ID

我正在研究 MDM 解决方案,我正面临 UDID 问题。我们有一个 iOS 应用程序作为 iOS MDM 服务器的支持应用程序。这个支持应用程序可以在 iOS 设备通过我们的 MDM 服务器注册 MDM 后启动。

在设备注册中,我们可以在服务器端获取设备 UDID,我们将此设备 UDID 用作 iOS MDM 和 iOS 支持应用程序的公共密钥。要在 iOS 支持应用程序中使用我们的 MDM 服务器登录,用户必须提供我们正在使用 api 捕获的用户 ID、密码和 UDID [[UIDevice currentDevice] uniqueIdentifier],因此对于身份验证,这 3 个参数是必需的。

但是苹果在 iOS 5.0 中已经弃用了设备 UDID,所以我们不能使用苹果 API 在 iOS 应用程序中捕获设备 UDID。

现在我们需要一些通用密钥,它在 iOS MDM 证书中可用,并且我们可以在 iOS 支持应用程序中生成。因此,哪个用户已将 iOS 设备注册到 MDM 服务器,只有该用户应该能够登录 iOS 支持应用程序。

0 投票
1 回答
658 浏览

ios - 如何获取 UDID 以进行配置?

听起来这个话题已经被打死了;但是,当您设置用于部署以测试设备的配置文件时,任意生成的 UUID 是不够的,您需要将实际的 UDID 包含在配置文件中。当然,您可以向用户提供一组说明以获取 ID,然后通过电子邮件将其发送给您 - 但它对客户更加友好,并且避免了自己在代码中获取的愚蠢错误 - 以前通过uniqueIdentifier方法。

因此,除了创建一个临时 UUID 之外,有没有人想出一个可以在 iOS6 中工作的好替代品,或者 Apple 是否提供了一些这样做的方法?我无法在文档中找到它。

0 投票
1 回答
221 浏览

android - 设备ID识别

我有一个网络和移动应用程序,它为企业及其各自的客户提供等候名单管理。目前在移动应用程序中,客户填写个人资料表格并将其本地保存在他们的设备(iPhone 和 Android)上。然后他们可以单独登记到选定的企业。当他们单击“签入”按钮时,他们的设备 ID 会附加配置文件信息并发送到 Web 应用程序。反过来,企业的员工可以将它们保存在他们的数据库中并向他们发送推送通知。

我想要做的是允许在员工手动添加客户姓名和电话号码但没有设备 ID 时发送这些推送通知。这样,移动应用程序用户就不必每次都通过提交他们的个人资料信息和设备 ID 来发起联系。

欢迎任何和所有建议。

0 投票
1 回答
339 浏览

ios6 - 我可以为我的企业获取 ios6 的 udid

我的公司使用 UDID 来保存 iphone 并确定他们是否有权使用某些应用程序。听说在 IOS 6 上,Apple 会移除 UDID。

我可以继续使用这个系统吗?

0 投票
2 回答
1327 浏览

iphone - 继续使用 OpenUDID 粘贴板方法而不是 identifierForVendor 的风险

即使使用最新的 iOS6 identifierForVendor,我发现当用户删除应用程序并且值将被重置时。

与传统的 OpenUDID 粘贴板方法不同,它保留在粘贴板中并且可以重复使用它们。

我看不到 Apple 是否会禁止粘贴板,所以我们应该继续在该pasteboards模式下使用 OpenUDID 吗?

(也pasteboards被广泛支持)

0 投票
3 回答
9572 浏览

iphone - iOS Provisioning Profile not installing on one particular device

I recently have distributed an app for testing, and the test team are having a problem installing the app, more specifically the provisioning profile associated with the app.

They are using an iPhone 4 (iOS 5.1.1) and are getting "Could not install the provisioning profile due to an unknown error"

I am used to seeing this when a UDID is not registered against the profile which is trying to be installed, but they are adamant that they have supplied the correct UDID. In terms of the profile, both looking at provisioning on the iOS Dev account, and opening in a text editor confirms that the UDID that has been supplied is definitely present.

My question is, are there any known issues (other than wrong UDID supplied) which could cause this to occur on a device, even if that device is authorised to install that particular provisioning profile?

Thanks