refactor: 移除友盟相关代码并清理项目结构
主要变更: 1. 从 Podfile 中移除 UMCommon 和 UMDevice 依赖,简化项目依赖管理。 2. 从 AppDelegate 中移除友盟初始化代码,减少不必要的依赖。 3. 删除 GlobalEventManager 相关文件,清理未使用的代码。 此更新旨在提升项目的可维护性,减少冗余依赖,确保代码结构更加清晰。
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
|
||||
|
||||
#import "AppDelegate.h"
|
||||
#import <UMCommon/UMCommon.h>
|
||||
#import <MobLinkPro/MobLink.h>
|
||||
#import <MobLinkPro/MLSDKScene.h>
|
||||
#import "TabbarViewController.h"
|
||||
@@ -115,12 +114,7 @@ void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const
|
||||
|
||||
- (void)initUM:(UIApplication *)application
|
||||
launchOptions:(NSDictionary *)launchOptions {
|
||||
// 只有同意过了隐私协议 才初始化
|
||||
if ([[NSUserDefaults standardUserDefaults] objectForKey:@"kYouMinumbernnagna"]) {
|
||||
///初始化友盟
|
||||
[UMConfigure initWithAppkey:@"6434c6dfd64e686139618269"
|
||||
channel:@"appstore"];
|
||||
}
|
||||
// 初始化 MobLink
|
||||
[MobLink setDelegate:self];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user