Compare commits
5 Commits
appstore_2
...
enterprise
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fc8157320b | ||
![]() |
b1297b9bad | ||
![]() |
49fcca821b | ||
![]() |
7ae5cc9a4c | ||
![]() |
12a1dd9284 |
@@ -12185,7 +12185,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 20.20.10;
|
MARKETING_VERSION = 20.20.11;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios;
|
PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
@@ -12221,7 +12221,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 20.20.10;
|
MARKETING_VERSION = 20.20.11;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios;
|
PRODUCT_BUNDLE_IDENTIFIER = com.peko.enterprise.ios;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
|
@@ -100,7 +100,10 @@ UIKIT_EXTERN NSString * adImageName;
|
|||||||
#else
|
#else
|
||||||
option.apnsCername = @"newPiko";
|
option.apnsCername = @"newPiko";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[NIMSDK sharedSDK] registerWithOption:option];
|
[[NIMSDK sharedSDK] registerWithOption:option];
|
||||||
|
|
||||||
// NIM SDK初始化
|
// NIM SDK初始化
|
||||||
|
@@ -116,7 +116,7 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
|
|||||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||||
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":userId,@"isNoAttention":@(YES)}];
|
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":userId,@"isNoAttention":@(YES)}];
|
||||||
ClientConfig *config = [ClientConfig shareConfig];
|
ClientConfig *config = [ClientConfig shareConfig];
|
||||||
config.chatId = userId;
|
config.pushChatId = userId;
|
||||||
|
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
@@ -128,7 +128,7 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
|
|||||||
if(userId){
|
if(userId){
|
||||||
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":userId}];
|
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":userId}];
|
||||||
ClientConfig *config = [ClientConfig shareConfig];
|
ClientConfig *config = [ClientConfig shareConfig];
|
||||||
config.chatId = userId;
|
config.pushChatId = userId;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -29,6 +29,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property (nonatomic, copy) NSString *__nullable roomId;
|
@property (nonatomic, copy) NSString *__nullable roomId;
|
||||||
///用户id,用于外部h5跳转到聊天页面
|
///用户id,用于外部h5跳转到聊天页面
|
||||||
@property (nonatomic, copy) NSString *__nullable chatId;
|
@property (nonatomic, copy) NSString *__nullable chatId;
|
||||||
|
///用户id,推送跳转到聊天页面
|
||||||
|
@property (nonatomic, copy) NSString *__nullable pushChatId;
|
||||||
///表情---
|
///表情---
|
||||||
@property (nonatomic, copy) NSString *version;
|
@property (nonatomic, copy) NSString *version;
|
||||||
@property (nonatomic, copy) NSString *zipMd5;
|
@property (nonatomic, copy) NSString *zipMd5;
|
||||||
|
@@ -97,7 +97,7 @@ NSString * const KeyWithType(Pi_KeyType type) {
|
|||||||
@(KeyType_NTESQuickLoginBusinessId) : @"sCsa0RnuPYtEeE+efSDuHRYEfCObccfLfAK/Sn1LC8X/YifkZfyHNlCts1syZE3R",///60cdaa83aa654e5ea184de7160b4073d
|
@(KeyType_NTESQuickLoginBusinessId) : @"sCsa0RnuPYtEeE+efSDuHRYEfCObccfLfAK/Sn1LC8X/YifkZfyHNlCts1syZE3R",///60cdaa83aa654e5ea184de7160b4073d
|
||||||
@(KeyType_TRTC) : @"Phn3JPi/ZvZ7zVM099Q3dg==",///1400600174
|
@(KeyType_TRTC) : @"Phn3JPi/ZvZ7zVM099Q3dg==",///1400600174
|
||||||
///h+GaKZVuHTQz0wEHbg8HLaUTL9mCjNDRcRo1OJTESWhiE/lzcnvMEv00/dxu8cOq
|
///h+GaKZVuHTQz0wEHbg8HLaUTL9mCjNDRcRo1OJTESWhiE/lzcnvMEv00/dxu8cOq
|
||||||
@(KeyType_NetEase) : @"d55LVCUFT72SVZskbk1L3ZCVjG+tRnUnOqAGuG04kb9uz+qIvbyudhJLDmbOFDtE",///14ef7a0d0a84cb49bae1c22d78cf1ddf
|
@(KeyType_NetEase) : @"d55LVCUFT72SVZskbk1L3ZCVjG+tRnUnOqAGuG04kb9uz+qIvbyudhJLDmbOFDtE",///d4d74e9ba6ac3364ccc7526ea4791215
|
||||||
@(keyType_YiDunBussinessId) : @"tl2ZVgj6Mrf9lhoJ9ikxgu8tHJoloM5pxk+hsHIB4pulU6r531Qc7Ol5X8QR5Jy0",
|
@(keyType_YiDunBussinessId) : @"tl2ZVgj6Mrf9lhoJ9ikxgu8tHJoloM5pxk+hsHIB4pulU6r531Qc7Ol5X8QR5Jy0",
|
||||||
@(KeyType_FacePwdEncode) : @"mjaN83evhuwnbE4yEiLQpvH7sALhxCuJ6aPjPlq5amVpHsQtSdbgri3JoHqf/I9+",///1ea53d260ecf11e7b56e00163e046a26
|
@(KeyType_FacePwdEncode) : @"mjaN83evhuwnbE4yEiLQpvH7sALhxCuJ6aPjPlq5amVpHsQtSdbgri3JoHqf/I9+",///1ea53d260ecf11e7b56e00163e046a26
|
||||||
@(KeyType_GuildUidKey) : @"umyLNHTFzWIPw2FWQcYIeQ==",
|
@(KeyType_GuildUidKey) : @"umyLNHTFzWIPw2FWQcYIeQ==",
|
||||||
|
@@ -49,7 +49,7 @@ isPhoneXSeries = [[UIApplication sharedApplication] delegate].window.safeAreaIns
|
|||||||
|
|
||||||
|
|
||||||
///内置版本号
|
///内置版本号
|
||||||
#define PI_App_Version @"2.6.0"
|
#define PI_App_Version @"2.6.1"
|
||||||
///渠道
|
///渠道
|
||||||
#define PI_App_Source @"appstore"
|
#define PI_App_Source @"appstore"
|
||||||
//#define PI_App_Source @"pi_tf"
|
//#define PI_App_Source @"pi_tf"
|
||||||
|
@@ -11,7 +11,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@protocol PIHoemCategoryCollectionViewDelegate <NSObject>
|
@protocol PIHoemCategoryCollectionViewDelegate <NSObject>
|
||||||
|
|
||||||
-(void)didSelectItemAtIndex:(NSInteger)index;
|
-(void)pi_didSelectItemAtIndex:(NSInteger)index;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@@ -56,8 +56,8 @@
|
|||||||
selectModel.isChecked = YES;
|
selectModel.isChecked = YES;
|
||||||
[self.pi_collectionView reloadData];
|
[self.pi_collectionView reloadData];
|
||||||
|
|
||||||
if(self.delegate && [self.delegate respondsToSelector:@selector(didSelectItemAtIndex:)]){
|
if(self.delegate && [self.delegate respondsToSelector:@selector(pi_didSelectItemAtIndex:)]){
|
||||||
[self.delegate didSelectItemAtIndex:indexPath.row];
|
[self.delegate pi_didSelectItemAtIndex:indexPath.row];
|
||||||
}
|
}
|
||||||
|
|
||||||
// int i = [selectModel.id isEqualToString:@"-1"] ? 0 : 1;
|
// int i = [selectModel.id isEqualToString:@"-1"] ? 0 : 1;
|
||||||
|
@@ -42,7 +42,7 @@
|
|||||||
self.pi_collectionView.index = _index;
|
self.pi_collectionView.index = _index;
|
||||||
}
|
}
|
||||||
#pragma mark - PIHoemCategoryCollectionViewDelegate
|
#pragma mark - PIHoemCategoryCollectionViewDelegate
|
||||||
- (void)didSelectItemAtIndex:(NSInteger)index{
|
- (void)pi_didSelectItemAtIndex:(NSInteger)index{
|
||||||
if(self.scrolledHandle){
|
if(self.scrolledHandle){
|
||||||
self.scrolledHandle(index);
|
self.scrolledHandle(index);
|
||||||
}
|
}
|
||||||
|
@@ -176,7 +176,12 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
|
|||||||
[ClientConfig shareConfig].chatId = nil;
|
[ClientConfig shareConfig].chatId = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if([ClientConfig shareConfig].pushChatId != nil){
|
||||||
|
NIMSession * session = [NIMSession session:[ClientConfig shareConfig].pushChatId type:NIMSessionTypeP2P];
|
||||||
|
SessionViewController * sessionVC = [[SessionViewController alloc] initWithSession:session];
|
||||||
|
[self.navigationController pushViewController:sessionVC animated:YES];
|
||||||
|
[ClientConfig shareConfig].pushChatId = nil;
|
||||||
|
}
|
||||||
MJRefreshNormalHeader *header = [MJRefreshNormalHeader headerWithRefreshingTarget:self refreshingAction:@selector(headerRefresh)];
|
MJRefreshNormalHeader *header = [MJRefreshNormalHeader headerWithRefreshingTarget:self refreshingAction:@selector(headerRefresh)];
|
||||||
header.stateLabel.font = [UIFont systemFontOfSize:10.0];
|
header.stateLabel.font = [UIFont systemFontOfSize:10.0];
|
||||||
header.lastUpdatedTimeLabel.font = [UIFont systemFontOfSize:10.0];
|
header.lastUpdatedTimeLabel.font = [UIFont systemFontOfSize:10.0];
|
||||||
|
@@ -28,6 +28,7 @@ typedef NS_ENUM(NSInteger, ActivityType) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
@interface ActivityInfoModel : PIBaseModel
|
@interface ActivityInfoModel : PIBaseModel
|
||||||
|
@property(nonatomic,copy) NSString *url;
|
||||||
@property(nonatomic,copy) NSString *code;
|
@property(nonatomic,copy) NSString *code;
|
||||||
@property(nonatomic,copy) NSString *icon;
|
@property(nonatomic,copy) NSString *icon;
|
||||||
@property(nonatomic,copy) NSString *skipContent;
|
@property(nonatomic,copy) NSString *skipContent;
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
}
|
}
|
||||||
-(void)setInfoModel:(ActivityInfoModel *)infoModel{
|
-(void)setInfoModel:(ActivityInfoModel *)infoModel{
|
||||||
_infoModel = infoModel;
|
_infoModel = infoModel;
|
||||||
_bgImageView.imageUrl = _infoModel.icon;
|
_bgImageView.imageUrl = _infoModel.url;
|
||||||
}
|
}
|
||||||
#pragma mark - 懒加载
|
#pragma mark - 懒加载
|
||||||
- (NetImageView *)bgImageView{
|
- (NetImageView *)bgImageView{
|
||||||
|
Reference in New Issue
Block a user