Skip to content

Commit

Permalink
temp user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
RingerJK committed Jan 25, 2023
1 parent 3d1c7bd commit 718975c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ object MapboxMetricsReporter : MetricsReporter {
accessToken: String,
userAgent: String
) {
// todo REMOVE
val _userAgent = "com.mapbox.onetap.app/v0.146.0-7-g8fc5f5c/1465 MapboxNavigationNative/123.2.0MapboxNavigationNative MapboxCommon/23.2.1 Android (13; r0s (SM-S901B))"
isTelemetryInitialized = true
val eventsServerOptions = EventsServerOptions(accessToken, userAgent, null)
val eventsServerOptions = EventsServerOptions(accessToken, _userAgent, null)
eventsService = EventsServiceProvider.provideEventsService(eventsServerOptions)
telemetryService = TelemetryServiceProvider.provideTelemetryService(eventsServerOptions)
eventsService.registerObserver(eventsServiceObserver)
Expand Down

0 comments on commit 718975c

Please sign in to comment.