Skip to content

Commit

Permalink
Fix inverted EUID/UID2 manager initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
dcaunt committed Sep 4, 2024
1 parent d8df68e commit a67cd99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ class GMADevApplication : Application() {
// custom implementation. This can be done to allow wrapping something like OkHttp.
try {
if (getMetadata().isEnvironmentEUID()) {
UID2Manager.init(
EUIDManager.init(
context = this,
environment = Production,
isLoggingEnabled = true,
)
} else {
EUIDManager.init(
UID2Manager.init(
context = this,
environment = Production,
isLoggingEnabled = true,
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ class IMADevApplication : Application() {
// custom implementation. This can be done to allow wrapping something like OkHttp.
try {
if (baseContext.getMetadata().isEnvironmentEUID()) {
UID2Manager.init(
EUIDManager.init(
context = this,
environment = Production,
isLoggingEnabled = true,
)
} else {
EUIDManager.init(
UID2Manager.init(
context = this,
environment = Production,
isLoggingEnabled = true,
)
}
Expand Down

0 comments on commit a67cd99

Please sign in to comment.