Skip to content

Commit

Permalink
fix: fix optOut (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhao900914 authored Sep 20, 2022
1 parent bfc21dc commit e476e4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/com/amplitude/core/Amplitude.kt
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ open class Amplitude internal constructor(
private fun process(event: BaseEvent) {
if (configuration.optOut) {
logger.info("Skip event for opt out config.")
return
}
amplitudeScope.launch(amplitudeDispatcher) {
isBuilt.await()
Expand Down

0 comments on commit e476e4c

Please sign in to comment.