HI, im having trouble settings the desired store at runtime. Im currently building with UnityCloud and need to set the required store at runtime.
I have a conditional flag for the Amazon build (“KINDLE”).
StandardPurchasingModule storeModule;
#if KINDLE
storeModule = StandardPurchasingModule.Instance(AppStore.AmazonAppStore);
#else
storeModule = StandardPurchasingModule.Instance();
#endif
// Create a builder, first passing in a suite of Unity provided stores.
var builder = ConfigurationBuilder.Instance(storeModule);
however when i upload to the Amazon store it fails because the Store is incorrect. If i build locally and manual set the Store via the Unity IAP menu, it works.
Please could someone let me know what I am doing wrong here.