Closed seth35us closed 1 year ago
Most likely Superwall.shared.subscriptionState
is .unknown
– can you confirm you uncommented the following in SuperwallService.swift
?
27 Task {
28 await StoreKitService.shared.loadSubscriptionState()
29 }
If you decide to manage purchasing on your own, you also must make sure this value is kept up to date
You are correct. I was missing that code. This was really well documented in retrospect. Sorry for the non-issue.
New issue checklist
README
and documentationGeneral information
Superwall
version: 3.0.0-beta.8Describe the bug
A clear and concise description of what the bug is. The more detail you can provide the faster our team will be able to triage and resolve the issue.
Superwall.shared.track(event: "campaign_trigger")
ifpurchaseController: shared
enabled on initial install.Steps to reproduce
Please also include a description of expected vs. actual behaviour
Other Information
e.g. stacktraces, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.