Skip to content

Commit

Permalink
update app scheme and bundle display name (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx authored Jan 24, 2024
1 parent 0468a9d commit 165b5a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dydxV4/dydxV4/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class AppDelegate: CommonAppDelegate {
override func router() -> RouterProtocol? {
let routingFile = "routing_swiftui.json"

let scheme = Bundle.main.scheme ?? "dydxv4"
let scheme = Bundle.main.scheme ?? "dydx_t_v4"
if let file = Bundle.dydxPresenters.path(forResource: routingFile, ofType: ""),
let jsonString = try? String(contentsOfFile: file).replacingOccurrences(of: "{APP_SCHEME}", with: scheme) {
let router = MappedUIKitAppRouter(jsonString: jsonString)
Expand Down
4 changes: 2 additions & 2 deletions dydxV4/dydxV4/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>dYdX V4</string>
<string>dYdX_t V4</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand All @@ -29,7 +29,7 @@
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleURLSchemes</key>
<array>
<string>{APP_SCHEME}</string>
<string>dydx_t_v4</string>
</array>
</dict>
</array>
Expand Down

0 comments on commit 165b5a8

Please sign in to comment.