[英]On how many devices my iOS app is installed
After a whole day search, i'm unable to find a good solution 经过一整天的搜索,我找不到理想的解决方案
Apple does't allow to check IMEI number of iDevice Apple不允许检查iDevice的IMEI号码
Apple does't allow to check UDID (Its deprecated) Apple不允许检查UDID(已弃用)
there is an option of "identifierForVendor" , but i found it may change if user uninstall and reinstall the app. 有一个“ identifierForVendor”选项,但是我发现如果用户卸载并重新安装该应用程序,它可能会更改。
My Problem at this time is this 我目前的问题是
for single "Specific USER NAME" any one can install my app on upto 5 iDevices, after that user must change the "USER NAME" 对于单个“特定用户名”,任何人都可以在最多5台iDevice上安装我的应用,而该用户必须更改“用户名”
my app just ask this on first Launch and never again. 我的应用仅在首次启动时询问此问题,以后再也不会询问。 at this stage i want a check or Counter Like anything that counts the iDevices for that "USER NAME" to check if it is 1st, second ….
在这个阶段,我想要一个检查或计数器,就像对“用户名”的iDevice进行计数的任何东西一样,以检查它是否是第一,第二……。 ……… or fifth.
……或第五。 ….
…。
need your ideas or help on this matter / issue 在这个问题/问题上需要您的想法或帮助
您可以尝试使用applet提供的令牌来进行APN(Apple推送通知),这对于device + app来说是唯一的……可能会出现问题,即应用程序会要求用户获得推送通知的权限,但是您可以将其强制设置为您的应用程序,并使其仅在casa用户接受的情况下起作用。
What i have got from your question is that you need a unique identifier to identify total devices . 我从您的问题中得到的是,您需要一个唯一的标识符来标识全部设备。 Please take a look at my answer here at this post i may help you understand many things ( How to generate unique identifier which should work in all iOS versions? )
请看这篇文章的答案,我可能会帮助您了解很多事情( 如何生成在所有iOS版本中都适用的唯一标识符? )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.