Compare commits

...

117 Commits

Author SHA1 Message Date
eggmanQQQ
f078f926e9 #761 #967
1. 修正 PK UI 问题
2. 完成礼物面板的修改
2024-06-19 15:52:36 +08:00
eggmanQQQ
16a17b82ff try fix bug and remove some error fetch image sources 2024-06-19 15:05:38 +08:00
eggmanQQQ
ca7051f34e #761
修复多语言布局问题
2024-06-19 00:00:11 +08:00
eggmanQQQ
c4d0b1c33c 移除测试代码 2024-06-18 13:54:54 +08:00
eggmanQQQ
1699ebc926 #761 #770
1. 完善牌照房 PK 功能
2. 补充多语言
3. 修复部分跨房 PK 问题
2024-06-18 13:44:50 +08:00
eggmanQQQ
a9ce6039f8 注释不必要的 API Call 2024-06-17 18:42:14 +08:00
eggmanQQQ
3803718cb1 #761
完成房间 PK 面板基本流程
2024-06-16 16:18:30 +08:00
eggmanQQQ
49d17e1c6f 更换方法名:safeObjectAtIndex1 -> xpSafeObjectAtIndex 2024-06-16 16:18:06 +08:00
eggmanQQQ
384bc3e95c #761
完成房间 PK 面板基本 UI 结构
2024-06-14 21:04:26 +08:00
eggmanQQQ
c735852d9b 使用全球加速域名 2024-06-14 16:14:16 +08:00
eggmanQQQ
ace1bd9bbe #761
1. 更新图片资源
2. 修改 PK/跨房PK 入口
2024-06-13 20:18:03 +08:00
eggmanQQQ
d54f70547a #770
1. 调整跨房 PK 的所有 UI
2. 有部份未使用没有移除资源
2024-06-13 17:52:59 +08:00
eggmanQQQ
0585d1e9e6 项目优化:
1. 优化代码格式
2. 优化冷启动时第三方的加载顺序
2024-06-12 11:23:10 +08:00
eggmanQQQ
2469e186b4 项目优化:
1. 版本号更新
2. Archive 使用 Debug 配置,蒲公英测试包可以切换环境
3. 移除不使用的第三方库“Weex”和对应文件
2024-06-12 10:45:15 +08:00
eggmanQQQ
6d61d28be6 #944
1. 歌曲上传增加复制按钮
2. 我的乐库修复了黑暗模式手机的显示问题
2. 补充复制按钮多语言
2024-06-11 20:06:32 +08:00
eggmanQQQ
b512494392 修正错误的拼写 2024-06-11 17:45:06 +08:00
eggmanQQQ
4bf6eabd01 Merge branch 'appstore_piko' into develop_piko
# Conflicts:
#	YuMi.xcodeproj/project.pbxproj
#	YuMi/Modules/YMMine/View/IncomeRecord/XPExchangeDiamondsView.m
2024-06-11 11:32:54 +08:00
eggmanQQQ
78b43c70dd 修正摩天轮玩法点击只能退出问题:
1. 针对混淆做了方法调用修改
2. 退出按钮增加移除时机
2024-06-10 16:10:15 +08:00
eggmanQQQ
8123b81811 修复兑换钻石时,本地使用了金币数判断问题 2024-06-09 16:44:38 +08:00
liyuhua
3e9181e60b 更换图片logo 2024-06-07 17:10:07 +08:00
liyuhua
046eb8abb6 修复bug 2024-06-07 17:10:07 +08:00
eggmanQQQ
e4a1274306 molistar商店包版本修改 此commit置顶 1.0.8 2024-06-07 17:10:07 +08:00
liyuhua
e6367f8e23 修复bug 2024-06-07 17:10:07 +08:00
liyuhua
640382eaea 修复后台个播房切普通房闪退问题修复bug 2024-06-07 17:10:07 +08:00
liyuhua
2e01e1a16a 修复后台个播房切普通房闪退问题 2024-06-07 17:10:07 +08:00
liyuhua
e24f54ad50 修复bug 2024-06-07 17:10:07 +08:00
liyuhua
6f25161511 修复bug 2024-06-07 17:10:07 +08:00
liyuhua
745a4e352a 修复bug 2024-06-07 17:10:07 +08:00
liyuhua
b91a37f63c 主题色优化 2024-06-07 17:10:07 +08:00
liyuhua
f5bb33f0ed 修复bug 2024-06-07 17:10:07 +08:00
liyuhua
1291407f9e 修复bug 2024-06-07 17:10:07 +08:00
liyuhua
22337eda7a 修复bug 2024-06-07 17:10:07 +08:00
liyuhua
38249d5a10 修复bug 2024-06-07 17:10:06 +08:00
liyuhua
9f2446d54b 修复bug 2024-06-07 17:10:06 +08:00
liyuhua
c694c2ca66 头条优化 2024-06-07 17:10:06 +08:00
liyuhua
5cb44c5e72 头条优化 2024-06-07 17:10:06 +08:00
liyuhua
d4023a1d4c 头条优化 2024-06-07 17:10:06 +08:00
liyuhua
6aa251c1fd 房间公屏UI更改 2024-06-07 17:10:06 +08:00
liyuhua
e94bee6f0c 房间公屏UI更改 2024-06-07 17:10:06 +08:00
liyuhua
0ef4a89718 房间公屏UI更改 2024-06-07 17:10:06 +08:00
liyuhua
bd65995300 修复bug 2024-06-07 17:10:06 +08:00
liyuhua
8bfc5b505d 修复bug 2024-06-07 17:10:06 +08:00
liyuhua
bd46401140 房间游戏 2024-06-07 17:10:06 +08:00
liyuhua
7d958ffc1d 房间游戏 2024-06-07 17:10:06 +08:00
liyuhua
2d345371a3 阿语翻译更改 2024-06-07 17:10:06 +08:00
liyuhua
49600c2d49 房间游戏 2024-06-07 17:10:06 +08:00
liyuhua
0d91eb04d4 房间游戏 2024-06-07 17:10:06 +08:00
liyuhua
bbc80de782 钱包修改 2024-06-07 17:10:06 +08:00
liyuhua
e784a7b719 钱包修改 2024-06-07 17:10:06 +08:00
eggmanQQQ
2077815bac 处理需求 #64
1. /miniGame/record/miniGameList 补充参数 roomUid
2024-06-07 17:10:06 +08:00
eggmanQQQ
283dcdb2ec 基本完成 #64 功能
1. 移除旧游戏入口,增加新游戏入口
2. GameMenuView 增加同时支持玩法和小游戏
3. 增加房间类型的判断
4. 补充提示文本,部份未作多语言化,需要核对

