pod 'GoogleAnalytics' 和 pod 'Firebase/Analytics' 有什么不同?
What's different between pod 'GoogleAnalytics' and pod 'Firebase/Analytics'?
我想将 Firebase 云消息传递添加到项目中。作为 https://firebase.google.com/docs/cloud-messaging/ios/client 中的指南,我需要添加到 Podfile:
# Add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
# Add the pod for Firebase Cloud Messaging
pod 'Firebase/Messaging'
但是我在项目中看到已经有了
pod 'GoogleAnalytics'
所以我应该同时保留 pod 'GoogleAnalytics'
和 pod 'Firebase/Analytics'
还是只保留 pod 'GoogleAnalytics'
?它们有什么区别?
包括云消息传递在内的 Firebase 产品与 Firebase/Analytics
集成。 GoogleAnalytics pod 早于 Firebase 并且未集成。
(理解为命名混乱。)
我想将 Firebase 云消息传递添加到项目中。作为 https://firebase.google.com/docs/cloud-messaging/ios/client 中的指南,我需要添加到 Podfile:
# Add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
# Add the pod for Firebase Cloud Messaging
pod 'Firebase/Messaging'
但是我在项目中看到已经有了
pod 'GoogleAnalytics'
所以我应该同时保留 pod 'GoogleAnalytics'
和 pod 'Firebase/Analytics'
还是只保留 pod 'GoogleAnalytics'
?它们有什么区别?
包括云消息传递在内的 Firebase 产品与 Firebase/Analytics
集成。 GoogleAnalytics pod 早于 Firebase 并且未集成。
(理解为命名混乱。)