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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -