App Tester prerequisites
Your development and testing environment must meet the following prerequisites to run test cases with App Tester:- Your development environment allows logging using VDA and logcat. Here are more details about how to Connect using VDA, as well as the VDA commands.
- Your app implements the Vega IAP API method calls.
- You have no SDK Tester on the device. SDK Tester is not compatible with App Tester or with the Vega IAP SDK.
- You have added the following information to the manifest.toml file.
Download App Tester
The App Tester is a free app. Download the app and view the installation instructions on this page.For React Native 0.72
Here’s how you set it up on your device:Archived Customer Choice Billing downloads
Install App Tester on your device
Here’s how you set it up on your device:- To install and launch the IAP App Tester, follow the instructions on how to Run your app on Vega Virtual Device or Fire TV Stick.
Installing on a Fire TV device
To push .vpkg fileInstalling on a Vega Virtual Device
To start VVDCreate a JSON data file
The App Tester responds to API calls using data stored in a JavaScript Object Notation (JSON) file. The file contains purchase data for the IAP items. Automatically create the JSON file through the Apps & Games Developer Portal.- Go to your app’s page on the Apps & Games Developer Portal in a web browser.
- Add your IAP purchasable items to your app, if you haven’t already done so.
- Click the link to download your JSON Data File.
-
Name the downloaded file
amazon.sdktester.json. -
Push the SKU JSON file into the device.
1. To create a directory on the device
2. To push to a created directory
To create a JSON data file for VVD
1. To create this directory on the deviceFile format and example: IAP consumable and entitlement items
Consumable and Entitlement IAP Item Descriptions have the same format. TheitemType property indicates whether the item is ENTITLED or CONSUMABLE. Every purchasable item is associated with a unique identifier called an SKU.
File format and example: IAP subscription item
Subscription items are different from other types of items you purchase. Every purchasable item is associated with an identifier called an SKU that identifies it as unique. When a subscriber purchases an item, the system uses two SKUs. The “parent SKU” describes what the subscription is for (such as a magazine title). The other SKU is the “terms SKU,” which describes the terms (price, length) of the subscription. The terms SKU is what actually gets purchased by a customer. Since the terms SKU is the purchasable item, the JSON IAP Item Description is for that item. However, the description must also contain a reference to the Parent SKU. Therefore, subscription item types include an additional property:subscriptionParent.

