Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

StoreKit to return all product IDs

This question is a little different from the others I've found here. My In App StoreKit is working, I can list products in my store successfully. I've gone through the Apple documentation and never saw my question addressed(I may have missed it).

My client(non-profit) would like to be able to accept donations through their App. I would like to let them have the ability to add new donation events on the fly without users having to update their app. What I mean is, they may have a special "Help us sponsor an event this upcoming Arbor Day" and accept donations particular to that case.

I am currently reading products like this:

SKProductsRequest *request= 
         [[SKProductsRequest alloc] initWithProductIdentifiers: 
          [NSSet setWithObjects: @"goldSponsor", @"silverSponsor"];

This means if that Arbor Day event comes up, I'll have to issue an update to include the @"arborSponsor" in my request list. How can I request every product under my bundle?

I've tried using @"com.thedomain.*" and some other guesses without luck. Is it possible to return the whole list, am I missing something very simple? Thanks!

like image 615
ryanday Avatar asked Dec 04 '09 02:12

ryanday


1 Answers

No, you can't get all products from App-store without IDs

Depend on Apple Documentation

enter image description here

like image 127
dimohamdy Avatar answered Sep 19 '22 19:09

dimohamdy