Skip to content

Commit

Permalink
Merge pull request #62 from m1ga/androiddeps
Browse files Browse the repository at this point in the history
Android: Update dependencies
  • Loading branch information
hansemannn authored Dec 26, 2020
2 parents 994cd07 + 3d9a085 commit 61225f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ repositories {
}

dependencies {
implementation 'com.google.firebase:firebase-analytics:17.3.0'
implementation 'com.google.firebase:firebase-analytics:18.0.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ public void setScreenNameAndScreenClass(KrollDict parameters)
@Override
public void run()
{
instance.setCurrentScreen(TiApplication.getInstance().getCurrentActivity(), screenName, screenClass);
Bundle bundle = new Bundle(1);
bundle.putString(screenName, screenClass);
instance.logEvent(FirebaseAnalytics.Event.SCREEN_VIEW, bundle);
}
});
}
Expand Down

0 comments on commit 61225f4

Please sign in to comment.