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

Expose AnalyticsClient to all modules #1210

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Expose AnalyticsClient to all modules #1210

merged 1 commit into from
Nov 15, 2024

Conversation

tdchow
Copy link
Collaborator

@tdchow tdchow commented Nov 14, 2024

Summary of changes

  • Update AnalyticsClient scope from internal to @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)

Checklist

  • Added a changelog entry
  • Relevant test coverage

Authors

List GitHub usernames for everyone who contributed to this pull request.

@tdchow tdchow requested a review from a team as a code owner November 14, 2024 19:25
fun sendEvent(event: AnalyticsEvent) {
fun sendEvent(
eventName: String,
analyticsEventParams: AnalyticsEventParams = AnalyticsEventParams()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Takes in AnalyticsEventParams instead of AnalyticsEvent which is internal to the core module.

@tdchow tdchow merged commit 0eda811 into main Nov 15, 2024
3 checks passed
@tdchow tdchow deleted the analytics-client-scope branch November 15, 2024 16:17
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.

3 participants