Skip to content

Commit

Permalink
Update android/src/main/java/com/amplitude/android/Amplitude.kt
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Fiedler <[email protected]>
  • Loading branch information
Mercy811 and justin-fiedler authored Jan 22, 2024
1 parent cbbcd9a commit 7c4d418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/com/amplitude/android/Amplitude.kt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ open class Amplitude(
}
this.createIdentityContainer(identityConfiguration)

if (this.configuration.offline != null) {
if (this.configuration.offline != AndroidNetworkConnectivityCheckerPlugin.Disabled) {
add(AndroidNetworkConnectivityCheckerPlugin())
}
androidContextPlugin = AndroidContextPlugin()
Expand Down

0 comments on commit 7c4d418

Please sign in to comment.