Anybody get firebase analytics working for android and ios?

Manager saw some google analytics and wanted it our mobile app.

Start to use
https://ionicframework.com/docs/native/firebase-analytics/

Got things working somewhat on the android side. Seems to be kind of limited because of single page app? Not sure.
Can’t get it working on the ios side. Keep adding more plugins like one for cocoapods. Getting errors like.

Installing pods
Sit back and relax this could take a while.
Analyzing dependencies

[!] CocoaPods could not find compatible versions for pod “Firebase/Core”:
In snapshot (Podfile.lock):
Firebase/Core (= 5.4.0, ~> 5.0)

In Podfile:
Firebase/Core (~> 5.0)

Specs satisfying the Firebase/Core (~> 5.0), Firebase/Core (= 5.4.0, ~> 5.0) dependency were found, but they required a higher minimum deployment target.

And
‘FirebaseCore/FirebaseCore.h’ file not found

Saw a different plugin
https://ionicframework.com/docs/native/firebase/

Seems more stable? Also seems like you have to setup notifications, right now all we want is analytics.

Anybody get these working on an ionic app?