issues
search
superwall
/
Superwall-iOS
Remotely configure every aspect of your paywall and double your revenue.
https://superwall.com
MIT License
88
stars
24
forks
source link
Internal purchase controller (only) refactor
#187
Closed
super-bryan
closed
10 months ago
super-bryan
commented
10 months ago
Allows an internal purchase controller (termed "automatic purchase controller") to be used identically to an external purchase controller
Uncouples ReceiptManager logic from the original purchase controller
Moves receipt logic from the StoreKitManager into the ReceiptManager
Removes the need for if/else logic when it comes to purchase controller logic
Uses the adapter pattern only when necessary (i.e. only for objc types)
Makes classes more protocol-oriented to avoid tightly coupled classes