简体   繁体   English

如何了解我的iOS应用正在运行哪些设备/操作系统版本?

[英]How can I learn which devices/OS versions my iOS app is being run on?

I understand that apple no longer allows me to send "device data" to third-party services. 我了解到Apple不再允许我向第三方服务发送“设备数据”。 As a result of this, Flurry and presumably every other analytics company no longer collects OS/hardware version data. 结果,Flurry和大概所有其他分析公司都不再收集操作系统/硬件版本数据。 However, this data is very valuable to anyone trying to target development toward the people who are actually using the apps. 但是,这些数据对于任何尝试将开发目标对准实际使用这些应用程序的人来说都是非常有价值的。

I can imagine a few different ways to collect this data. 我可以想象有几种收集数据的方法。

1) Send a custom event indicating the hardware/os version to Flurry. 1)向Flurry发送一个自定义事件,指示硬件/操作系统版本。 This, of course, is in direct violation of the agreement with Apple. 当然,这直接违反了与苹果的协议。 However, I suspect plenty of people are doing this, and just not getting busted. 但是,我怀疑很多人都在这样做,只是没有破产。 Still, not an ideal solution. 仍然不是理想的解决方案。 Even if Apple didn't notice that we were sending this data, I'd rather not have the possibility of the app getting pulled hanging over my head. 即使Apple没有注意到我们正在发送此数据,我也不希望该应用程序挂在我头上。

2) Use an analytics package which allows me to collect data on my own server. 2)使用一个分析软件包,该软件包可使我在自己的服务器上收集数据。 Localytics is one company which seems to offer this. Localytics是一家似乎提供此服务的公司。 However, I don't think they offer this with their free plan. 但是,我认为他们没有免费计划提供此功能。 Is anyone aware of any free (or cheap) analytics tools which will allow me to send data to my own server? 是否有人知道有任何免费(或便宜)的分析工具可让我将数据发送到自己的服务器?

3) Roll my own solution. 3)推出我自己的解决方案。 This could either be an entire replacement for Flurry, or I could continue to use flurry, but send only the device data to my own server. 这可以完全替代Flurry,也可以继续使用Flurry,但仅将设备数据发送到我自己的服务器。 This is a little clunky. 这有点笨拙。 I'd much rather have all my analytics data in one place. 我宁愿将所有分析数据都放在一个地方。 And would much rather not have to deal with building my own tool if I don't have to 如果我不需要,我宁愿不必处理自己构建的工具

So, is anyone else collecting device data? 那么,还有其他人在收集设备数据吗? Are you using one of the above techniques? 您是否在使用以上技术之一? Or maybe something different I hadn't thought of? 也许我没有想到过的其他东西?

Hi maybe "Testflight Live" could help you. 嗨,也许“ Testflight Live”可以帮助您。

As far as I know Testflight is allowed by Apple. 据我所知,Apple允许使用Testflight。

https://testflightapp.com/sdk/live/ https://testflightapp.com/sdk/live/

I've heard of people using UIWebViews to connect to a webpage with a counter. 我听说有人使用UIWebViews通过计数器连接到网页。 The counter is incremented each time a page is accessed, and the pages are separated by feature/UIView. 每次访问页面时,计数器都会递增,并且页面由功能/ UIView分隔。 This way the developer can tell which features get the most usage. 通过这种方式,开发人员可以判断出哪些功能获得了最大的利用。

As far as device data, you most likely are looking at rolling your own tracking mechanism, probably going through a server like Google App Engine that's set up to receive your data. 至于设备数据,您很可能正在考虑采用自己的跟踪机制,可能会通过设置为接收数据的Google App Engine之类的服务器。

I made this an answer so I could continue to check back, because I'd like to know some more info as well. 我将此作为答案,因此我可以继续进行检查,因为我也想知道更多信息。 I voted up your question and favorited it 我对您的问题投了赞成票并将其收藏

Good luck, sir 先生,祝你好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何知道我的XCode将部署到哪些iOS版本? - How can I tell which iOS versions my XCode will deploy to? 如何配置哪些设备可以使用我的应用程序? (即所有设备,包括老一代) - How can I configure which devices are able to use my app? (ie ALL devices, including older gen) 如何在Xcode 9的iOS设备上运行我的App? - How I can run my App on my iOS device in Xcode 9 ? 如何查找不同iOS设备(非OS版本)上的用户百分比? - How to find percentage of users on different iOS devices (not OS versions)? 查找应用程序可以运行的iOS版本? - Find what versions of iOS an app can run on? 我的iOS发布的应用程序可以在xcode 5中内置的ios 7为目标,可以在ios 10.2设备上运行吗? - Can my iOS published app, targeted for ios 7 built in xcode 5, run in ios 10.2 devices? 如何禁止 iOS 和 Android 设备登录我的应用程序 - How can I banned an iOS & Android devices from login to my app 我应该如何将ios应用程序安装到公司的设备上? - How should I install my ios app to devices in the company? iOS部署目标设置为iOS 4.2。该应用程序是否会在运行早期版本iOS的设备上运行? - iOS deployment target set to iOS 4.2. Will the app run on devices running earlier versions of iOS? 我如何在手机上有两个版本的应用程序? - How can I have two versions of my app on my phone?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM