MM-41176 Don't send Rudder requests when blocked (#2285)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Harrison Healey 2022-02-16 13:11:19 -05:00 committed by GitHub
parent d4133ec9d9
commit 75e2862a80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,7 +193,9 @@ export default class Plugin {
anonymousId: TELEMETRY_OPTIONS.anonymousId,
})
rudderAnalytics.ready(() => {
TelemetryClient.setTelemetryHandler(new RudderTelemetryHandler())
})
}
}