StoreKit2
了解在项目里配置 StoreKit2 的 productIDs
如果您不想使用RevenueCat服务, EasyApp 也支持使用 原生的 StoreKit2 Api 来管理您的内购。
在哪里配置StoreKit2相关的Key
StoreKit2服务的配置代码在 EasyAppSwiftUI/Constants/Constants.swift 文件中。这里您主要了解在哪里配置 StoreKit2 的 productIDs即可。
如何一步步集成 StoreKit2,我们会在集成/StoreKit2文档中详细介绍。
enum Constants {
// ... 其他配置
/// StoreKit2 product IDs
/// Enter the product ID from App Store Connect here
enum StoreKit2 {
static let productIDs = ["your product ids"]
}
// ... 其他配置
}了解更多StoreKit2集成
Last updated on