Skip to content

Commit ae09efc

Browse files
author
ccharlesren
committed
【APP】连连APP iOS隐私合规整改问题和解决方案:问题1 添加持续版本的判断
Tapd: http://tapd.oa.com/NEW_IOT/prong/stories/view/1020393192871147007 Change-Id: I852cdd219cdde83cf8925e66ee4ebb1fe7bbe7ff
1 parent 20a47c2 commit ae09efc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Source/LinkApp/Classes/Module/Login/Controller/TIoTMainVC.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,11 @@ - (void)firstShowBirthdayView {
202202
- (void)versionUpdateAlertView {
203203

204204
NSString *appVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
205-
bool versionBool = [TIoTAppUtilOC isTheVersion:appVersion laterThanLocalVersion:@"1.5.3"]; //要求在1.5.4 以上
205+
bool versionBool = NO;
206+
////要求在1.5.4 以上 或持续集成版
207+
if ([TIoTAppUtilOC isTheVersion:appVersion laterThanLocalVersion:@"1.5.3"] || [appVersion containsString:@"master+git"]) {
208+
versionBool = YES;
209+
}
206210

207211
if ([NSString isNullOrNilWithObject:[TIoTCoreUserManage shared].isVersionUpdateView] && versionBool) {
208212

0 commit comments

Comments
 (0)