I'm trying to implement the Firebase Analytics for Android
and it's not working.
So far what I have done is this https://firebase.google.com/docs/analytics/android/start/
private FirebaseAnalytics mFirebaseAnalytics;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//...
mFirebaseAnalytics = FirebaseAnalytics.getInstance(this);
mFirebaseAnalytics.setUserProperty("dev", "TEST");
// [START custom_event]
Bundle params = new Bundle();
params.putString("dev_name", "dev_name_test");
params.putString("dev_description", "Testing log events");
mFirebaseAnalytics.logEvent("dev_test", params);
// ....
Also I have disabled the disable Instant Run
:
To disable Instant Run: Open the Settings or Preferences dialog. Navigate to Build, Execution, Deployment > Instant Run. Uncheck the box next to Enable Instant Run
Any idea why is not working? I can't see anything in my firebase dashboard.