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
51ec1f46
Commit
51ec1f46
authored
Sep 22, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deeplink增加鸿蒙的跳转
parent
5852f6e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
YHShareManager.swift
galaxy/galaxy/Classes/Tools/Analytics/YHShareManager.swift
+6
-0
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+1
-0
No files found.
galaxy/galaxy/Classes/Tools/Analytics/YHShareManager.swift
View file @
51ec1f46
...
...
@@ -342,6 +342,9 @@ extension YHShareManager {
components
.
iosBundleId
=
Bundle
.
main
.
bundleIdentifier
components
.
androidDeepLink
=
linkUrl
// 安卓平台调用不过 所以需要单独写出来
components
.
androidPackageName
=
"com.galaxy.galaxyandroid"
components
.
harmonyOSDeepLink
=
linkUrl
components
.
harmonyOSFallbackUrl
=
YhConstant
.
DeepLink
.
fallbackLoadPage
components
.
harmonyOSPackageName
=
"com.galaxy.hklife"
let
url
=
components
.
buildLongLink
()
return
url
.
absoluteString
...
...
@@ -373,6 +376,9 @@ extension YHShareManager {
components
.
iosBundleId
=
Bundle
.
main
.
bundleIdentifier
components
.
androidDeepLink
=
linkUrl
// 安卓平台调用不过 所以需要单独写出来
components
.
androidPackageName
=
"com.galaxy.galaxyandroid"
components
.
harmonyOSDeepLink
=
linkUrl
components
.
harmonyOSFallbackUrl
=
YhConstant
.
DeepLink
.
fallbackLoadPage
components
.
harmonyOSPackageName
=
"com.galaxy.hklife"
components
.
buildShortLink
{
shortLink
,
error
in
callBack
(
shortLink
?
.
url
.
absoluteString
,
error
)
}
...
...
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
51ec1f46
...
...
@@ -226,6 +226,7 @@ extension YhConstant {
static
let
urlPreUrlFix
=
"https://yinheapp.drcn.agconnect.link"
static
let
url
=
"yinheapp://hkdiy-h5.galaxy-immi.com/galaxyapp"
static
let
compareUrl
=
"yinheapp://hkdiy-h5.galaxy-immi.com/galaxyapp?type="
static
let
fallbackLoadPage
=
"https://hkdiy-h5.galaxy-immi.com/superApp/loadPage"
}
...
...
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