优化:
1. 修正部分不正确的单词
2. 优化部份 API 的调用时机
2024-06-07 17:10:05 +08:00
eggmanQQQ
a82bb38d67 优化
删除不使用的方法
删除/补充不必要的换行
通过 nullable 处理部分警告
2024-06-07 17:10:05 +08:00
liyuhua
ff5007c524 游戏item 2024-06-07 17:10:05 +08:00
liyuhua
a464393464 修复bug 2024-06-07 17:05:37 +08:00
eggmanQQQ
18887e35d5 molistar商店包版本修改 此commit置顶 1.0.8 2024-06-07 16:23:28 +08:00
liyuhua
938da68b4c 修复bug 2024-06-07 15:20:45 +08:00
liyuhua
0c25dea2a5 修复后台个播房切普通房闪退问题修复bug 2024-06-06 18:04:34 +08:00
liyuhua
acc9d5fc8d 修复后台个播房切普通房闪退问题 2024-06-06 17:29:39 +08:00
liyuhua
3ee07860f2 修复bug 2024-06-06 17:10:28 +08:00
liyuhua
a661b0ee55 修复bug 2024-06-05 17:58:26 +08:00
liyuhua
f5d58b3ffc 修复bug 2024-06-04 19:39:40 +08:00
liyuhua
a8dcf96800 主题色优化 2024-06-04 18:10:45 +08:00
liyuhua
b24a8483c5 修复bug 2024-06-04 18:10:45 +08:00
liyuhua
b5e115bdc7 修复bug 2024-06-04 18:10:45 +08:00
liyuhua
022733012e 修复bug 2024-06-04 18:10:45 +08:00
liyuhua
08710ba622 修复bug 2024-06-04 18:10:45 +08:00
liyuhua
358d0b8d4a 修复bug 2024-06-04 18:10:45 +08:00
liyuhua
2bb6ddb51b 头条优化 2024-06-04 18:10:45 +08:00
liyuhua
ee5152e9bf 头条优化 2024-06-04 18:10:45 +08:00
liyuhua
a78fbb9c55 头条优化 2024-06-04 18:10:45 +08:00
liyuhua
5d580ccefe 房间公屏UI更改 2024-06-04 18:10:45 +08:00
liyuhua
153989b98a 房间公屏UI更改 2024-06-04 18:10:45 +08:00
liyuhua
03b5fbc082 房间公屏UI更改 2024-06-04 18:10:44 +08:00
liyuhua
507a4947d3 修复bug 2024-06-04 18:10:44 +08:00
liyuhua
e812bdf64d 修复bug 2024-06-04 18:10:44 +08:00
liyuhua
37e7dbf183 房间游戏 2024-06-04 18:10:44 +08:00
liyuhua
a58cee448b 房间游戏 2024-06-04 18:10:44 +08:00
liyuhua
ee07372888 阿语翻译更改 2024-06-04 18:10:44 +08:00
liyuhua
68f720ccbf 房间游戏 2024-06-04 18:10:44 +08:00
liyuhua
a52ab4a1e7 房间游戏 2024-06-04 18:10:44 +08:00
liyuhua
3c62ef5693 钱包修改 2024-06-04 18:10:44 +08:00
liyuhua
b84a04b36a 钱包修改 2024-06-04 18:10:44 +08:00
eggmanQQQ
34c70c1e76 处理需求 #64
1. /miniGame/record/miniGameList 补充参数 roomUid
2024-06-03 14:59:42 +08:00
eggmanQQQ
6e1b8fab1a 基本完成 #64 功能
1. 移除旧游戏入口,增加新游戏入口
2. GameMenuView 增加同时支持玩法和小游戏
3. 增加房间类型的判断
4. 补充提示文本,部份未作多语言化,需要核对

