I would like to be able to add new products and/or subscriptions without having to release a new app version. I can get the latest list of products from my server database and place them into an array, but I am having trouble running them individually.
If I place just a single product into AppStoreModule.GetProductInfo( ) it works fine, but if I place multiple lines (e.g. looping through an array), each with only one product, the app crashes on the second AppStoreModule.GetProductInfo( ) line.
I have tried to place them into a String array, but it needs to receive a ‘Paramarray Identifier As String’, and I don’t know how to create one of these to then pass it on. Any clues on what to try next?
Well, does this method call SKProductsRequestMBS?
There we take lust of IDs.
So instead of request per product better make one request for all products.
and this works. I needed to get GetProductInfo to accept, then pass on, the String array, and that does it.
This means I can add new products on my MySQL server without having to update the app on the MAS. The MAS app needs only to download the HTML template text from my MySQL server, so there is no concept of the program not understanding the new product, so yes, I can ‘sell products the app doesn’t know about’!
Thanks to all!