Verify that your app's BroadcastReceiver.
Music for Any Moment, start listening now.
The user installs and launches your app.An app developer might distribute promo codes at local businesses to encourage potential users to try the app.Test the following sequence: The user launches the app.Set up deal alerts for your favorite stores, categories, or products and we'll instantly alert you when a new deal is posted.YesNo, thank you for your feedback!The user enters the promo code in your app or in the Google Play Store app and receives the item at no cost.This site uses cookies to store your preferences for site-specific language and display options.Code code Here's an example: To learn how to generate links to Google Play from an Android app, see.Testing In-app Promotions If your app supports in-app promotions, test the following use cases.If your app supports the in-app purchase workflow (described.User redeems promo code in the app If the user redeems a promo code within the app's purchase flow, as described in Making In-app Billing requests, the system invokes your activity's onActivityResult method to handle the purchase.Due to the abnormal access request from the IP address you used, we need your help to verify the access request.Every promo code is associated with a particular product ID (also known as a, sKU ).To support promotion codes, your app must call the getPurchases method whenever the app starts or resumes.Promo codes let you give content or features away to a limited number of users free of charge.The user can type the code in the Google Play Store app manually, or you can generate a URL in your app that automatically provides the code in the Google Play Store for them.For example, if the user successfully redeems a promo code and then your app crashes before the item is consumed, your app still receives information about the purchase when the app calls getPurchases on irts concours its next startup.A user can redeem a promo code in one of these two ways: The user can enter the promo code as part of the app's ordinary purchase flow, as described.You can also keep an SKU off the Play Store, so that the only way to get that item is by entering that SKU's promo code.Your app should allow users to redeem promo codes inside the app itself.
(If the app is installed but not up-to-date, the Play Store prompts the user to update the app.) Test the following sequence on a device that doesn't have your app installed.