优化:
1. 修正部分不正确的单词
2. 优化部份 API 的调用时机
2024-05-31 18:52:12 +08:00
eggmanQQQ
37702749e7 优化
删除不使用的方法
删除/补充不必要的换行
通过 nullable 处理部分警告
2024-05-30 19:25:03 +08:00
liyuhua
30043ac21f 游戏item 2024-05-27 14:09:18 +08:00
liyuhua
17d91c80b9 molistar商店包版本修改 此commit置顶 1.0.3 2024-05-24 16:12:05 +08:00
liyuhua
9ea6c4850d 更换图片logo 2024-05-24 16:12:05 +08:00
liyuhua
d75b902722 小游戏优化 2024-05-24 16:12:05 +08:00
liyuhua
3561ade9b2 修复bug 2024-05-24 16:12:05 +08:00
liyuhua
cba7c51f8e 更改logo 2024-05-24 16:12:05 +08:00
liyuhua
c3e70231c7 molistar商店包版本修改 此commit置顶 1.0.7 2024-05-24 16:11:34 +08:00
liyuhua
5dd97fc7b5 molistar商店包版本修改 此commit置顶 1.0.7 2024-05-24 16:09:16 +08:00
liyuhua
cf82cf776e 修复bug 2024-05-23 18:16:04 +08:00
eggmanQQQ
8dec4148b3 补正音乐播放器显示标题的逻辑 2024-05-23 18:12:57 +08:00
eggmanQQQ
43d07fcc21 Merge branch 'feature/1.0.6/AnimationFileCache' into develop_piko
# Conflicts:
#	YuMi/Modules/YMTabbar/View/TabbarViewController.m
#	YuMi/Tools/File/UploadFile.m
2024-05-23 17:28:53 +08:00
eggmanQQQ
5f59ab8305 补充调整后的缓存方案 2024-05-23 17:21:40 +08:00
liyuhua
5ddca74c84 修复bug 2024-05-23 11:25:18 +08:00
QQQ
9be7bbfe48 增加读取 AccountInfo 时的判断,优化方法效率 2024-05-23 10:13:03 +08:00
liyuhua
8665848325 1.修复bug 2024-05-22 19:36:59 +08:00
QQQ
3a6f414035 移除 A/B 相关代码。
移除 XPSimpleMineViewController
2024-05-22 19:29:30 +08:00
QQQ
4c0f0b26b5 移除固定的储值入口 2024-05-22 19:24:23 +08:00
QQQ
7470483f13 移除 A/B 相关代码。
移除 XPMomentListViewController
2024-05-22 19:24:16 +08:00
QQQ
a75004fe57 移除 A/B 相关代码。
移除 XPHomeSloganViewController
2024-05-22 19:24:10 +08:00
QQQ
56104ee021 移除 A/B 相关代码。
移除 XPMineSimpleUserInfoViewController
2024-05-22 19:24:04 +08:00
QQQ
adb07286a0 移除 A/B 相关代码。
通过 [ClientConfig shareConfig].canOpen 控制页面,现在已没有相关配置,删除/调整相关内容,[ClientConfig shareConfig].canOpen == YES 的部分将保留等价逻辑/代码
2024-05-22 19:23:54 +08:00
liyuhua
415b7e2bbb 1.房间背景,2.修复bug 2024-05-22 12:06:48 +08:00
liyuhua
a3235abdf0 1.修复bug 2024-05-21 16:19:10 +08:00
liyuhua
7cafb54083 1.房间在线人员 2,修复bug 2024-05-21 14:17:30 +08:00
liyuhua
2af0717970 新增阿拉伯语公会跳转 2024-05-17 19:11:20 +08:00
liyuhua
4549bac2f3 1.修复阿拉伯语下闭麦图标不显示问题 2024-05-17 17:38:05 +08:00
liyuhua
2c3c6ad17d 1.缓存优化,bug修复 2024-05-17 16:57:28 +08:00
liyuhua
82a476fd46 聊天输入框,可以输入表情 2024-05-17 15:06:46 +08:00
liyuhua
d22d0aa9fe 1.UI修改
2.修复bug
2024-05-17 11:27:36 +08:00
liyuhua
b96f270acf 修复bug 2024-05-16 14:30:21 +08:00
liyuhua
1723782767 礼物动效缓存 2024-05-15 17:35:51 +08:00
liyuhua
e47967a1e6 修复bug 2024-05-15 09:54:15 +08:00
971 changed files with 16257 additions and 10608 deletions

