Firebase Analytics
Cordova plugin for Firebase Analytics
Go to firebase console and export google-services.json and GoogleService-Info.plist. Put those files into the root of your cordova app folder.
NOTE: on iOS in order to collect demographic, age, gender data etc. you should additionally include AdSupport.framework into your project.
#
Using capacitor?For Android you'll have to add in android/app/src/main/AndroidManfiest.xml under <application>
And in the same file, you'll have to add xmlns:tools="http://schemas.android.com/tools"
to your manifest tag.
https://github.com/chemerisuk/cordova-plugin-firebase-analytics
Stuck on a Cordova issue?
If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.
Installation#
- Capacitor
- Cordova
- Enterprise
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
#
Supported Platforms- Android
- iOS
#
Usage#
ReactLearn more about using Ionic Native components in React