Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
mobile-group
galaxy-iOS
Commits
08401685
Commit
08401685
authored
Jul 08, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
可视化埋点功能添加
parent
73ea3a81
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
4 deletions
+27
-4
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+3
-3
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+1
-0
YHAnalytics.swift
galaxy/galaxy/Classes/Tools/Analytics/YHAnalytics.swift
+2
-1
Info.plist
galaxy/galaxy/Res/Info.plist
+21
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
08401685
...
@@ -3804,7 +3804,7 @@
...
@@ -3804,7 +3804,7 @@
);
);
GENERATE_INFOPLIST_FILE
=
YES
;
GENERATE_INFOPLIST_FILE
=
YES
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活-
Test
"
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活-
Dev
"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
...
@@ -3945,7 +3945,7 @@
...
@@ -3945,7 +3945,7 @@
);
);
GENERATE_INFOPLIST_FILE
=
YES
;
GENERATE_INFOPLIST_FILE
=
YES
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活-
Uat
"
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活-
Dev
"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
...
@@ -4195,7 +4195,7 @@
...
@@ -4195,7 +4195,7 @@
);
);
GENERATE_INFOPLIST_FILE
=
YES
;
GENERATE_INFOPLIST_FILE
=
YES
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活"
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活
-Dev
"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
...
...
galaxy/galaxy/AppDelegate.swift
View file @
08401685
...
@@ -12,6 +12,7 @@ import SmartCodable
...
@@ -12,6 +12,7 @@ import SmartCodable
import
GKNavigationBarSwift
import
GKNavigationBarSwift
import
DeviceKit
import
DeviceKit
import
AVFoundation
import
AVFoundation
import
SensorsAnalyticsSDK
@main
@main
class
AppDelegate
:
UIResponder
,
UIApplicationDelegate
,
WXApiDelegate
{
class
AppDelegate
:
UIResponder
,
UIApplicationDelegate
,
WXApiDelegate
{
...
...
galaxy/galaxy/Classes/Tools/Analytics/YHAnalytics.swift
View file @
08401685
...
@@ -42,7 +42,8 @@ class YHAnalytics {
...
@@ -42,7 +42,8 @@ class YHAnalytics {
//开启全埋点
//开启全埋点
options
.
autoTrackEventType
=
[
.
eventTypeAppStart
,
.
eventTypeAppEnd
,
.
eventTypeAppClick
,
.
eventTypeAppViewScreen
]
options
.
autoTrackEventType
=
[
.
eventTypeAppStart
,
.
eventTypeAppEnd
,
.
eventTypeAppClick
,
.
eventTypeAppViewScreen
]
options
.
enableVisualizedAutoTrack
=
true
options
.
enableVisualizedProperties
=
true
//初始化SDK
//初始化SDK
SensorsAnalyticsSDK
.
start
(
configOptions
:
options
)
SensorsAnalyticsSDK
.
start
(
configOptions
:
options
)
...
...
galaxy/galaxy/Res/Info.plist
View file @
08401685
...
@@ -69,6 +69,27 @@
...
@@ -69,6 +69,27 @@
<
string
>
wx06b21f3c7a5ba594
<
/string
>
<
string
>
wx06b21f3c7a5ba594
<
/string
>
<
/
a
rr
a
y
>
<
/
a
rr
a
y
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleTypeRole
<
/k
e
y
>
<
string
>
Editor
<
/string
>
<
k
e
y
>
CFBundleURLName
<
/k
e
y
>
<
string
>
sensordata
<
/string
>
<
k
e
y
>
CFBundleURLSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
sa4a7357d6
<
/string
>
<
/
a
rr
a
y
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleTypeRole
<
/k
e
y
>
<
string
>
Editor
<
/string
>
<
k
e
y
>
CFBundleURLName
<
/k
e
y
>
<
string
>
sensordata
<
/string
>
<
k
e
y
>
CFBundleURLSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
sa4737ef0d
<
/string
>
<
/
a
rr
a
y
>
<
/
d
i
c
t
>
<
d
i
c
t/
>
<
/
a
rr
a
y
>
<
/
a
rr
a
y
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
a
rr
a
y
>
...
...
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