Skip to content

Commit a67cd99

Browse files
committed
Fix inverted EUID/UID2 manager initialization
1 parent d8df68e commit a67cd99

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

securesignals-gma-dev-app/src/main/java/com/uid2/dev/GMADevApplication.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ class GMADevApplication : Application() {
1717
// custom implementation. This can be done to allow wrapping something like OkHttp.
1818
try {
1919
if (getMetadata().isEnvironmentEUID()) {
20-
UID2Manager.init(
20+
EUIDManager.init(
2121
context = this,
22-
environment = Production,
2322
isLoggingEnabled = true,
2423
)
2524
} else {
26-
EUIDManager.init(
25+
UID2Manager.init(
2726
context = this,
27+
environment = Production,
2828
isLoggingEnabled = true,
2929
)
3030
}

securesignals-ima-dev-app/src/main/java/com/uid2/dev/IMADevApplication.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ class IMADevApplication : Application() {
1717
// custom implementation. This can be done to allow wrapping something like OkHttp.
1818
try {
1919
if (baseContext.getMetadata().isEnvironmentEUID()) {
20-
UID2Manager.init(
20+
EUIDManager.init(
2121
context = this,
22-
environment = Production,
2322
isLoggingEnabled = true,
2423
)
2524
} else {
26-
EUIDManager.init(
25+
UID2Manager.init(
2726
context = this,
27+
environment = Production,
2828
isLoggingEnabled = true,
2929
)
3030
}

0 commit comments

Comments
 (0)