移除不使用的 pod 和代码
This commit is contained in:
4
Podfile
4
Podfile
@@ -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'
|
||||
|
@@ -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];
|
||||
|
@@ -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>
|
||||
|
@@ -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];
|
||||
|
@@ -270,7 +270,6 @@
|
||||
///需要重新加载一次 ticket 刷新tabbar的item
|
||||
[[AccountInfoStorage instance] saveTicket:nil];
|
||||
|
||||
[XPAdjustEvent registeringEvent];
|
||||
NSString * inviteCode = self.codeTextField.text.length > 0 ? self.codeTextField.text : @"";
|
||||
[PILoginManager jumpToHomeVCWithInviteCode:inviteCode];
|
||||
}
|
||||
|
@@ -223,7 +223,6 @@
|
||||
[[CountDownHelper shareHelper] stopCountDown];
|
||||
[self disMissVC];
|
||||
self.loginButton.enabled = YES;
|
||||
[XPAdjustEvent loginEvent];
|
||||
}
|
||||
|
||||
///绑定手机号成功
|
||||
|
@@ -116,7 +116,6 @@
|
||||
while (vc.presentingViewController) {
|
||||
vc = vc.presentingViewController;
|
||||
}
|
||||
[XPAdjustEvent loginEvent];
|
||||
[vc dismissViewControllerAnimated:YES completion:nil];
|
||||
[self.navigationController popToRootViewControllerAnimated:NO];
|
||||
}
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
@@ -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
|
Reference in New Issue
Block a user