View File

@@ -65,7 +65,6 @@ target 'YuMi' do
pod 'UMCommon'
pod 'UMDevice'
pod 'lottie-ios'
pod 'WeexSDK'
pod 'ZLCollectionViewFlowLayout'
pod 'WMZDropDownMenu'
pod 'TABAnimated'

File diff suppressed because it is too large Load Diff

View File

@@ -72,7 +72,7 @@
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@@ -31,55 +31,47 @@
#import "YuMi-swift.h"
UIKIT_EXTERN NSString * kYouMiNumberCountKey;
UIKIT_EXTERN NSString * adImageName;
@implementation AppDelegate (ThirdConfig)
///
- (void)initThirdConfig {
- (void)initThirdConfig{
[self configShareSDK];
[self configNIMSDK];
[self initEmojiData];
[self configAdjust];
[self configBugly];
[self registerNot];
[self initEmojiData];
[self setLanguage];
}
-(void)setLanguage{
UISemanticContentAttribute attribute = UISemanticContentAttributeForceLeftToRight;
if (isMSRTL()) {
[UIView appearance].semanticContentAttribute = UISemanticContentAttributeForceRightToLeft;
[UISearchBar appearance].semanticContentAttribute = UISemanticContentAttributeForceRightToLeft;
} else {
[UIView appearance].semanticContentAttribute = UISemanticContentAttributeForceLeftToRight;
[UISearchBar appearance].semanticContentAttribute = UISemanticContentAttributeForceLeftToRight;
attribute = UISemanticContentAttributeForceRightToLeft;
}
[UIView appearance].semanticContentAttribute = attribute;
[UISearchBar appearance].semanticContentAttribute = attribute;
}
-(void)registerNot{
if (@available(iOS 10.0, *)) {
UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
[center requestAuthorizationWithOptions:(UNAuthorizationOptionAlert | UNAuthorizationOptionBadge | UNAuthorizationOptionSound) completionHandler:^(BOOL granted, NSError * _Nullable error) {
if (granted) {
[center getNotificationSettingsWithCompletionHandler:^(UNNotificationSettings * _Nonnull settings) {
if (settings.authorizationStatus == UNAuthorizationStatusAuthorized){
dispatch_async(dispatch_get_main_queue(), ^{
[[UIApplication sharedApplication] registerForRemoteNotifications];
});
}
}];
UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
[center requestAuthorizationWithOptions:(UNAuthorizationOptionAlert | UNAuthorizationOptionBadge | UNAuthorizationOptionSound) completionHandler:^(BOOL granted, NSError * _Nullable error) {
if (granted) {
[center getNotificationSettingsWithCompletionHandler:^(UNNotificationSettings * _Nonnull settings) {
if (settings.authorizationStatus == UNAuthorizationStatusAuthorized){
dispatch_async(dispatch_get_main_queue(), ^{
[[UIApplication sharedApplication] registerForRemoteNotifications];
});
}
}];
}
}];
}
}
/**
@@ -115,10 +107,7 @@ UIKIT_EXTERN NSString * adImageName;
#else
option.apnsCername = @"newPiko";
#endif
[[NIMSDK sharedSDK] registerWithOption:option];
// NIM SDK
@@ -151,6 +140,7 @@ UIKIT_EXTERN NSString * adImageName;
#endif
[Adjust appDidLaunch:adjustConfig];
}
- (void)configShareSDK {
[PILineLoginManager registerLine];
@@ -160,11 +150,10 @@ UIKIT_EXTERN NSString * adImageName;
// [platformsRegister setupFacebookWithAppkey:@"1266232494209868" appSecret:@"c9b170b383f8be9cdf118823b8632821" displayName:YMLocalizedString(@"AppDelegate_ThirdConfig0")];
[platformsRegister setupLineAuthType:SSDKAuthorizeTypeBoth];
}];
NSString *isUpload = [[NSUserDefaults standardUserDefaults]valueForKey:@"kMobLinkUploadPrivacy"];
if (isUpload == nil){
[MobSDK uploadPrivacyPermissionStatus:YES onResult:^(BOOL success) {
}];
[MobSDK uploadPrivacyPermissionStatus:YES onResult:nil];
[[NSUserDefaults standardUserDefaults] setValue:@"YES" forKey:@"kMobLinkUploadPrivacy"];
[[NSUserDefaults standardUserDefaults] synchronize];
}
@@ -172,22 +161,24 @@ UIKIT_EXTERN NSString * adImageName;
#pragma mark -
- (void)initEmojiData {
NSArray * dicArray = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"emoji" ofType:@"plist"]];
NSDictionary * dic = [dicArray firstObject];
NSArray * emojiArray = dic[@"data"];
NSMutableArray * array = [NSMutableArray array];
for (int i = 0; i < emojiArray.count; i++) {
NSDictionary * dic = [emojiArray objectAtIndex:i];
UIImage * image = [UIImage imageNamed:dic[@"file"]];
QEmotion * info = [[QEmotion alloc] init];
info.identifier = dic[@"id"];
info.image = image;
info.displayName = dic[@"tag"];
[array addObject:info];
}
//
QEmotionHelper *faceManager = [QEmotionHelper sharedEmotionHelper];
faceManager.emotionArray = array;
dispatch_async(dispatch_get_global_queue(0, 0), ^{
NSArray * dicArray = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"emoji" ofType:@"plist"]];
NSDictionary * dic = [dicArray firstObject];
NSArray * emojiArray = dic[@"data"];
NSMutableArray * array = [NSMutableArray array];
for (int i = 0; i < emojiArray.count; i++) {
NSDictionary * dic = [emojiArray objectAtIndex:i];
UIImage * image = [UIImage imageNamed:dic[@"file"]];
QEmotion * info = [[QEmotion alloc] init];
info.identifier = dic[@"id"];
info.image = image;
info.displayName = dic[@"tag"];
[array addObject:info];
}
//
QEmotionHelper *faceManager = [QEmotionHelper sharedEmotionHelper];
faceManager.emotionArray = array;
});
}
#pragma mark - 广
@@ -198,22 +189,21 @@ UIKIT_EXTERN NSString * adImageName;
- (void)setupLaunchADView {
NSUserDefaults * kUserDefaults = NSUserDefaults.standardUserDefaults;
// 广
NSString *filePath = [XPAdImageTool.shareImageTool getFilePathWithImageName:[kUserDefaults valueForKey:adImageName]];
NSString *adName = [kUserDefaults stringForKey:adImageName];
NSString *filePath = [XPAdImageTool.shareImageTool getFilePathWithImageName:adName];
BOOL isExist = [XPAdImageTool.shareImageTool isFileExistWithFilePath:filePath];
NSUserDefaults *userDefault = [NSUserDefaults standardUserDefaults];
if ([userDefault integerForKey:@"adShow"]) {
[userDefault setInteger:[userDefault integerForKey:@"adShow"]+1 forKey:@"adShow"];
if ([kUserDefaults integerForKey:@"adShow"]) {
[kUserDefaults setInteger:[kUserDefaults integerForKey:@"adShow"]+1
forKey:@"adShow"];
} else {
[userDefault setInteger:1 forKey:@"adShow"];
[kUserDefaults setInteger:1 forKey:@"adShow"];
}
if (isExist) {//
if ([userDefault integerForKey:@"adShow"] > 4) {
if ([kUserDefaults integerForKey:@"adShow"] > 4) {
@kWeakify(self);
NSString *imageName = [kUserDefaults valueForKey:adImageName];
AdvertiseModel *info = [XPAdImageTool.shareImageTool getAdInfoFromCacheInMainWith:imageName];
AdvertiseModel *info = [XPAdImageTool.shareImageTool getAdInfoFromCacheInMainWith:adName];
XPAdvertiseView *advertiseView = [[XPAdvertiseView alloc] initWithFrame:self.window.bounds];
advertiseView.filePath = filePath;
advertiseView.dismissHandler = ^(BOOL shouldJump) {
@@ -222,9 +212,8 @@ UIKIT_EXTERN NSString * adImageName;
return;
}
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self performSelectorOnMainThread:@selector(advertiseJumpHandleWithInfo:) withObject:info waitUntilDone:NO];
});
[self advertiseJumpHandleWithInfo:info];
});
};
[advertiseView show];
}
@@ -234,9 +223,6 @@ UIKIT_EXTERN NSString * adImageName;
/// 广
- (void)advertiseJumpHandleWithInfo:(AdvertiseModel *)info {
if (![ClientConfig shareConfig].canOpen) {
return;
}
if (UIApplication.sharedApplication.keyWindow != self.window) {
//
return;

View File

@@ -5,15 +5,16 @@
// Created by admin on 2023/3/9.
//
#import "AppDelegate.h"
#import <UMCommon/UMCommon.h>
#import <MobLinkPro/MobLink.h>
#import <MobLinkPro/MLSDKScene.h>
#import "AppDelegate.h"
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import "TabbarViewController.h"
#import "BaseNavigationController.h"
#import "AppDelegate+ThirdConfig.h"
#import <NIMSDK/NIMSDK.h>
#import <UMCommon/UMCommon.h>
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <AppTrackingTransparency/AppTrackingTransparency.h>
#import "ClientConfig.h"
#import <GoogleSignIn/GoogleSignIn.h>
@@ -34,61 +35,77 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
AccountModel *accountModel = [[AccountInfoStorage instance] getCurrentAccountInfo];
if (accountModel == nil || accountModel.uid == nil || accountModel.access_token == nil) {
XPLoginViewController *lvc = [[XPLoginViewController alloc] init];
BaseNavigationController * nav = [[BaseNavigationController alloc] initWithRootViewController:lvc];
nav.modalPresentationStyle = UIModalPresentationFullScreen;
self.window.rootViewController = nav;
}else{
TabbarViewController *vc = [[TabbarViewController alloc] init];
BaseNavigationController *bnc = [[BaseNavigationController alloc] initWithRootViewController:vc];
self.window.rootViewController = bnc;
}
[self.window makeKeyAndVisible];
///广
[self setupLaunchADView];
/// sdk
[self initThirdConfig];
//
if ([[NSUserDefaults standardUserDefaults] objectForKey:@"kYouMinumbernnagna"]) {
///
[UMConfigure initWithAppkey:@"6434c6dfd64e686139618269" channel:@"appstore"];
}
[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
[FIRApp configure];
[MobLink setDelegate:self];
[self initThirdConfig];
[self initUM:application launchOptions:launchOptions];
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
[self.window makeKeyAndVisible];
[self loadMainPage];
[self setupLaunchADView];
return YES;
}
- (void) IMLSDKWillRestoreScene:(MLSDKScene *)scene Restore:(void (^)(BOOL, RestoreStyle))restoreHandler
{
- (void)initUM:(UIApplication *)application
launchOptions:(NSDictionary *)launchOptions {
//
if ([[NSUserDefaults standardUserDefaults] objectForKey:@"kYouMinumbernnagna"]) {
///
[UMConfigure initWithAppkey:@"6434c6dfd64e686139618269"
channel:@"appstore"];
}
[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
[FIRApp configure];
[MobLink setDelegate:self];
}
- (void)loadMainPage {
AccountModel *accountModel = [[AccountInfoStorage instance] getCurrentAccountInfo];
if (accountModel == nil ||
accountModel.uid == nil ||
accountModel.access_token == nil) {
[self toLoginPage];
}else{
[self toHomeTabbarPage];
}
}
- (void)toLoginPage {
XPLoginViewController *lvc = [[XPLoginViewController alloc] init];
BaseNavigationController * navigationController = [[BaseNavigationController alloc] initWithRootViewController:lvc];
navigationController.modalPresentationStyle = UIModalPresentationFullScreen;
self.window.rootViewController = navigationController;
}
- (void)toHomeTabbarPage {
TabbarViewController *vc = [[TabbarViewController alloc] init];
BaseNavigationController *navigationController = [[BaseNavigationController alloc] initWithRootViewController:vc];
self.window.rootViewController = navigationController;
}
- (void)IMLSDKWillRestoreScene:(MLSDKScene *)scene
Restore:(void (^)(BOOL, RestoreStyle))restoreHandler {
NSString *inviteCode = scene.params[@"inviteCode"];
if (inviteCode != nil && [[AccountInfoStorage instance]getUid].length == 0){
ClientConfig *config = [ClientConfig shareConfig];
config.inviteCode = inviteCode;
}
restoreHandler(YES, MLDefault);
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
NSInteger count = [NIMSDK sharedSDK].conversationManager.allUnreadCount;
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:count];
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
[self getAdvertisingTrackingAuthority];
[[NSNotificationCenter defaultCenter]postNotificationName:@"kAppDidBecomeActive" object:nil];
}
- (void)getAdvertisingTrackingAuthority {
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
if (@available(iOS 14, *)) {
@@ -145,17 +162,14 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
config.pushChatId = userId;
}
});
}
///URL Scheme
-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options{
NSString *bundleID = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"];
if ([url.scheme isEqualToString:[NSString stringWithFormat:@"line3rdp.%@",bundleID]]) {
return [PILineLoginManager applicationOpenurl:app open:url];
}
return [PILineLoginManager applicationOpenurl:app open:url];
}
NSString *text = [url query];
if(text.length){
@@ -201,8 +215,6 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
}
return [GIDSignIn.sharedInstance handleURL:url];
}

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "crossroom_pk_menu_icon_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "crossroom_pk_menu_icon_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "room_across_pk_result_forceend_red_bg@2x.png",
"filename" : "ms_room_game_victory_top_fail_icon_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_across_pk_result_forceend_red_bg@3x.png",
"filename" : "ms_room_game_victory_top_fail_icon_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ms_room_game_victory_top_icon_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ms_room_game_victory_top_icon_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "room_gift_panel_arrow@2x.png",
"filename" : "pk_top_charms_mark_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_gift_panel_arrow@3x.png",
"filename" : "pk_top_charms_mark_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pk_top_momey_mark_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pk_top_momey_mark_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "mine_noble_center_tag_title_bg_en@2x.png",
"filename" : "room_across_pk_result_top_draw_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "mine_noble_center_tag_title_bg_en@3x.png",
"filename" : "room_across_pk_result_top_draw_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_across_pk_result_top_win_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_across_pk_result_top_win_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "room_menu_arrange_mic_new_en@2x.png",
"filename" : "room_pk_panel_result_draw_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_menu_arrange_mic_new_en@3x.png",
"filename" : "room_pk_panel_result_draw_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "room_menu_arrange_mic_new_ar@2x.png",
"filename" : "room_pk_panel_result_fail_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_menu_arrange_mic_new_ar@3x.png",
"filename" : "room_pk_panel_result_fail_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_pk_panel_result_win_ar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_pk_panel_result_win_ar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "crossroom_pk_menu_icon_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "crossroom_pk_menu_icon_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ms_room_game_victory_top_fail_icon_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ms_room_game_victory_top_fail_icon_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ms_room_game_victory_top_icon_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ms_room_game_victory_top_icon_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pk_top_charms_mark_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pk_top_charms_mark_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pk_top_momey_mark_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pk_top_momey_mark_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_across_pk_result_top_draw_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_across_pk_result_top_draw_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_across_pk_result_top_fail_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_across_pk_result_top_fail_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_across_pk_result_top_win_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_across_pk_result_top_win_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_pk_panel_result_draw_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_pk_panel_result_draw_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_pk_panel_result_fail_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_pk_panel_result_fail_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_pk_panel_result_win_en@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_pk_panel_result_win_en@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ms_mine_purse_arrow@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ms_mine_purse_arrow@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_app_login_new_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_app_login_new_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ms_room_game_add_coin@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ms_room_game_add_coin@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ms_room_game_avatar_border@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ms_room_game_avatar_border@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ms_room_game_begin_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ms_room_game_begin_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ms_room_game_begin_btn_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ms_room_game_begin_btn_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "exchange_diamonds_arrow@2x.png",
"filename" : "ms_room_game_begin_coin@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "exchange_diamonds_arrow@3x.png",
"filename" : "ms_room_game_begin_coin@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Some files were not shown because too many files have changed in this diff Show More