🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@ionic-native/firebase-analytics

Package Overview
Dependencies
Maintainers
7
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/firebase-analytics

Ionic Native - Native plugins for ionic apps

latest
Source
npmnpm
Version
5.36.0
Version published
Weekly downloads
523
-35.59%
Maintainers
7
Weekly downloads
 
Created
Source
Improve this doc

Firebase Analytics

This plugin is still in beta stage and may not work as expected. Please submit any issues to the plugin repo.

$ ionic cordova plugin add cordova-plugin-firebase-analytics
$ npm install @ionic-native/firebase-analytics

Usage Documentation

Plugin Repo: https://github.com/chemerisuk/cordova-plugin-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>

<meta-data
     tools:replace="android:value"
     android:name="firebase_analytics_collection_enabled"
     android:value="true"/>

<meta-data
     tools:replace="android:value"
     android:name="google_analytics_automatic_screen_reporting_enabled"
     android:value="false"/>

And in the same file, you'll have to add xmlns:tools="http://schemas.android.com/tools" to your manifest tag.

Supported platforms

  • Android
    • iOS

FAQs

Package last updated on 20 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts