public void RestoreProduct(string productId, InhouseCallback success, InhouseCallback failure) { _restoreProductSuccess = success; _restoreProductFail = failure; Native.restorePurchaseInApps(productId); }
public void ShowPopup3(string title, string message, string ok1, string ok2, string cancel, string url, InhouseCallback callback) { Guid guid = Guid.NewGuid(); string ident = guid.ToString(); if (callback != null) { _popupRateCallback.Add(ident, callback); } Native.showAlert2(ident, title, message, ok1, ok2, cancel, url); }
public void BuyProduct(string productId, InhouseCallback success, InhouseCallback failure) { _buyProductSuccess = success; _buyProductFail = failure; Native.buyProduct(productId); }