How do I build for different Android stores?


  • I am unable to change the Store that Unity IAP targets.
  • I would like to switch (for example) from Google Play to Amazon Appstore?


You wish to use the correct app store when using the IAP service within your game.


Manually set the Android store (aka “Android Flavor”) using the Window > Unity IAP > Android > Target Amazon menu item.

Or programmatically call UnityPurchasingEditor.TargetAndroidStore():

using UnityEngine;

using System.Collections;

using UnityEngine.Purchasing;

public class Example : MonoBehaviour {

        void SetAndroidStoreTarget ()





Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


  • 0
    Rachit Jain

    For me it doesn't show select store at runtime option in the submenu.

    Refer to the screenshot below:

  • 0
    Ben Stoneman

    Hi Rachlt,

    Yes, I will need to update this article.

    After speaking with a colleague I was told that the menu option is gone, but the example code in the following forum post works.

    If you have any further questions please send us a support ticket via the analytics dashboard.


Article is closed for comments.