一次性配置内购服务

This commit is contained in:
2025-12-05 13:49:12 +08:00
parent d2258883df
commit ad18a47d21
3 changed files with 28 additions and 7 deletions

View File

@@ -36,13 +36,17 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// 1.
[[FGIAPManager shared] setConfigureWith:[IAPVerifyTransactionObj new]];
/// 2使
/// 1使
[KBLocalizationManager shared].supportedLanguageCodes = KBDefaultSupportedLanguageCodes();
/// 3 : token
/// 2 : token token
[[KBUserSessionManager shared] bootstrapIfNeeded];
/// 3
/// KBLoginVM
if ([KBUserSessionManager shared].isLoggedIn) {
[[FGIAPManager shared] setConfigureWith:[IAPVerifyTransactionObj new]];
}
// /访 Keychain
static NSString *const kKBFullAccessRecordInitializedKey = @"KBFullAccessRecordInitialized";