russell-archer / StoreHelper

Implementing In-App Purchases with StoreKit2 in Xcode 13 - 15 using SwiftUI, Swift 5.7 - 5.9, iOS 15 - 17 and macOS 12 - 14. Also supports tvOS and visionOS.
MIT License
422 stars 52 forks source link

Can I use this without having the local Product.plist configuration file? #59

Closed brainfuel closed 4 months ago

brainfuel commented 1 year ago

IAP products are regularly updated in my app and I retrieve them from our server. Am I forced to use the local Product.plist configuration file?

I see requestProductsFromAppStore(productIds which returns me the correct Products but when I check storeHelper.products?.count It's always 0.

russell-archer commented 11 months ago

Currently you are indeed forced to use a local Products.plist. I'll implement an enhancement to allow StoreHelper to get products from a server.

russell-archer commented 4 months ago

Will not make these changes as I'm developing a more modern, lightweight StoreKit helper that is based around StoreKit Views. Details to follow.