Quantcast
Channel: Questions in topic: "iap"
Viewing all articles
Browse latest Browse all 595

isSubscribed() and isCancelled() is always return Result.True?

$
0
0
I'm testing my subscription right now. But isCancelled() is return Result.True when I canclled test subscribe in Google Account. IEnumerator SubsCheckCoroutine() { while (true) { if (VipType == ESubsType.None) { yield return new WaitForSeconds(1.0f); } else { var product = Purchaser.GetInstance.GetSubscriptionProduct(_vipType); if (product != null) { SubscriptionManager subsManager = new SubscriptionManager(product, null); if (subsManager.getSubscriptionInfo().isCancelled() == Result.True) { Debug.Log("Cancelled."); } else { Debug.Log("Not Cancelled."); } } yield return new WaitForSeconds(1.0f); } } }

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>