Testing In-App Purchase promotion with App Store build before enabling on App Store

Hi,


I used the following documentation: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_promoted_in-app_purchases to test in-app purchase workflows initiated from the app store promotions. The test URL (itms-services://?action=purchaseIntent&bundleId=com.example.app&productIdentifier=product_name) worked just fine with a development build as it launched the app and initiated the purchase process but when I tried to use it with an app store build it didn't work (app would not launch). Is this the expected behavior? And if so, is there a way to test the workflow with app store builds before I enable the app store promotions?

Replies

Were you using the correct bundle id? For a lot of developers the bundle id is different for local builds than for production builds.

Were you ever able to figure this out? I am also having trouble using the itms-services://?action=purchaseIntent... URL to launch my production build.