how to test Promoting Your In-App Purchases

2.4k views Asked by At

I am new in ios Development iOS11 Apple introduced IAP purchases that can be initiated from the AppStore & it can be displayed in search results, and may be featured on an appropriate tab on the App Store.

for me not showing where Can i see the promoting my In-App Purchases UI ?

Testing Promoted In-App Purchases

To test your promoted in-app purchases before your app is available in the App Store, Apple provides a system URL that triggers your app using the itms-services:// protocol.

The resulting URL looks like this:

itms-services://?action=purchaseIntent&bundleId=com.example.app&productIdentifier=product_name

1

There are 1 answers

5
Cagatay Kaptanoglu On

You can set up your in-app promotions at iTunesConnect under related app's page -> features -> App Store Promotions

Your in-app purchases won't actually show up in the App Store, until you've submitted a binary that has appropriate delegate methods.

You can use that URL for testing before go live. Once you have constructed this URL has the ITMS services protocol and three parameters.

The resulting URL looks like this: itms-services://?action=purchaseIntent&bundleId=com.example.app&productIdentifier=product_name

You can simple send this URL to yourself in an email or iMessage and open it from your device and tap it, your app will be opened automatically. So you will know the test is running when your app opens automatically. And you can then test your promoted in-app purchase's behavior from there.

You can find more information at Add an in-app purchase to promote (iOS)