diff --git a/loafwallet.xcodeproj/project.pbxproj b/loafwallet.xcodeproj/project.pbxproj index ee040e4ea..d24acd1ba 100644 --- a/loafwallet.xcodeproj/project.pbxproj +++ b/loafwallet.xcodeproj/project.pbxproj @@ -4839,7 +4839,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements; - CURRENT_PROJECT_VERSION = 406; + CURRENT_PROJECT_VERSION = 415; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = ZV7987N2ZC; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; @@ -4849,7 +4849,7 @@ "$(inherited)", ); INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -5259,7 +5259,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements; - CURRENT_PROJECT_VERSION = 406; + CURRENT_PROJECT_VERSION = 415; DEVELOPMENT_TEAM = ZV7987N2ZC; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; FRAMEWORK_SEARCH_PATHS = ( @@ -5268,7 +5268,7 @@ "$(inherited)", ); INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -5391,7 +5391,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements; - CURRENT_PROJECT_VERSION = 406; + CURRENT_PROJECT_VERSION = 415; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = ZV7987N2ZC; FRAMEWORK_SEARCH_PATHS = ( @@ -5400,7 +5400,7 @@ "$(inherited)", ); INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/loafwallet/src/Constants/Constants.swift b/loafwallet/src/Constants/Constants.swift index f5f69a210..668c9c0ed 100644 --- a/loafwallet/src/Constants/Constants.swift +++ b/loafwallet/src/Constants/Constants.swift @@ -157,12 +157,7 @@ struct FoundationSupport { } struct APIServer { - - #if DEBUG - static let baseUrl = "https://api-stage.lite-wallet.org/" - #else static let baseUrl = "https://api-prod.lite-wallet.org/" - #endif } struct Padding { diff --git a/loafwallet/src/Platform/BRAPIClient.swift b/loafwallet/src/Platform/BRAPIClient.swift index 1a08fedf9..2247a170d 100644 --- a/loafwallet/src/Platform/BRAPIClient.swift +++ b/loafwallet/src/Platform/BRAPIClient.swift @@ -70,7 +70,7 @@ open class BRAPIClient : NSObject, URLSessionDelegate, URLSessionTaskDelegate, B var proto = "https" // host is the server(s) on which the API is hosted - var host = "api.loafwallet.org" + var host = "api-prod.lite-wallet.org" // isFetchingAuth is set to true when a request is currently trying to renew authentication (the token) // it is useful because fetching auth is not idempotent and not reentrant, so at most one auth attempt diff --git a/loafwalletTests/Constants Tests/ConstantsTests.swift b/loafwalletTests/Constants Tests/ConstantsTests.swift index 6e0ef22b2..d3bd7414e 100644 --- a/loafwalletTests/Constants Tests/ConstantsTests.swift +++ b/loafwalletTests/Constants Tests/ConstantsTests.swift @@ -12,6 +12,6 @@ import XCTest class ConstantsTests: XCTestCase { func testLFDonationAddressPage() throws { - XCTAssertTrue(FoundationSupport.url.absoluteString == "https://lite-wallet.org/support_address.html" ) + XCTAssertTrue(FoundationSupport.dashboard == "https://litecoinfoundation.zendesk.com/") } }