Skip to content

Commit

Permalink
Make sure we only keep a reference to the application context
Browse files Browse the repository at this point in the history
  • Loading branch information
tonidero committed Oct 7, 2024
1 parent 8ab9ad7 commit 5b57b16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ open class PurchasesConfiguration(builder: Builder) {
val pendingTransactionsForPrepaidPlansEnabled: Boolean

init {
this.context = builder.context
this.context = builder.context.applicationContext
this.apiKey = builder.apiKey.trim()
this.appUserID = builder.appUserID
this.purchasesAreCompletedBy = builder.purchasesAreCompletedBy
Expand Down

0 comments on commit 5b57b16

Please sign in to comment.