update
This commit is contained in:
parent
1e61409501
commit
2679f31c4e
@ -78,7 +78,7 @@ final class AppUpdateChecker: ObservableObject {
|
||||
private func fetchRemoteConfig() async {
|
||||
guard
|
||||
let buildType = AppConfig.APP_BUILD.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed),
|
||||
let url = URL(string: "https://static.yobble.org/config/ios/dev2-\(buildType).json")
|
||||
let url = URL(string: "https://static.yobble.org/config/ios/\(buildType).json")
|
||||
else {
|
||||
log("Unable to build remote config URL")
|
||||
return
|
||||
@ -117,8 +117,8 @@ final class AppUpdateChecker: ObservableObject {
|
||||
return
|
||||
}
|
||||
|
||||
print("buildNumber", buildNumber)
|
||||
print("config", config.notSupportedBuild, config.minSupportedBuild, config.recommendedBuild)
|
||||
// print("buildNumber", buildNumber)
|
||||
// print("config", config.notSupportedBuild, config.minSupportedBuild, config.recommendedBuild)
|
||||
|
||||
let requiresNeedUpdate = buildNumber <= config.notSupportedBuild
|
||||
if requiresNeedUpdate {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user