diff --git a/Assets/Resources/VersionCode.txt b/Assets/Resources/VersionCode.txt index 2edeafb..8fdd954 100644 --- a/Assets/Resources/VersionCode.txt +++ b/Assets/Resources/VersionCode.txt @@ -1 +1 @@ -20 \ No newline at end of file +22 \ No newline at end of file diff --git a/Assets/Scripts/SingletonManagers/Managers/IAPManager.cs b/Assets/Scripts/SingletonManagers/Managers/IAPManager.cs index 15ef1ab..75dcb3a 100644 --- a/Assets/Scripts/SingletonManagers/Managers/IAPManager.cs +++ b/Assets/Scripts/SingletonManagers/Managers/IAPManager.cs @@ -24,7 +24,7 @@ public class IAPManager : MonoBehaviour, IDetailedStoreListener private bool isInitialize = false; private static readonly string TAG = "IAPManager"; - string[] all_products = { "com.fgb.cash500", "com.fgb.cash2000", "com.fgb.cash7500", + string[] all_products = { "com.fgb.cash500", "com.fgb.cash1800", "com.fgb.cash7500", "com.fgb.heart20", "com.fgb.heart150", "com.fgb.heart500" }; private Dictionary signatureMap = new Dictionary(); string onstore_publickey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCCkywe50yx7BpLXxrkothbVVY5hyHNq/L4u0ExhMxIY7lj6yX4TZjQtWGr+gPakI28RNO8QEVMBtDxtWb1/JyMPIcqzwLqqwYhFdtUxNSkIOpZHDx8+spXotwcKG6zm5w7c8iXcHg8hnlrUArLYdNcRh/cMu+bHIAsx1BKS5rDSwIDAQAB"; @@ -73,7 +73,7 @@ public class IAPManager : MonoBehaviour, IDetailedStoreListener /* 구글 플레이 상품들 추가 */ //builder.AddProduct("com.fgb.adsremove", ProductType.Consumable); builder.AddProduct("com.fgb.cash500", UnityEngine.Purchasing.ProductType.Consumable); - builder.AddProduct("com.fgb.cash2000", UnityEngine.Purchasing.ProductType.Consumable); + builder.AddProduct("com.fgb.cash1800", UnityEngine.Purchasing.ProductType.Consumable); builder.AddProduct("com.fgb.cash7500", UnityEngine.Purchasing.ProductType.Consumable); builder.AddProduct("com.fgb.heart20", UnityEngine.Purchasing.ProductType.Consumable); builder.AddProduct("com.fgb.heart150", UnityEngine.Purchasing.ProductType.Consumable); @@ -246,7 +246,7 @@ public class IAPManager : MonoBehaviour, IDetailedStoreListener GameManager.DB.AddTotalCashPerMonth(Get_Price(id)); FireBaseMgr.Ins.LogPurchase(id, Get_Price(id), "KRW"); break; - case "com.fgb.cash2000": + case "com.fgb.cash1800": GameManager.DB.AddKey(2000, this.name); GameManager.DB.AddTotalCashPerMonth(Get_Price(id)); FireBaseMgr.Ins.LogPurchase(id, Get_Price(id), "KRW");