public void RestorePurchase() { if (!SoomlaStore.TransactionsAlreadyRestored()) { SoomlaStore.RestoreTransactions(); } }
public void RestoreRemoveAds() { Debug.Log("restoring: remove ads"); IAPHandler.errorMsg = "Waiting...Connecting to store."; if (Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer) { SoomlaStore.RestoreTransactions(); } else { } }
// Use this for initialization public void click() { googleAnalytics.LogEvent(new EventHitBuilder() .SetEventCategory("Button") .SetEventLabel("removeAds") .SetEventAction("click")); if (StoreInventory.GetItemBalance(boutique.NO_ADS_LTVG.ItemId) <= 0) { try { SoomlaStore.RestoreTransactions(); } catch (Exception e) { Debug.LogError("SOOMLA/UNITY " + e.Message); } try { StoreInventory.BuyItem(boutique.NO_ADS_LTVG.ItemId); } catch (Exception e) { popUpErreur.SetActive(true); Debug.LogError("SOOMLA/UNITY " + e.Message); } } }
public void restorePurchases() { SoomlaStore.RestoreTransactions(); isFullUnlocked(); }
public void RestoreTransactions() { SoomlaStore.RestoreTransactions(); }
public void restorePurchases() { Debug.Log("Restoring previous purchases!"); SoomlaStore.RestoreTransactions(); }
public void onRestoreInapp() { SoundManager.Instance.PlayClickSound(); SoomlaStore.RestoreTransactions(); }
public void RestoreApp() { Events.OnLoading(true); SoomlaStore.RestoreTransactions(); }