Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: analytics on Android #664

Merged
merged 6 commits into from
Jan 21, 2025
Merged

feat: analytics on Android #664

merged 6 commits into from
Jan 21, 2025

Conversation

boringcactus
Copy link
Member

Summary

Ticket: GA for Android

I think this means I did a good job of designing the shared elements in #658.

iOS

  • [ ] If you added any user-facing strings on iOS, are they included in Localizable.xcstrings?
    • [ ] Add temporary machine translations, marked "Needs Review"

android

  • [ ] All user-facing strings added to strings resource
  • [ ] Expensive calculations are run in withContext(Dispatchers.Default) where possible

Testing

Verified with Firebase Analytics Debug View that all the events are being sent correctly.

@boringcactus boringcactus requested a review from a team as a code owner January 17, 2025 22:54
@@ -162,13 +162,6 @@ abstract class Analytics {
)
}

fun toggledPinnedRouteAtStop(pinned: Boolean, routeId: String) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This turned out to be redundant with the togglePinnedRoute that precedes it; we needed different names so the extensions didn't collide, but since we aren't defining each page's analytics as a separate extension on the AnalyticsProvider anymore, we do not need two equivalent versions of methods like this. I didn't need to make this part of this PR, but it felt like it wasn't worth spinning out into a separate PR.

@boringcactus boringcactus merged commit 920b82f into main Jan 21, 2025
7 checks passed
@boringcactus boringcactus deleted the mth-android-ga branch January 21, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants