firebase-analytics

Include Firebase Analytics in library

烈酒焚心 提交于 2019-12-18 07:48:08
问题 I have multiple Android apps that all include a custom library. This library is the core of the apps, and each app just contains a main activity extending an activity from the library to decide which flavour the specific app has. I now want to include Firebase Analytics in the whole app, including the library, but I cannot wrap my head around how to. The google-services.json file should be different for each app, but I can not include the google-services plugin without a google-services file

Firebase Analytics not working with Instant App or Normal App

99封情书 提交于 2019-12-18 05:56:05
问题 I have an app that is modularized to support instant-apps. App modules: app instantapp base main detail search I tried to add Firebase by adding: classpath ' com.google.gms:google-services:3.1.1 ' → to the Project Level build.gradle api " com.google.firebase:firebase-core:${versions.firebase} " → to the Base Module apply plugin: ' com.google.gms.google-services ' → to the bottom of the Base Module google-services.json → to the base module folder When I run the non-instant app I receive the

Firebase -> BigQuery how to get active users for that month, week, day

筅森魡賤 提交于 2019-12-18 04:14:47
问题 I have absolutely no idea where to start on this, I've already searched google for information and came up with nothing. I have many apps from Firebase feeding into BigQuery. I want to be able to get the active users for that month from bigquery. There has got to be a way that you can simply do this. Any help would be great. Thanks. 回答1: It should be possible to count the number of distinct fullVisitorId , grouped by month: #standardSQL SELECT EXTRACT(MONTH FROM TIMESTAMP_MICROS(user_dim

Error: cannot access zzbgl

这一生的挚爱 提交于 2019-12-17 21:06:02
问题 I am developing an application and I am getting the following error: error: cannot access zzbgl class file for com.google.android.gms.internal.zzbgl not found I know there's a question here in StackOverflow with the same error that I'm getting posted 4 days ago but the answer did not help in my case. (I am talking about this one) The error appeared just right after setting Firebase Analytics in my project. My build.gradle (Module: app) file is this: buildscript { repositories { maven { url

Firebase analytics AppMeasurement not enabled

穿精又带淫゛_ 提交于 2019-12-17 16:17:00
问题 I have followed all the instructions for integrating Firebase analytics correctly in my project. But when I enable debug logging to make sure the events are being sent (using instructions from here) I see E/FA ( 3556): AppMeasurementReceiver not registered/enabled E/FA ( 3556): AppMeasurementService not registered/enabled E/FA ( 3556): Uploading is not possible. App measurement disabled and obviously the events are not being sent. Again I have followed all the instructions . 回答1: It turns out

How to get an export of firebase analytics full historic data?

 ̄綄美尐妖づ 提交于 2019-12-17 13:40:59
问题 I have setup Firebase analytics data to BigQuery. However I received my first export today and it contains all yesterdays user statistics. That is great but I need lifetime statistics history or at least last month's data. Do I already have access to my entire historic analytics data threw Big Query but I and I do not know how to access it? If so can you point to documentation or give a quick walk threw? Is it even possible to get the full (or at least a longer period than a day) historic

How to export Firebase analytics data

不羁的心 提交于 2019-12-17 12:46:09
问题 I'm trying to figure out if it's possible to export all the Firebase Analytics data to an excel spreadsheet, similar to how you can do it with Google Analytics. From what I can find the only way to go about doing it is to link with BigQuery then do some SQL statements to build a table and export. Unfortunately for us this is not going to work (due to client budget and capabilities). Is there any other way to export this data that I'm missing? 回答1: Update : You can now export the analytics

Shall I use Special Characters in Firebase Param Value “event_params.value.string_value” & query in Bigquery?

限于喜欢 提交于 2019-12-13 07:50:05
问题 In Firebase it is clearly mentioned that "Param values can be up to 100 characters long. The "firebase_", "google_" and "ga_" prefixes are reserved and should not be used." Source: https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Param But in Google, they did not mention the usage of special characters. Shall I use special characters like forward slash & Unicode in Firebase Param Value "event_params.value.string_value"? Will the special

Why am I not seeing Firebase Analytics logging in logcat?

不打扰是莪最后的温柔 提交于 2019-12-13 05:56:21
问题 I have done this according to the docs: adb shell setprop log.tag.FA VERBOSE adb shell setprop log.tag.FA-SVC VERBOSE adb logcat -v time -s FA FA-SVC source But this is all the output I see: 05-25 16:45:32.992 I/FA ( 7019): App measurement is starting up, version: 9080 05-25 16:45:32.992 I/FA ( 7019): To enable debug logging run: adb shell setprop log.tag.FA VERBOSE I am certainly logging events as I have confirmed in the debugger that I'm calling the logEvent() API ( and I do see them (much

Engagement Time Calculation When App Is In Background

久未见 提交于 2019-12-13 04:18:15
问题 How to calculate engagement time whenever my app is in background. User engagement (firebase automatically collected event) calculate periodically, while the app is in the foreground. But how to add the time in user engagement when my app is in back ground. Or i need to instrument other event.. Any Idea???? 回答1: When your app is in the background, the user isn't "engaged" with it at all. With newer versions of Android, the OS may immediately kill your backgrounded app at any time without