Skip to content

Commit

Permalink
clarify usage of sharedInstance (#320)
Browse files Browse the repository at this point in the history
* added comment to clarify that using sharedInstance before configuring the SDK throws an exception

* removed reference to "shared instance or null"

* fix trailing space
  • Loading branch information
aboedo authored May 24, 2021
1 parent 0b86e7f commit 1d06be1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,8 @@ class Purchases @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE) intern

/**
* Singleton instance of Purchases. [configure] will set this
* @return A previously set singleton Purchases instance or null
* @return A previously set singleton Purchases instance
* @throws UninitializedPropertyAccessException if the shared instance has not been configured.
*/
@JvmStatic
var sharedInstance: Purchases
Expand Down

0 comments on commit 1d06be1

Please sign in to comment.