Version: 2020.1
Configurando para la Windows Store
Configuración del Samsung Galaxy IAP

Configuration for the Amazon Appstore

Introducción

This guide describes the process of setting up the Amazon Appstore for use with the Unity in-app purchasing (IAP) system. This includes establishing the digital records and relationships that are required to interact with the Unity IAP API, setting up an Amazon developer account, and testing and publishing a Unity IAP application.

As with other platforms, the Amazon store allows for the purchase of virtual goods and managed products. These digital products are identified using a string identifier and an additional type to define durability, with choices including subscription (capable of being subscribed to), consumable (capable of being rebought), and non-consumable (capable of being bought once).

Implementación multi-plataforma de in-app purchases (compras dentro de la app)

Hay problemas de instalación multi-tienda con publicar a varias tiendas Android IAP (e.g. Amazon y Google) de manera simultánea y con Android bundle indetifiers compartidos. Por favor mirar la página acerca de problemas de instalación multi-tienda con tiendas de Android in-app purchase para aprender más.

Amazon Appstore

Empezando

  1. Set up an Amazon developer account at the Amazon developer portal.
  2. Write a game implementing the Unity IAP API. For reference, see the guides on Unity IAP initialization and Integrating Unity IAP in your game. Use the Amazon Appstore for apps with no restrictions on IAP items.

Configuración del dispositivo

  1. For Android devices, download and install the Amazon Appstore.

  2. For FireOS devices, the Amazon Appstore should come pre-installed.

    Note: Though you may freely target FireOS devices, FireOS is not a Unity-supported platform.

  3. Once you have installed the Amazon Appstore, install the Amazon App Tester.

  4. Configure el Android SDK
    1. Para instalar y mirar el log (registro) de depuración de Android, asegúrese de que tenga en Android SDK instalado. Descargue el paquete de las herramientas de linea de comando relevante de la página de instalación Android SDK y extraigalos en su computador.
    2. Confirme que el SDK reconozca el dispositivo Android adjunto a través de la herramienta de linea de comando adb. Por ejemplo:
|[11:07:01] user@laptop:/Applications | $ adb devices
List of devices attached
00DA0807526300W5    device

Configuración de la app de Unity

La configuración para utilizar el IAP de Unity toma unos pocos pasos.

  1. Importe el plug-in de Unity IAP. Mirar Configurando Unity IAP para más información (Unity 5.3 o posterior).

  2. Set the IAP target store. You should already have an Android app set up. Set the target store using Unity IAP’s Window > Unity IAP > Android > Target Amazon menu item. This is used to toggle between Google, Amazon, and other Android stores.

Alternativamente, llame la API:

UnityPurchasingEditor.TargetAndroidStore(AndroidStore.AmazonAppStore)

Amazon Appstore setup

No se necesita descargar el plug-in nativo IAP de Amazon para utilizar las tiendas de Amazon, ya que toda la funcionalidad que proporciona ya está incluida en el servicio IAP de Unity.

  1. Agregue su app. Del Amazon Developer Portal seleccione Add a New App.

  2. Configure su catálogo. Utilizando las descripciones de producto que preparo antes, agregue los items al catálogo de Amazon utilizando el Amazon Developer Portal. Navegue a la página de su app, y encuentre la _sección In-App Items. Utilice los botones Add a Consumable, Add an Entitlement, or Add a Subscription para configurar su catálogo.

Configurando para la Windows Store
Configuración del Samsung Galaxy IAP