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
410 stars 48 forks source link

Subscription group #40

Closed reza11331 closed 1 year ago

reza11331 commented 1 year ago

Hi,

I am encountering an issue retrieving subsection info. Since I already have my app on app store, there's not way for me to adopt the subscriptions Id to the give format (com.{developer}.subscription.{subscriptionGroupName}.{productName}) Isn't there an alternative way to get the info for a subscription group?

russell-archer commented 1 year ago

Hi Reza,

That naming convention for subscriptions was chosen so the developer doesn’t have to create yet another configuration file. For example, when you’re processing subscriptions you have to know things like the subscription group name. From memory, I think it would be possible in future versions to do everything required without using that convention. However, at present StoreHelper totally relies on the subscription naming convention to do various things.

So, the short answer is currently no, StoreHelper won’t work for you. When I have some spare time I’ll take a look if I can remove the need for the convention.

Russell

On 10 Jan 2023, at 14:25, Reza Kiani @.***> wrote:

Hi,

I am encountering an issue retrieving subsection info. Since I already have my app on app store, there's not way for me to adopt the subscriptions Id to the give format (com.{developer}.subscription.{subscriptionGroupName}.{productName}) Isn't there an alternative way to get the info for a subscription group?

— Reply to this email directly, view it on GitHub https://github.com/russell-archer/StoreHelper/issues/40, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRLWAZXLSPPJ4W2EVKGBGTWRVWM7ANCNFSM6AAAAAATW3VVQQ. You are receiving this because you are subscribed to this thread.

russell-archer commented 1 year ago

In-progress

russell-archer commented 1 year ago

Complete. Available in version 2.3 onwards. See Samples > Configuration > SampleProducts.plist for details.