ios - Apple In App Purchase - How to fetch a product's subscription duration from the app store? -


can tell me how iap subscription length?

i have app. have defined auto renewing subscription product , have defined 3 different subscription lengths product - 1 month, 6 months , 12 months.

i able poll app store , fetch iap product information 3 subscriptions.

however - can not fetch subscription length.

of course know product id #1 1 month. can not length apple means i'll have hard code duration app.

surely there way localised string details subscription length?

i think need store durations in app. since should have plist productids or @ least own server stores valid productids can make plist in app bundle stores productids durations. plist productids

and durations: enter image description here


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -