简体   繁体   English

在Android和iOS上将Flurry集成到同一个应用程序中

[英]Flurry integration into same app on Android and iOS

I have one app that is available on the Android store and the Apple store. 我在Android商店和Apple商店有一个应用程序。 I want to integrate Flurry analytics into them. 我想将Flurry分析集成到它们中。 On the Flurry management site, I do not have the option to create 1 application that targets Android AND iOS together. 在Flurry管理网站上,我没有选择创建一个同时针对Android和iOS的应用程序。

Can I just get both Flurry SDKs and use the same API key in my code so that both the Android and iOS versions log to the same profile even though the profile is set up to target iOS? 我是否可以获得两个Flurry SDK并在我的代码中使用相同的API密钥,以便即使配置文件设置为目标iOS,Android和iOS版本也会记录到相同的配置文件?

We've done two Flurry Analytics trials and it works fine. 我们已经完成了两次Flurry Analytics试用,效果很好。

We created a Flurry iOS project and logged to it with separate iOS & Android apps. 我们创建了一个Flurry iOS项目,并使用单独的iOS和Android应用程序登录到该项目。 We created a Flurry Android project and logged to it with separate iOS & Android apps. 我们创建了一个Flurry Android项目,并使用单独的iOS和Android应用程序登录到它。 In both cases actual devices were used. 在这两种情况下都使用了实际设备。

  • Sessions, active users work 会话,活跃用户工作
  • Versions are reported as the same 版本报告相同
  • Audience | 观众| Language is reported as the same 语言报告相同
  • Custom events are reported as the same internal Flurry ID:s 自定义事件报告为相同的内部Flurry ID:s
  • Technical web views for device models & firmware versions show both iOS & Android entries. 设备型号和固件版本的技术Web视图显示iOS和Android条目。

Flurry Crash Analytics would probably be an issue, for example only one desym file. Flurry Crash Analytics可能是一个问题,例如只有一个desym文件。 But we can't use Flurry Crash Analytics for iOS anyway, so as long as the Flurry project is an Android project it should be ok. 但是我们无论如何都不能使用Flurry Crash Analytics for iOS,所以只要Flurry项目是一个Android项目就可以了。

The only drawback is that it is not officially supported by Flurry. 唯一的缺点是Flurry没有正式支持它。

Although I've never done that and I'm not sure if it can be done because Flurry wants you to specify a platform when you are setting up your app I would say its the wrong idea. 虽然我从来没有这样做过,但我不确定是否可以这样做,因为Flurry希望你在设置应用程序时指定一个平台,我会说错了主意。 I would just create two apps on flurry and keep them unique. 我会在乱舞中创建两个应用程序并保持它们的独特性。 In fact I personally create two apps for my iOS apps that are universal and just register a different flurry key if the same app is started on an iPad vs an iPhone. 事实上,我个人为我的iOS应用程序创建了两个应用程序,这些应用程序是通用的,如果在iPad和iPhone上启动相同的应用程序,只需注册一个不同的乱序密钥。 You may miss out on important device information if you try to combine them. 如果您尝试将它们组合在一起,则可能会错过重要的设备信息。

为此,你必须乱七八糟地创建2个不同的应用程序。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM