Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
Clean unused code
  • Loading branch information
kcw-grunt committed Dec 17, 2024
1 parent 38b948d commit 7300483
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 26 deletions.
6 changes: 3 additions & 3 deletions litewallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4538,7 +4538,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = litewallet/litewallet.entitlements;
CURRENT_PROJECT_VERSION = 241211.0;
CURRENT_PROJECT_VERSION = 241217.0;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZV7987N2ZC;
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = YES;
Expand Down Expand Up @@ -4896,7 +4896,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = litewallet/litewallet.entitlements;
CURRENT_PROJECT_VERSION = 241211.0;
CURRENT_PROJECT_VERSION = 241217.0;
DEVELOPMENT_TEAM = ZV7987N2ZC;
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = YES;
FRAMEWORK_SEARCH_PATHS = (
Expand Down Expand Up @@ -5038,7 +5038,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = litewallet/litewallet.entitlements;
CURRENT_PROJECT_VERSION = 241211.0;
CURRENT_PROJECT_VERSION = 241217.0;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZV7987N2ZC;
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO;
Expand Down
1 change: 1 addition & 0 deletions litewallet/BRAPIClient+Wallet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ extension BRAPIClient {

func exchangeRates(isFallback: Bool = false, _ handler: @escaping (_ rates: [Rate], _ error: String?) -> Void) {
let request = isFallback ? URLRequest(url: URL(string: APIServer().devBaseUrl + "v1/rates")!) : URLRequest(url: URL(string: APIServer().baseUrl + "v1/rates")!)

dataTaskWithRequest(request) { data, _, error in
if error == nil, let data = data,
let parsedData = try? JSONSerialization.jsonObject(with: data, options: .allowFragments)
Expand Down
1 change: 0 additions & 1 deletion litewallet/Constants/Constants+Events.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ struct APIServer {
init() {
baseUrl = appDelegate.remoteConfigurationHelper?
.getString(key: RemoteConfigKeys.KEY_PROD_API_BASEURL.rawValue) ?? ""

devBaseUrl = appDelegate.remoteConfigurationHelper?
.getString(key: RemoteConfigKeys.KEY_DEV_API_BASEURL.rawValue) ?? ""
}
Expand Down
20 changes: 0 additions & 20 deletions litewallet/Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,23 +144,3 @@ struct E {
return UIScreen.main.bounds.size.height
}
}

/// Remote Config
enum EnvironmentRemoteConfigKey: String, Equatable {
case k20241212_API_1
case k20241212_API_2

var key: String {
switch self {
case .k20241212_API_1: return "key_api_baseurl_dev_new_enabled"
case .k20241212_API_2: return "key_api_baseurl_prod_new_enabled"
}
}

// var type: Any {
// switch self {
// case .k20241212_API_1: return Bool
// case .k20241212_API_2: return bool
// }
// }
}
2 changes: 0 additions & 2 deletions litewallet/RemoteConfigHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class RemoteConfigHelper: NSObject {
return
}

print("::: Updated keys: \(configUpdate.updatedKeys)")

self.fetchAndActivateRemoteConfig()
}
}
Expand Down

0 comments on commit 7300483

Please sign in to comment.