RevenueMore 是一款强大的 SDK,旨在简化 iOS、Android 和其他移动平台上的收入管理。轻松简化应用内购买、订阅管理和收入跟踪。
使用 RevenueMore 有效优化和管理您的移动应用收入。访问我们的文档页面,立即开始使用。
提示
为了捕获所有错误,请尽早初始化 SDK,例如在您的 AppDelegate application:didFinishLaunchingWithOptions 方法中
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
RevenueMore.logLevel = Log.info
RevenueMore.start(
apiKey: "xxx-yyy-zzz",
userId: "rm_test_user_ios",
forceFinishTransaction: false,
language: .english
)
return true
}
对于 SwiftUI
@main
struct SwiftUIApp: App {
var body: some Scene {
WindowGroup {
ContentView()
.task {
RevenueMore.logLevel = Log.info
RevenueMore.start(
apiKey: "xxx-yyy-zzz",
userId: "rm_test_user_ios",
forceFinishTransaction: false,
language: .english
)
}
}
}
}
平台 | 最低目标 |
---|---|
iOS | 12.0+ |
tvOS | 12.0+ |
macOS | 10.13+ |
watchOS | 9.0+ |
visionOS | 1.0+ |