Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRCL-3515 : update dydx trading v4 scheme #66

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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