Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VirtualCard-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
APP
VirtualCard-iOS
Commits
5bf9b50d
Commit
5bf9b50d
authored
May 14, 2020
by
guanghui.shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除启动检测
parent
fbc8fe77
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
119 deletions
+17
-119
project.pbxproj
VirtualPayment/VirtualPayment.xcodeproj/project.pbxproj
+2
-8
AppDelegate.m
VirtualPayment/VirtualPayment/Application/AppDelegate.m
+0
-2
Contents.json
...ssets/CommonUI/Refresh/circle_down.imageset/Contents.json
+5
-5
Info.plist
VirtualPayment/VirtualPayment/Application/Info.plist
+9
-9
QGStartAppDetectionEvent.h
...QGUtils/QGTool/QGAnalyticsTool/QGStartAppDetectionEvent.h
+0
-31
QGStartAppDetectionEvent.m
...QGUtils/QGTool/QGAnalyticsTool/QGStartAppDetectionEvent.m
+0
-49
SystemManager.h
VirtualPayment/VirtualPayment/QGUtils/QGTool/SystemManager.h
+0
-3
SystemManager.m
VirtualPayment/VirtualPayment/QGUtils/QGTool/SystemManager.m
+1
-12
No files found.
VirtualPayment/VirtualPayment.xcodeproj/project.pbxproj
View file @
5bf9b50d
...
@@ -678,7 +678,6 @@
...
@@ -678,7 +678,6 @@
9EBE246424370687009C83A1
/* QGTransactionSettingsCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EBE246324370687009C83A1
/* QGTransactionSettingsCell.m */
;
};
9EBE246424370687009C83A1
/* QGTransactionSettingsCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EBE246324370687009C83A1
/* QGTransactionSettingsCell.m */
;
};
9EBE246724370694009C83A1
/* QGTransactionTipsCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EBE246624370694009C83A1
/* QGTransactionTipsCell.m */
;
};
9EBE246724370694009C83A1
/* QGTransactionTipsCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EBE246624370694009C83A1
/* QGTransactionTipsCell.m */
;
};
9EBE246A24370A7D009C83A1
/* QGTransactionSettingsModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EBE246924370A7D009C83A1
/* QGTransactionSettingsModel.m */
;
};
9EBE246A24370A7D009C83A1
/* QGTransactionSettingsModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EBE246924370A7D009C83A1
/* QGTransactionSettingsModel.m */
;
};
9EBE246D2437395D009C83A1
/* QGStartAppDetectionEvent.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EBE246C2437395D009C83A1
/* QGStartAppDetectionEvent.m */
;
};
9EC526D223389ACB001A9F5B
/* QGConfigInstallmentPlanModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EC526D123389ACB001A9F5B
/* QGConfigInstallmentPlanModel.m */
;
};
9EC526D223389ACB001A9F5B
/* QGConfigInstallmentPlanModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EC526D123389ACB001A9F5B
/* QGConfigInstallmentPlanModel.m */
;
};
9EC526DB2338B01D001A9F5B
/* QGSelectTermViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EC526DA2338B01D001A9F5B
/* QGSelectTermViewController.m */
;
};
9EC526DB2338B01D001A9F5B
/* QGSelectTermViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EC526DA2338B01D001A9F5B
/* QGSelectTermViewController.m */
;
};
9EC526DE2338B1B1001A9F5B
/* QGSelectTermHeaderCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EC526DD2338B1B1001A9F5B
/* QGSelectTermHeaderCell.m */
;
};
9EC526DE2338B1B1001A9F5B
/* QGSelectTermHeaderCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9EC526DD2338B1B1001A9F5B
/* QGSelectTermHeaderCell.m */
;
};
...
@@ -2007,8 +2006,6 @@
...
@@ -2007,8 +2006,6 @@
9EBE246624370694009C83A1
/* QGTransactionTipsCell.m */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QGTransactionTipsCell.m
;
sourceTree
=
"<group>"
;
};
9EBE246624370694009C83A1
/* QGTransactionTipsCell.m */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QGTransactionTipsCell.m
;
sourceTree
=
"<group>"
;
};
9EBE246824370A7D009C83A1
/* QGTransactionSettingsModel.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QGTransactionSettingsModel.h
;
sourceTree
=
"<group>"
;
};
9EBE246824370A7D009C83A1
/* QGTransactionSettingsModel.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QGTransactionSettingsModel.h
;
sourceTree
=
"<group>"
;
};
9EBE246924370A7D009C83A1
/* QGTransactionSettingsModel.m */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QGTransactionSettingsModel.m
;
sourceTree
=
"<group>"
;
};
9EBE246924370A7D009C83A1
/* QGTransactionSettingsModel.m */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QGTransactionSettingsModel.m
;
sourceTree
=
"<group>"
;
};
9EBE246B2437395D009C83A1
/* QGStartAppDetectionEvent.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QGStartAppDetectionEvent.h
;
sourceTree
=
"<group>"
;
};
9EBE246C2437395D009C83A1
/* QGStartAppDetectionEvent.m */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QGStartAppDetectionEvent.m
;
sourceTree
=
"<group>"
;
};
9EC526D023389ACB001A9F5B
/* QGConfigInstallmentPlanModel.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QGConfigInstallmentPlanModel.h
;
sourceTree
=
"<group>"
;
};
9EC526D023389ACB001A9F5B
/* QGConfigInstallmentPlanModel.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QGConfigInstallmentPlanModel.h
;
sourceTree
=
"<group>"
;
};
9EC526D123389ACB001A9F5B
/* QGConfigInstallmentPlanModel.m */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QGConfigInstallmentPlanModel.m
;
sourceTree
=
"<group>"
;
};
9EC526D123389ACB001A9F5B
/* QGConfigInstallmentPlanModel.m */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QGConfigInstallmentPlanModel.m
;
sourceTree
=
"<group>"
;
};
9EC526D92338B01D001A9F5B
/* QGSelectTermViewController.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QGSelectTermViewController.h
;
sourceTree
=
"<group>"
;
};
9EC526D92338B01D001A9F5B
/* QGSelectTermViewController.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QGSelectTermViewController.h
;
sourceTree
=
"<group>"
;
};
...
@@ -4988,8 +4985,6 @@
...
@@ -4988,8 +4985,6 @@
466175E122D5DD0A0025437A
/* QGAppCoreModelClickEvent.m */
,
466175E122D5DD0A0025437A
/* QGAppCoreModelClickEvent.m */
,
9E7A2D6B2420C365000D5371
/* QGAppTabClickEvent.h */
,
9E7A2D6B2420C365000D5371
/* QGAppTabClickEvent.h */
,
9E7A2D6C2420C365000D5371
/* QGAppTabClickEvent.m */
,
9E7A2D6C2420C365000D5371
/* QGAppTabClickEvent.m */
,
9EBE246B2437395D009C83A1
/* QGStartAppDetectionEvent.h */
,
9EBE246C2437395D009C83A1
/* QGStartAppDetectionEvent.m */
,
);
);
path
=
QGAnalyticsTool
;
path
=
QGAnalyticsTool
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -6234,7 +6229,6 @@
...
@@ -6234,7 +6229,6 @@
9E4BBB9F23754B50000DFB63
/* QGCardNormalStatusAnimationView.m in Sources */
,
9E4BBB9F23754B50000DFB63
/* QGCardNormalStatusAnimationView.m in Sources */
,
7F2AD0F922CD99B3002E7C9C
/* QGHelpCenterDetailsViewController.m in Sources */
,
7F2AD0F922CD99B3002E7C9C
/* QGHelpCenterDetailsViewController.m in Sources */
,
9EA79BDE2282D61300CDCB80
/* SDImageTransformer.m in Sources */
,
9EA79BDE2282D61300CDCB80
/* SDImageTransformer.m in Sources */
,
9EBE246D2437395D009C83A1
/* QGStartAppDetectionEvent.m in Sources */
,
7FFD453322B896A90025DDD0
/* QGPasswordInputWithTitleCell.m in Sources */
,
7FFD453322B896A90025DDD0
/* QGPasswordInputWithTitleCell.m in Sources */
,
46440DC722BB1E0A0021346A
/* QGBaseNavigationController.m in Sources */
,
46440DC722BB1E0A0021346A
/* QGBaseNavigationController.m in Sources */
,
9EC526E12338B1CB001A9F5B
/* QGSelectTermHeaderItemCell.m in Sources */
,
9EC526E12338B1CB001A9F5B
/* QGSelectTermHeaderItemCell.m in Sources */
,
...
@@ -6628,7 +6622,7 @@
...
@@ -6628,7 +6622,7 @@
CODE_SIGN_ENTITLEMENTS
=
VirtualPayment/Application/VirtualPayment.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
VirtualPayment/Application/VirtualPayment.entitlements
;
CODE_SIGN_IDENTITY
=
"iPhone Developer: Cangjian Luo (23FCL4FYHQ)"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer: Cangjian Luo (23FCL4FYHQ)"
;
CODE_SIGN_STYLE
=
Manual
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
56683H3T55
;
DEVELOPMENT_TEAM
=
56683H3T55
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -6730,7 +6724,7 @@
...
@@ -6730,7 +6724,7 @@
CODE_SIGN_ENTITLEMENTS
=
VirtualPayment/Application/VirtualPayment.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
VirtualPayment/Application/VirtualPayment.entitlements
;
CODE_SIGN_IDENTITY
=
"iPhone Distribution: Yingtan Xinjiang Guangda Small Loan Co., Ltd (56683H3T55)"
;
CODE_SIGN_IDENTITY
=
"iPhone Distribution: Yingtan Xinjiang Guangda Small Loan Co., Ltd (56683H3T55)"
;
CODE_SIGN_STYLE
=
Manual
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
56683H3T55
;
DEVELOPMENT_TEAM
=
56683H3T55
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
...
VirtualPayment/VirtualPayment/Application/AppDelegate.m
View file @
5bf9b50d
...
@@ -90,8 +90,6 @@
...
@@ -90,8 +90,6 @@
[
SystemManager
custemWebViewUserAgent
];
[
SystemManager
custemWebViewUserAgent
];
//检测升级
//检测升级
[[
SystemManager
shareInstance
]
checkIsNeedUpdate
];
[[
SystemManager
shareInstance
]
checkIsNeedUpdate
];
//检测安装APP
[[
SystemManager
shareInstance
]
checkAppInstall
];
//上传IDFA
//上传IDFA
[
QGRiskInfoManager
uploadUserIDFA
];
[
QGRiskInfoManager
uploadUserIDFA
];
//检查是否展示前置window
//检查是否展示前置window
...
...
VirtualPayment/VirtualPayment/Application/Assets.xcassets/CommonUI/Refresh/circle_down.imageset/Contents.json
View file @
5bf9b50d
...
@@ -5,18 +5,18 @@
...
@@ -5,18 +5,18 @@
"scale"
:
"1x"
"scale"
:
"1x"
},
},
{
{
"idiom"
:
"universal"
,
"filename"
:
"Refresh_Animation_Top_2@2x.png"
,
"filename"
:
"Refresh_Animation_Top_2@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
"scale"
:
"2x"
},
},
{
{
"idiom"
:
"universal"
,
"filename"
:
"Refresh_Animation_Top_2@3x.png"
,
"filename"
:
"Refresh_Animation_Top_2@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
"scale"
:
"3x"
}
}
],
],
"info"
:
{
"info"
:
{
"
version"
:
1
,
"
author"
:
"xcode"
,
"
author"
:
"xcode"
"
version"
:
1
}
}
}
}
\ No newline at end of file
VirtualPayment/VirtualPayment/Application/Info.plist
View file @
5bf9b50d
...
@@ -728,23 +728,23 @@
...
@@ -728,23 +728,23 @@
</dict>
</dict>
</dict>
</dict>
<key>
NSCalendarsUsageDescription
</key>
<key>
NSCalendarsUsageDescription
</key>
<string>
"
真享生活
"
需要您的同意,才能访问日历,以便于匹配时间
</string>
<string>
"真享生活"
需要您的同意,才能访问日历,以便于匹配时间
</string>
<key>
NSCameraUsageDescription
</key>
<key>
NSCameraUsageDescription
</key>
<string>
"
真享生活
"
需要您的同意,才能访问相机,以便于上传头像和增信材料
</string>
<string>
"真享生活"
需要您的同意,才能访问相机,以便于上传头像和增信材料
</string>
<key>
NSContactsUsageDescription
</key>
<key>
NSContactsUsageDescription
</key>
<string>
"
真享生活
"
需要您的同意,才能访问通讯录,让您的好友为您增加信用吧
</string>
<string>
"真享生活"
需要您的同意,才能访问通讯录,让您的好友为您增加信用吧
</string>
<key>
NSLocationAlwaysAndWhenInUseUsageDeion
</key>
<key>
NSLocationAlwaysAndWhenInUseUsageDeion
</key>
<string>
为了向您推荐附近的服务,
"
真享生活
"
需要获取您的地理位置
</string>
<string>
为了向您推荐附近的服务,
"真享生活"
需要获取您的地理位置
</string>
<key>
NSLocationAlwaysUsageDescription
</key>
<key>
NSLocationAlwaysUsageDescription
</key>
<string>
为了向您推荐附近的服务,
"
真享生活
"
需要获取您的地理位置
</string>
<string>
为了向您推荐附近的服务,
"真享生活"
需要获取您的地理位置
</string>
<key>
NSLocationWhenInUseUsageDescription
</key>
<key>
NSLocationWhenInUseUsageDescription
</key>
<string>
为了向您推荐附近的服务,
"
真享生活
"
需要获取您的地理位置
</string>
<string>
为了向您推荐附近的服务,
"真享生活"
需要获取您的地理位置
</string>
<key>
NSMicrophoneUsageDescription
</key>
<key>
NSMicrophoneUsageDescription
</key>
<string>
"
真享生活
"
需要您的同意,才能访问麦克风,以便于进行音频认证
</string>
<string>
"真享生活"
需要您的同意,才能访问麦克风,以便于进行音频认证
</string>
<key>
NSPhotoLibraryAddUsageDescription
</key>
<key>
NSPhotoLibraryAddUsageDescription
</key>
<string>
"
真享生活
"
需要您的同意,才能使用您的图库
</string>
<string>
"真享生活"
需要您的同意,才能使用您的图库
</string>
<key>
NSPhotoLibraryUsageDescription
</key>
<key>
NSPhotoLibraryUsageDescription
</key>
<string>
"
真享生活
"
需要您的同意,才能使用您的图库
</string>
<string>
"真享生活"
需要您的同意,才能使用您的图库
</string>
<key>
UIBackgroundModes
</key>
<key>
UIBackgroundModes
</key>
<array>
<array>
<string>
remote-notification
</string>
<string>
remote-notification
</string>
...
...
VirtualPayment/VirtualPayment/QGUtils/QGTool/QGAnalyticsTool/QGStartAppDetectionEvent.h
deleted
100644 → 0
View file @
fbc8fe77
//
// QGStartAppDetectionEvent.h
// VirtualPayment
//
// Created by 张博 on 2020/4/3.
// Copyright © 2020 bo.zhang. All rights reserved.
//
#import "QGAppAnalyticsEvent.h"
NS_ASSUME_NONNULL_BEGIN
@interface
QGStartAppDetectionEvent
:
QGAppAnalyticsEvent
/// 应用名称
@property
(
nonatomic
,
strong
)
NSString
*
saad_action_name
;
/// 应用状态 0 1
@property
(
nonatomic
,
strong
)
NSNumber
*
saad_state_value
;
/// 初始化方法
/// @param name 应用名称
/// @param value 应用安装状态
+
(
instancetype
)
eventWithName
:(
NSString
*
)
name
value
:(
NSNumber
*
)
value
;
@end
NS_ASSUME_NONNULL_END
VirtualPayment/VirtualPayment/QGUtils/QGTool/QGAnalyticsTool/QGStartAppDetectionEvent.m
deleted
100644 → 0
View file @
fbc8fe77
//
// QGStartAppDetectionEvent.m
// VirtualPayment
//
// Created by 张博 on 2020/4/3.
// Copyright © 2020 bo.zhang. All rights reserved.
//
#import "QGStartAppDetectionEvent.h"
@implementation
QGStartAppDetectionEvent
/// 初始化方法
/// @param name 应用名称
/// @param value 应用安装状态
-
(
instancetype
)
initEventWithName
:(
NSString
*
)
name
value
:(
NSNumber
*
)
value
{
self
=
[
self
init
];
if
(
self
)
{
self
.
saad_action_name
=
name
;
self
.
saad_state_value
=
value
;
}
return
self
;
}
/// 初始化方法
/// @param name 应用名称
/// @param value 应用安装状态
+
(
instancetype
)
eventWithName
:(
NSString
*
)
name
value
:(
NSNumber
*
)
value
{
return
[[
QGStartAppDetectionEvent
alloc
]
initEventWithName
:
name
value
:
value
];
}
-
(
id
)
init
{
self
=
[
super
init
];
if
(
self
)
{
self
.
event
=
@"StartAppApplicationDetection"
;
}
return
self
;
}
@end
VirtualPayment/VirtualPayment/QGUtils/QGTool/SystemManager.h
View file @
5bf9b50d
...
@@ -42,9 +42,6 @@
...
@@ -42,9 +42,6 @@
-
(
void
)
refreshTokenWithTimeoutInterval
:(
NSTimeInterval
)
timeoutInterval
Success
:(
void
(
^
)(
BOOL
isSuccess
,
NSString
*
token
))
successBlock
failure
:(
void
(
^
)(
NSError
*
error
))
failureBlock
;
-
(
void
)
refreshTokenWithTimeoutInterval
:(
NSTimeInterval
)
timeoutInterval
Success
:(
void
(
^
)(
BOOL
isSuccess
,
NSString
*
token
))
successBlock
failure
:(
void
(
^
)(
NSError
*
error
))
failureBlock
;
///检查APP安装
-
(
void
)
checkAppInstall
;
/// 检查升级
/// 检查升级
-
(
void
)
checkIsNeedUpdate
;
-
(
void
)
checkIsNeedUpdate
;
...
...
VirtualPayment/VirtualPayment/QGUtils/QGTool/SystemManager.m
View file @
5bf9b50d
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#import "QGPasteAlertView.h"
#import "QGPasteAlertView.h"
#import "DeveloperFileManager.h"
#import "DeveloperFileManager.h"
#import "QGAnalyticsService.h"
#import "QGAnalyticsService.h"
#import "QGStartAppDetectionEvent.h"
///刷新token的日期
///刷新token的日期
#define VCCRefreshTokenDate @"VCCRefreshTokenDate"
#define VCCRefreshTokenDate @"VCCRefreshTokenDate"
///上次推荐更新提示的日期
///上次推荐更新提示的日期
...
@@ -235,17 +235,6 @@ static SystemManager * shareManager = nil;
...
@@ -235,17 +235,6 @@ static SystemManager * shareManager = nil;
}
}
*/
*/
///检查APP安装
-
(
void
)
checkAppInstall
{
NSDictionary
*
urlDic
=
@{
@"pinduoduo://"
:
@"拼多多"
,
@"openApp.jdMobile://"
:
@"京东"
};
for
(
NSString
*
urlStr
in
urlDic
.
allKeys
)
{
NSURL
*
url
=
[
NSURL
URLWithString
:
urlStr
];
BOOL
result
=
[[
UIApplication
sharedApplication
]
canOpenURL
:
url
];
QGStartAppDetectionEvent
*
event
=
[
QGStartAppDetectionEvent
eventWithName
:
urlDic
[
urlStr
]
value
:
@
(
result
)];
[
QGAnalyticsService
analyticsTrackWithEvent
:
event
];
}
}
#pragma mark - 检查升级
#pragma mark - 检查升级
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment