简体   繁体   English

我们应该使用哪个Pod代替GoogleAnalytics-iOS-SDK?

[英]Which pod should we use instead of GoogleAnalytics-iOS-SDK?

I am using pod GoogleAnalytics-iOS-SDK in my application. 我在应用程序中使用的是Google Analytics(分析)-iOS-SDK。 I see that it is deprecated now. 我看到它现在已被弃用。 Which one is replacement for that with all the existing functions. 哪一个是所有现有功能的替代品。 Thanks in advance. 提前致谢。

Open the Podfile created for your application and add the following: 打开为您的应用程序创建的Podfile,然后添加以下内容:

pod 'Google/Analytics', '~> 1.0.0'

https://developers.google.com/analytics/devguides/collection/ios/v3/ https://developers.google.com/analytics/devguides/collection/ios/v3/

Having wasted an inordinate amount of time keeping Google Analytics running cleanly in an existing app, I finally found this statement by Google: 在浪费大量时间使Google Analytics(分析)在现有应用中正常运行之后,我终于找到了Google的这一说法:

"Note: The Firebase SDK is the recommended method to track iOS apps" “注意:建议使用Firebase SDK跟踪iOS应用程序”

https://developers.google.com/analytics/devguides/collection/ios/v3/?ver=swift https://developers.google.com/analytics/devguides/collection/ios/v3/?ver=swift

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

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