Skip to content

Commit 2f18348

Browse files
Ian BirdIanDBird
authored andcommitted
Fix minor issues and test Snapshots
1 parent 68916b3 commit 2f18348

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

sdk/src/main/java/com/uid2/UID2Manager.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class UID2Manager internal constructor(
376376
// The additional time we will allow to pass before checking the expiration of the Identity.
377377
private const val EXPIRATION_CHECK_TOLERANCE_MS = 50
378378

379-
private var api: String = UID2_API_URL_KEY
379+
private var api: String = UID2_API_URL_DEFAULT
380380
private var networkSession: NetworkSession = DefaultNetworkSession()
381381
private var storageManager: StorageManager? = null
382382

@@ -389,7 +389,7 @@ class UID2Manager internal constructor(
389389
fun init(context: Context) = init(context, DefaultNetworkSession())
390390

391391
/**
392-
* Initializes the class with the given [Context], along with a @see NetworkSession that will be responsible
392+
* Initializes the class with the given [Context], along with a [NetworkSession] that will be responsible
393393
* for making any required network calls.
394394
*
395395
* @param context The context to initialise from. This will be used to obtain the package's metadata to extract

settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ dependencyResolutionManagement {
1010
repositories {
1111
google()
1212
mavenCentral()
13+
14+
// Required when testing a Snapshot build from the DevApp.
15+
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
1316
}
1417
}
1518
rootProject.name = "UID2 Android SDK"

0 commit comments

Comments
 (0)