SKProductStorePromotionController visibility updating doesn't work

Originator:hannes.oud.dev
Number:rdar://36275212 Date Originated:03-Jan-2018 04:49 PM
Status:Closed Resolved:
Product:iOS + SDK Product Version:iOS 11.2.1
Classification:Serious Bug Reproducible:Always
 
Summary:
The method update(storePromotionVisibility promotionVisibility:, for product:, completionHandler:) does not seem to have any effect.

Steps to Reproduce:
1. call SKProductStorePromotionController.default().update(storePromotionVisibility: .hide, for: validProductIdentifier, completionHandler: someCompletionHandler)
2. completionHandler is called without an error

Expected Results:
The IAP should now be hidden in the App Store.

Actual Results:
It remains visible in the App Store.
Also restarting App Store App doesn’t change this.

Version:
iOS 11.2.1

Notes:
We call the method with different parameters (.hide, .show, .default) for all 4 existing promoted IAP in our app, in any case all IAPs stay visible.

There is not effect when trying with a debug build, using sandbox user, or production using real users.

It is also not clear if DEBUG vs RELEASE / app store sandbox has any effect on the behaviour, please clarify this in the documentation.

Comments

Hannes Oud

Thanks, it is working now, good job! Please also have a look at rdar://36275010 again, it is a small request for improving the documentation.

By hannes.oud.dev at Feb. 15, 2018, 11:58 a.m. (reply...)

Apple Developer Relations

Engineering has provided the following information regarding this issue:

A fix was recently deployed. Can you please give this another try?

By hannes.oud.dev at Feb. 15, 2018, 11:57 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!