Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Не работает Amazon версия в релизе #516

Open
Bestlis opened this issue Oct 21, 2015 · 0 comments
Open

Не работает Amazon версия в релизе #516

Bestlis opened this issue Oct 21, 2015 · 0 comments

Comments

@Bestlis
Copy link

Bestlis commented Oct 21, 2015

При тестировании покупки работают отлично.
Когда заливаю приложение на Amazon, после устанавливаю, то не работают покупки.
Не приходит никаких событий инициализации: ни success, ни failed.

Версия плагина 0.9.8.6
Версия Unity 5.2.0f3

Код инициализации:
const string sku_5 = "sku_5coins";
const string sku_12 = "sku_12coins";
const string sku_50 = "sku_50coins";
const string sku_50_5 = "sku_50coins_5";
const string sku_200 = "sku_200coins";
const string sku_500 = "sku_500coins";

void Start()
{
    OpenIAB.enableDebugLogging(true);

    OpenIAB.mapSku(sku_5, OpenIAB_Android.STORE_AMAZON, ".sku_5coins");
    OpenIAB.mapSku(sku_12, OpenIAB_Android.STORE_AMAZON, "sku_12coins");
    OpenIAB.mapSku(sku_50, OpenIAB_Android.STORE_AMAZON, "sku_50coins");
    OpenIAB.mapSku(sku_50_5, OpenIAB_Android.STORE_AMAZON, "sku_50coins_5");
    OpenIAB.mapSku(sku_200, OpenIAB_Android.STORE_AMAZON, sku_200coins");
    OpenIAB.mapSku(sku_500, OpenIAB_Android.STORE_AMAZON, sku_500coins");

    var options = new OnePF.Options();
    //options.verifyMode = OptionsVerifyMode.VERIFY_SKIP;
    //options.checkInventory = false;
    options.availableStoreNames = new string[] { OpenIAB_Android.STORE_AMAZON };
    options.prefferedStoreNames = new string[] { OpenIAB_Android.STORE_AMAZON };
    //options.storeSearchStrategy = SearchStrategy.INSTALLER_THEN_BEST_FIT;

    OpenIAB.init(options);
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant