Skip to content

Commit

Permalink
fix: do not allow for SDK reinitialization
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Jan 19, 2024
1 parent fa1771a commit 35e9cdd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ public object ParselyTracker {
dryRun: Boolean = false,
) {
if (instance != null) {
Logging.log("Parse.ly has been already initialized. Previous configuration will be overwritten.")
Logging.log("Parse.ly SDK has been already initialized. Reinitialization is not supported.")
return
}
instance = ParselyTrackerInternal(siteId, flushInterval, context, dryRun)
}
Expand Down

0 comments on commit 35e9cdd

Please sign in to comment.