File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,30 +18,6 @@ class Gumroad {
1818 let appState = AppState . shared
1919
2020 func checkLicenseKeyValidity( key: String , save: Bool , isNewRegistration: Bool ) async throws -> Bool {
21- // Tester shortcut (kept)
22- if key == " i-am-a-tester " {
23- if save {
24- AppState . shared. setPlusTemporarily ( true )
25- AppState . shared. licenseDetails = LicenseDetails (
26- key: key,
27- email: " tester@example.com " ,
28- productName: " Test Mode " ,
29- orderNumber: 0 ,
30- purchaserID: " tester " ,
31- usesCount: 0 ,
32- price: 0 ,
33- currency: " usd " ,
34- saleTimestamp: " " ,
35- subscriptionCancelledAt: nil ,
36- subscriptionEndedAt: nil ,
37- subscriptionFailedAt: nil ,
38- refunded: false ,
39- disputed: false ,
40- chargebacked: false
41- )
42- }
43- return true
44- }
4521
4622 // Select product id based on chosen plan
4723 let selectedPlan = UserDefaults . standard. licensePlanType
You can’t perform that action at this time.
0 commit comments