ios - Hide in-app purchase while being reviewed by Apple -
i have iphone app in-app purchase , want able release app independently (the in-app purchase). in other words, there times in-app purchase "waiting review" state , shouldn't displayed app.
if understand correctly, in situation, skproductsresponse
object (returned apple app store in response request information list of products) have particular product listed under invalidproductidentifiers
array. thus, before displaying in-app purchase, inspect array check existence of product. should still allow apple test in-app purchase released version of app since assume testing done in sandbox in-app purchases valid.
is correct? should follow different approach?
you describe proper workflow displaying iap content user. put modal dialog or uiactivityindicator telling customer iap content being downloaded. use productidentifiers returned populate store gui.
i discourage hard coding in specific view specific in app purchase, , attempting populate view. can if you're smart , check valid content ahead of time, checking after customer expecting see can end both apple review , customer thinking app broken.
the least pretty implementation tableview displaying returned productidentifiers , respective prices, allowing customer pick familiar list.
Comments
Post a Comment