{"repo":"capacitor-community/firebase-analytics","free":true,"listed":false,"github":"https://github.com/capacitor-community/firebase-analytics","clone":"git clone https://github.com/capacitor-community/firebase-analytics.git","description":"Enable Firebase Analytics for Capacitor Apps","language":"Java","stars":178,"topics":["capacitor","firebase","analytics","plugin"],"license":"MIT","category":"analytics","readme_excerpt":"Firebase Analytics @capacitor-community/firebase-analytics Capacitor community plugin for native Firebase Analytics . ❗❗ Breaking changes when updating to ✏️v8.0.0✏️❗❗ ✏️✏️ This plugin now supports Capacitor 7 only. For Capacitor 6, 5 and 4 please use version listed below ✏️✏️ Plugin versions Capacitor version Plugin version ----------------- -------------- 8.x 8.x 7.x 7.x 6.x 6.x 5.x 5.0.1 4.x 1.0.1 Installation Using npm: Using yarn: Sync native files: Note: You may also need to run File Sync Project with Gradle Files in order for Android Studio to recognize the import. Configuration No configuration is required for this plugin. Examples Click here for an example on how to implement this plugin. You can also clone the repository: Supported methods Name Android iOS Web :------------------------ :------ :-- :-- setUserId ✅ ✅ ✅ setUserProperty ✅ ✅ ✅ getAppInstanceId ✅ ✅ ❌ setScreenName ✅ ✅ ❌ reset ✅ ✅ ❌ logEvent ✅ ✅ ✅ setCollectionEnabled ✅ ✅ ✅ setSessionTimeoutDuration ✅ ✅ ✅ enable ✅ ✅ ✅ disable ✅ ✅ ✅ Usage Setup Navigate to the project settings page for your app on Firebase. iOS Download the GoogleService-Info.plist file. In Xcode right-click on the yellow folder named \"App\" and select the Add files to \"App\" . Tip: if you drag and drop your file to this location, Xcode may not be able to find it. Android Download the google-services.json file and copy it to android/app/ directory of your capacitor project. Variables This plugin will use the following project variables (defin","default_branch":null,"files":null,"tree":[],"storefront":"/r/capacitor-community","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/capacitor-community/firebase-analytics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}