1

所以我正在使用收入猫来处理我的 Flutter 应用程序的应用程序内购买 - 现在只连接到 iOS。我想通过试用版(通过 App Store Connect 的介绍性优惠)来测试它是如何工作的。

我正在记录从 RevenueCat 收到的购买响应,它看起来像

颤振:购买者信息{权利:EntitlementInfos{all: {all_plans: EntitlementInfo{identifier: all_plans, isActive: true, willRenew: true, periodType: PeriodType.normal, latestPurchaseDate: 2020-12-09T22:49:06Z, originalPurchaseDate: 2020-12-09T22:48:15Z, expirationDate: 2020-12-09T22:54:06Z, store: Store.appStore, productIdentifier: 2, isSandbox: true, unsubscribeDetectedAt: null, billingIssueDetectedAt: null}}, active: {all_plans: EntitlementInfo{identifier: all_plans, isActive: true, willRenew: true, periodType: PeriodType.normal, latestPurchaseDate: 2020-12-09T22:49:06Z, originalPurchaseDate: 2020-12-09T22:48:15Z, expirationDate: 2020-12-09T22:54:06Z, store: Store.appStore, productIdentifier: 2, isSandbox: true, unsubscribeDetectedAt: null, billingIssueDetectedAt: null}}}, latestExpirationDate: 2020-12-09T22:54:06Z, allExpirationDates: {2: 2020-12-09T22:54:06Z}, allPurchaseDates: {2: 2020-12-09T22:49:06Z}, activeSubscriptions: [2], allPurchasedProductIdentifiers: [2], firstSeen: 2020-11-16T00:03:13Z, originalAppUserId: $RCAnonymousID:c38c01542e7a4a7cb674d76147e71f84, requestDate: 2020-12-09T22:53:43Z, originalApplicationVersion: 1.0, originalPurchaseDate: 2013-08-01T07:00:00Z, managementURL: itms-apps://apps.apple.com/account/subscriptions, nonSubscriptionTransactions: []}

最近的到期日期是从现在起 5 分钟(这是预期的) - 当我上线时(不使用沙盒帐户),latestExpirationDate 是从现在起一个月(因为它是每月订阅)还是从现在起一周(试用结束日期)?如果不是,那么我应该在哪个字段中查看试用结束日期?我不清楚沙盒帐户,如果有人可以帮助我知道如何使用 RevenueCat 测试试用版,我会很高兴

谢谢

4

0 回答 0