Skip to content

Commit

Permalink
fix: make ROOT_URL a @JvmField
Browse files Browse the repository at this point in the history
To fix functional tests execution
  • Loading branch information
wzieba committed Dec 13, 2023
1 parent b9d43a2 commit dcb6047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ class FunctionalTests {
field.set(this, url)
return ParselyTracker.sharedInstance(
siteId, flushInterval.inWholeSeconds.toInt(), activity.application
)
)!!
}

private companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ open class ParselyTracker protected constructor(siteId: String?, flushInterval:
private var instance: ParselyTracker? = null
private const val DEFAULT_FLUSH_INTERVAL_SECS = 60
private const val DEFAULT_ENGAGEMENT_INTERVAL_MILLIS = 10500
val ROOT_URL = "https://p1.parsely.com/".intern()
@JvmField val ROOT_URL = "https://p1.parsely.com/".intern()

/**
* Singleton instance accessor. Note: This must be called after [.sharedInstance]
Expand Down

0 comments on commit dcb6047

Please sign in to comment.