移除不使用的 pod 和代码

This commit is contained in:
eggmanQQQ
2024-09-18 17:03:45 +08:00
parent 76a80eaf1e
commit 280a0c7c43
10 changed files with 3 additions and 73 deletions

View File

@@ -6,7 +6,7 @@ target 'YuMi' do
#pag动画
pod 'libpag'
pod 'Bugly'
pod 'Adjust'
# pod 'Adjust'
pod 'Firebase/Analytics'
pod 'FBSDKLoginKit'
pod 'FBSDKCoreKit'
@@ -65,9 +65,7 @@ target 'YuMi' do
pod 'UMCommon'
pod 'UMDevice'
# pod 'lottie-ios'
pod 'ZLCollectionViewFlowLayout'
# pod 'WMZDropDownMenu'
pod 'TABAnimated'
pod 'YuMi',:path=>'yum'
pod 'QCloudCOSXML'

View File

@@ -24,7 +24,6 @@
#import "XPRoomViewController.h"
#import "XCCurrentVCStackManager.h"
#import "ClientConfig.h"
#import <Adjust/Adjust.h>
#import <UserNotifications/UserNotifications.h>
#import <Bugly/Bugly.h>
@@ -41,7 +40,6 @@ UIKIT_EXTERN NSString * adImageName;
[self setLanguage];
[self configShareSDK];
[self configNIMSDK];
[self configAdjust];
[self configBugly];
[self registerNot];
[self initEmojiData];
@@ -123,26 +121,6 @@ UIKIT_EXTERN NSString * adImageName;
#endif
}
-(void)configAdjust{
NSString *appToken = @"p5sndfu9udq8";
NSString *environment;
#ifdef DEBUG
environment = ADJEnvironmentSandbox;
#else
environment = ADJEnvironmentProduction;
#endif
ADJConfig*adjustConfig = [ADJConfig configWithAppToken:appToken
environment:environment];
#ifdef DEBUG
[adjustConfig setLogLevel:ADJLogLevelVerbose];
#else
#endif
[Adjust appDidLaunch:adjustConfig];
}
- (void)configShareSDK {
[PILineLoginManager registerLine];

View File

@@ -89,6 +89,8 @@
<string>36b91eeac7469</string>
<key>MOBAppSecret</key>
<string>63ec0702513aca17e20615dd5dfdc03f</string>
<key>MOBNetLater</key>
<string>2</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>

View File

@@ -154,7 +154,6 @@
AccountModel * model = [AccountModel modelWithDictionary:data.data];
if (model != nil) {
[[AccountInfoStorage instance] saveAccountInfo:model];
[XPAdjustEvent loginEvent];
[XNDJTDDLoadingTool hideOnlyView:kWindow];
[[NSUserDefaults standardUserDefaults]setValue:@(type) forKey:@"kLoginSuccessType"];
[[NSUserDefaults standardUserDefaults]synchronize];
@@ -268,7 +267,6 @@
AccountModel * model = [AccountModel modelWithDictionary:data.data];
if (model != nil) {
[[AccountInfoStorage instance] saveAccountInfo:model];
[XPAdjustEvent loginEvent];
[[NSUserDefaults standardUserDefaults]setValue:@(ThirdLoginType_Gmail) forKey:@"kLoginSuccessType"];
[[NSUserDefaults standardUserDefaults]synchronize];
[[self getView] loginThirdPartSuccess];

View File

@@ -270,7 +270,6 @@
/// ticket tabbaritem
[[AccountInfoStorage instance] saveTicket:nil];
[XPAdjustEvent registeringEvent];
NSString * inviteCode = self.codeTextField.text.length > 0 ? self.codeTextField.text : @"";
[PILoginManager jumpToHomeVCWithInviteCode:inviteCode];
}

View File

@@ -223,7 +223,6 @@
[[CountDownHelper shareHelper] stopCountDown];
[self disMissVC];
self.loginButton.enabled = YES;
[XPAdjustEvent loginEvent];
}
///

View File

@@ -116,7 +116,6 @@
while (vc.presentingViewController) {
vc = vc.presentingViewController;
}
[XPAdjustEvent loginEvent];
[vc dismissViewControllerAnimated:YES completion:nil];
[self.navigationController popToRootViewControllerAnimated:NO];
}

View File

@@ -43,7 +43,6 @@ isEnterprise = [bundleID isEqualToString:@"com.hflighting.yumi"];\
#import "NSDate+DateUtils.h"
#import "NSMutableDictionary+Saft.h"
#import "NetImageView.h"
#import "XPAdjustEvent.h"
#import "AccountInfoStorage.h"
#import "YYUtility.h"
#import <MJExtension/MJExtension.h>

View File

@@ -1,18 +0,0 @@
//
// XPAdjustEvent.h
// xplan-ios
//
// Created by duoban on 2022/11/10.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface XPAdjustEvent : NSObject
+(void)registeringEvent;
+(void)loginEvent;
@end
NS_ASSUME_NONNULL_END

View File

@@ -1,24 +0,0 @@
//
// XPAdjustEvent.m
// xplan-ios
//
// Created by duoban on 2022/11/10.
//
#import "XPAdjustEvent.h"
#import <Adjust/Adjust.h>
#import "XPEventHead.h"
@implementation XPAdjustEvent
+(void)registeringEvent{
ADJEvent *event = [ADJEvent eventWithEventToken:RegisterEvent];
[Adjust trackEvent:event];
}
+(void)loginEvent{
ADJEvent *event = [ADJEvent eventWithEventToken:LoginEvent];
[Adjust trackEvent:event];
}
@end